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 ....
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 ....
lailton.webmaster wrote: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:= nOr (WS_POPUP) ( no show error ) more no work how is when i do it in define window ....
Thanks more yet continue.
it´s no work to me.
#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 Nilmmercado and StefanHaupt,
it´s work fine !!
Thanks so much... ![]()