We have tested your hwgui example and we have found that dialogs can't be closed unless you close them in a specific (built?) order.
Unless you close the latest shown dialog, the others can't be closed.
You can download the built example from here:
https://github.com/FiveTechSoft/FWH_tools/blob/master/Dialogboxes.exe
source code:
- Code: Select all Expand view
- #include "hwgui.ch"
static n := 1
FUNCTION Main()
hb_ThreadStart( { || Main2() } )
hb_ThreadStart( { || Main2() } )
hb_ThreadStart( { || Main2() } )
hb_ThreadStart( { || Main2() } )
hb_ThreadStart( { || Main2() } )
hb_ThreadWaitForAll()
*
RETURN Nil
FUNCTION Main2()
LOCAL oDlg
INIT DIALOG oDlg TITLE Str( n++ ) ;
AT 200,0 SIZE 400,150
ACTIVATE DIALOG oDlg
RETURN Nil
continued in next post...