Original Post
🔒 Locked
Message Box
Advertisement
In what language, sir? And do you meant using the "MessageBox" statement, assuming C?
No. There are no location parameters for the function: MessageBox in the MSDN.
[edited by - cowsarenotevil on September 7, 2003 11:05:15 PM]
[edited by - cowsarenotevil on September 7, 2003 11:05:15 PM]
Hmmm - I''m making a very large presumption here, but...
If you''re wanting to have a box pop up at random places to avoid say a script automatically clicking it, then you can just use the Win32 API call DialogBox() - it creates a modal dialog box just like the MessageBox() call; it just requires a little extra work in writing a DLGPROC function.
You can set the size, location and as many controls (or as few) as you wish. Hope that may have been of some help. Anymore queries, just ask...
If you''re wanting to have a box pop up at random places to avoid say a script automatically clicking it, then you can just use the Win32 API call DialogBox() - it creates a modal dialog box just like the MessageBox() call; it just requires a little extra work in writing a DLGPROC function.
You can set the size, location and as many controls (or as few) as you wish. Hope that may have been of some help. Anymore queries, just ask...
Yes. Hook the dialog and subclass it when it pops up.
Google results. The first one looks promising as well as several others.
Google results. The first one looks promising as well as several others.
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement