Search found 22 matches: holdfont

Return to advanced search

wbrowse.prg function nwrows returning huge no

... WORD GetWindowRows( HWND hWnd, HDC hDC, HFONT hFont ) { TEXTMETRIC tm; RECT rct; WORD wRows; BOOL bDCDestroy = FALSE; HFONT hOldFont; if( ! hDC ) { bDCDestroy = TRUE; hDC = GetDC( hWnd ); } if( hFont ) hOldFont = ( HFONT ) SelectObject( hDC, hFont ); GetTextMetrics( hDC, ...
by peterk
Wed Nov 15, 2006 10:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: wbrowse.prg function nwrows returning huge no
Replies: 3
Views: 980

... Static Function DrawRotated(hDC,cPrompt,Y,X,nClrText,nClrPane,oFont) Local hOldFont, nOldMode, nOldClrText, nOldClrPane nOldClrText:=SetTextColor(hDC,nClrText) if nClrPane<>nil nOldClrPane:=SetBkColor(hDC,nClrPane) else ...
by Raymundo Islas M.
Sun Apr 23, 2006 10:33 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Texto vertical
Replies: 4
Views: 990

... ES_RIGHT 2 #define ES_LEFT 0 #Define TA_LEFT 0 #Define TA_RIGHT 2 #Define TA_CENTER 6 METHOD Paint() CLASS TGet local aInfo := ::DispBegin() Local hOldFont if ::oBrush != nil FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) else CallWindowProc( ::nOldProc, ::hWnd, WM_ERASEBKGND, ::hDC, ...
by karinha
Thu Dec 22, 2005 11:33 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WHEN( .F. ) EN GET USANDO FIVEWIN FOR XHARBOUR
Replies: 12
Views: 4479

... ::hWnd ) CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 ) else SetTextColor( ::hDC, ::nClrText ) SetBkColor( ::hDC, ::nClrPane ) hOldFont = SelectObject( ::hDC, ::oFont:hFont ) do case case lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_CENTER ) SetTextAlign( ::hDC, TA_CENTER ) ...
by Alfredo Arteaga
Wed Dec 21, 2005 7:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WHEN( .F. ) EN GET USANDO FIVEWIN FOR XHARBOUR
Replies: 12
Views: 4479

... ES_RIGHT 2 #define ES_LEFT 0 #Define TA_LEFT 0 #Define TA_RIGHT 2 #Define TA_CENTER 6 METHOD Paint() CLASS TGet local aInfo := ::DispBegin() local hOldFont if ::oBrush != nil FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) else CallWindowProc( ::nOldProc, ::hWnd, WM_ERASEBKGND, ::hDC, ...
by karinha
Wed Dec 21, 2005 12:43 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: WHEN( .F. ) EN GET USANDO FIVEWIN FOR XHARBOUR
Replies: 12
Views: 4479

... ::hWnd ) CallWindowProc( ::nOldProc, ::hWnd, WM_PAINT, ::hDC, 0 ) else SetTextColor( ::hDC, ::nClrText ) SetBkColor( ::hDC, ::nClrPane ) hOldFont = SelectObject( ::hDC, ::oFont:hFont ) ExtTextOut( ::hDC, 0, 0,; { 0, 0, ::nHeight(), ::nWidth() }, GetWindowText( ::hWnd ) ) SelectObject( ...
by Antonio Linares
Tue Dec 20, 2005 10:40 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WHEN( .F. ) EN GET USANDO FIVEWIN FOR XHARBOUR
Replies: 12
Views: 4479

... METHOD Paint() CLASS TGet local aInfo := ::DispBegin() // Mudanca(Cambio) enviada(o) por Antonio Linares en 20/12/2005 local hOldFont if ::oBrush != nil FillRect( ::hDC, GetClientRect( ::hWnd ), ::oBrush:hBrush ) else CallWindowProc( ::nOldProc, ::hWnd, WM_ERASEBKGND, ::hDC, ...
by karinha
Tue Dec 20, 2005 9:31 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: WHEN( .F. ) EN GET USANDO FIVEWIN FOR XHARBOUR
Replies: 12
Views: 4479
Previous

Return to advanced search