Have the following code
CONTROL ADD BUTTON, hDlg, %BU8, "&0 CANCEL",440, 45, 50, 14, CALL Record_Cancel
CALLBACK FUNCTION Record_Cancel()
DIALOG END hDlg, 1
CALL MAINMENU
END FUNCTION
error 546 contains the following info:
To reference it indirectly, send an appropriate window message using CONTROL SEND or DIALOG SEND. To send custom messages, be sure to use message values higher than %WM_USER+500 to avoid conflicts with other notification mess
Here is where I am stuck, use CONTROL SEND or DIALOG SEND.
CONTROL SEND hDlg, %ID_BTN1, %BU8_CLICK, 0, 0
If I use CONTROL SEND not sure how to use this.
DIALOG SEND CB.HNDL, %WM_USER, VARPTR(Param1&), VARPTR(Param2&)
If I use DIALOG SEND do not understand this. What to plug in VARPTR(Param1&), VARPTR(Param2&)??
CONTROL ADD BUTTON, hDlg, %BU8, "&0 CANCEL",440, 45, 50, 14, CALL Record_Cancel
CALLBACK FUNCTION Record_Cancel()
DIALOG END hDlg, 1
CALL MAINMENU
END FUNCTION
error 546 contains the following info:
To reference it indirectly, send an appropriate window message using CONTROL SEND or DIALOG SEND. To send custom messages, be sure to use message values higher than %WM_USER+500 to avoid conflicts with other notification mess
Here is where I am stuck, use CONTROL SEND or DIALOG SEND.
CONTROL SEND hDlg, %ID_BTN1, %BU8_CLICK, 0, 0
If I use CONTROL SEND not sure how to use this.
DIALOG SEND CB.HNDL, %WM_USER, VARPTR(Param1&), VARPTR(Param2&)
If I use DIALOG SEND do not understand this. What to plug in VARPTR(Param1&), VARPTR(Param2&)??
Comment