
Announcement
Collapse
No announcement yet.
MSGBOX function
Collapse
X
-
Don't feel bad Steve, its the end of the week, and after the holidays. Everyone is bound to have a "Brain Cramp" from time to time.
-
You need to #INCLUDE "WIN32API.INC", which is supplied with the compilers. Alternatively you could copy/paste the necessary equates from WIN32API.INC into your program, but you may as well just #INCLUDE the whole thing 'cause you never know what you'll need next.
-- EricLast edited by Eric Pearson; 28 Dec 2007, 03:48 PM.
Leave a comment:
-
MSGBOX function
I'm looking to put a yes/no message box -- here is what I am using:
lResult& = MSGBOX("Do you want a printout",%MB_YESNO, "test")
Even the example from the help won't work:
lResult& = MSGBOX("Overwrite registry file?", %MB_OKCANCEL OR %MB_DEFBUTTON2 OR %MB_TASKMODAL, "Critical Warning")
I have come to the conclusion that I need to download one of the equates from the WIN32API.INC file.
Am I correct? Can you suggest which file should be downloaded and used? Or am way off target?
Thanks.
SteveTags: None
Leave a comment: