#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg;
STYLE NOR( WS_POPUP, WS_VISIBLE, WS_CAPTION, WS_THICKFRAME, WS_SYSMENU, WS_MINIMIZEBOX, WS_MAXIMIZEBOX );
TITLE "This is a test"
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
How can I test iconized state OF a Dialog or Window?
#include "fivewin.ch"
function Main()
local oWnd
DEFINE WINDOW oWnd
ACTIVATE WINDOW oWnd HIDDEN ON INIT ( MakeDialog(), oWnd:End() )
return nil
static function MakeDialog
local oDlg
DEFINE DIALOG oDlg
oDlg:nStyle += (WS_MINIMIZEBOX + WS_MAXIMIZEBOX)
ACTIVATE DIALOG oDlg CENTERED
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 12 guests