Using FWH 18.03, when you open and close dialog (from resource) several times, the entire FWH app crashed.
to simplify/replicate:
- Code: Select all Expand view
FUNCTION uPopup_RecordSet()
local oDlg,;
oBarBottom
local xRet
DEFINE DIALOG oDlg RESOURCE 'DLG_TEST' TRUEPIXEL;
STYLE nOr( WS_POPUP, WS_THICKFRAME );
TITLE ''
oDlg:lHelpIcon := .F.
REDEFINE BUTTONBAR oBarBottom;
ID 1001 OF oDlg 2010
DEFINE BUTTON OF oBarBottom RESOURCE 'exitdoor16' CENTER TRANSPARENT;
ACTION ( xRet := NIL, oDlg:End() );
TOOLTIP {'Cancel Selection', 'CLOSE'}
ACTIVATE DIALOG oDlg;
ON INIT ( oDlg:oBottom := oBarBottom )
return( xRet )
RC:
- Code: Select all Expand view
DLG_TEST DIALOGEX 0,0,284,123
FONT 9,"Verdana",0,0,0
STYLE NOT WS_VISIBLE|WS_POPUP|WS_THICKFRAME
BEGIN
CONTROL "",1001,"ToolbarWindow32",WS_CHILDWINDOW|WS_VISIBLE|TBSTYLE_FLAT|TBSTYLE_WRAPABLE|TBSTYLE_TOOLTIPS|CCS_NORESIZE|CCS_BOTTOM,2,106,42,14
END
there's NO ISSUE with FWH16.06..
I think this is a bug in FWH18.03??