The best clue about reserved words is when you try and type one it will change colour.
Is doesnt matter how or when you make windows so you could have
[code=thinbasic]
DIm style as DWORD VALUE %WS_POPUP Or %WS_VISIBLE Or %WS_CLIPCHILDREN Or %WS_CAPTION Or %WS_SYSMENU Or %WS_MINIMIZEBOX
DIM Window1 AS DWORD
DIM Window2 AS DWORD
DIM Window3 AS DWORD
DIM Window4 AS DWORD
DIM Window5 AS DWORD
DIALOG New 0, "Window1",-1,-1, 330, 203, style, 0 To Window1
DIALOG New 0, "Window2",-1,-1, 330, 203, style, 0 To Window2
DIALOG New 0, "Window3",-1,-1, 330, 203, style, 0 To Window3
DIALOG New 0, "Window4",-1,-1, 330, 203, style, 0 To Window4
DIALOG New 0, "Window5",-1,-1, 330, 203, style, 0 To Window5
[/code]
Until you call this
[code=thinbasic]DIALOG SHOW MODAL Window1 Call cbDialog[/code]
they are not shown allowing you to build your multiple windows and then just show them when required
look at
[code=thinbasic]
DIALOG SHOW STATE
DIALOG ENABLE / DISABLE
[/code]
Bookmarks