Search found 66 matches: getwindowlong

Return to advanced search

16 bits tranparentes

... bInit, bRClicked, bWhen ) METHOD Initiate( hWndFocus, hWnd ) CLASS TDIAG LOCAL lFocus := Super:Initiate( hWndFocus, hWnd ) * ::nDif := IF(lAnd(GetWindowLong(::hWnd,GWL_STYLE),WS_BORDER),1,0) ::bStart := { || ::StartPaint() } RETURN lFocus METHOD Paint() CLASS TDIAG DrawBitmap( ::hDc, ::hFond, ...
by manuramos
Thu Feb 02, 2006 5:36 pm
 
Forum: FiveWin para CA-Clipper
Topic: 16 bits tranparentes
Replies: 6
Views: 1939

... 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 ) ExtTextOut( ::hDC, 0, ::nWidth() / 2, ; { 0, 0, ::nHeight(), ::nWidth() ...
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: 4480

... 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 ) case lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_RIGHT ) SetTextAlign( ...
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: 4480

... 0 ) else SetTextColor( ::hDC, ::nClrText ) SetBkColor( ::hDC, ::nClrPane ) hOldFont = SelectObject( ::hDC, ::oFont:hFont ) do case case lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_CENTER ) // 1 SetTextAlign( ::hDC, TA_CENTER ) // 6 case lAnd( GetWindowLong( ::hWnd, GWL_STYLE ), ES_RIGHT ) ...
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: 4480

Antonio, I try and try ... and nothing to change dialog. Maybe my code is wrong ? When I use GWL_EXSTYLE GetWindowLong () return 0, GWL_STYLE return value <> 0 but dialog is still standard. #define GWL_STYLE (-16) #define GWL_EXSTYLE (-20) #define SHIDIM_FLAGS ...
by pawelu
Sun Nov 06, 2005 11:52 am
 
Forum: FiveWin for Pocket PC
Topic: Empty menu
Replies: 19
Views: 7129

... I used #define GWL_STYLE -16 #define WS_EX_CAPTIONOKBTN 0x80000000 (Found them on a Web site) Then : DEFINE WINDOW oWnd TITLE "Orders" nStyle = GetWindowLong( oWnd:hWnd, GWL_STYLE ) SetWindowLong( oWnd:hWnd, GWL_STYLE, nOr( nStyle, WS_EX_CAPTIONOKBTN ) ) The Icon remains as an "X" and not "OK" ...
by GWard
Tue Oct 25, 2005 12:51 pm
 
Forum: FiveWin for Pocket PC
Topic: OK Icon on application Windows
Replies: 8
Views: 3069
Previous

Return to advanced search