- Code: Select all Expand view RUN
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg
@ 1, 1 BTNBMP;
FILE "C:\FWH\BITMAPS\OPEN.BMP";
NOBORDER
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
EMG
#include "Fivewin.ch"
FUNCTION MAIN()
LOCAL oDlg
DEFINE DIALOG oDlg
@ 1, 1 BTNBMP;
FILE "C:\FWH\BITMAPS\OPEN.BMP";
NOBORDER
ACTIVATE DIALOG oDlg;
CENTER
RETURN NIL
METHOD SysCommand( nWParam, nLParam ) CLASS TDialog
if nWParam == SC_CLOSE .and. ::lModal
if GetCapture() != 0 // New !
ReleaseCapture() // New !
endif // New !
return .f.
endif
...
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: No registered users and 60 guests