Posted by Barbara Brazil on February 12, 2008 at 09:22:14:
In Reply to: Click OK from within a program posted by Grant Foraker on February 12, 2008 at 08:21:22:
Grant:
My guess is that you'd want to post the BN.CLICKED message for the button. I looked for some example code for you and found the following but honestly I'm not certain that's what it's trying to do. This is from a program called PoundPtr.ibs in the DMW folder:
GOSUB COS.GetFrameWnd ! -> cosCWnd$ - Session window for parent
cosMessage = WM.COMMAND ! cosMessage
coswParam = BN.CLICKED * 65536 ! cosCommand
coswParam = coswParam+cosPRINT.DIALOG ! cosCtlId
coslParam = 0 !coslParam ! cosCtlCWnd$
GOSUB COS.PostMessage
bb
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.