Re: Click OK from within a program


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]

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


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject:

What is the name of the main Signature System's Product?

Comments:

Optional Link URL:
Link Title:
Optional Image URL:

You may attach up to 5 files to your followup (see below):





Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.


[ Follow Ups ] [ Post Followup ] [ Signature.net Forum ]