Define window ownd;
STYLE ( WS_POPUP )
CAn i make it outside this call ?
i want make as:
oWnd:Style( WS_POPUP )
y tryed this:
oWnd:nStyle:= nOr (WS_POPUP) ( no show error ) more no work how is when i do it in define window ....
#include "fivewin.ch"
#define GWL_STYLE -16
Function Main()
Local oWnd
Define Window oWnd From 200, 200 To 400, 400 PIXEL
@10,10 BUTTON "ok" OF oWnd SIZE 40,20 PIXEL ;
ACTION ( SetWindowLong( oWnd:hWnd, GWL_STYLE, nOr( WS_VISIBLE, WS_POPUP ) ), ;
oWnd:Refresh() )
@10,60 BUTTON "End" OF oWnd SIZE 40,20 PIXEL ACTION oWnd:End()
Activate Window oWnd
Return Nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 91 guests