Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locating a messagebox
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00608041
Message ID:
00646821
Views:
26
Hi Neil,

>You can do anything you want with the Win32 messagebox after all, its just an internal dialog. The secret is relying on the behaviour of the messagebox as it is created and timing in the message queue whilst hooking the VFP message queue. In the future I may release a little article illustrating the technique as its extremely robust.

Yeah, I was really curious after I've read that this should be possible and had a deeper look at the MSDN library and found out, that it should be possible to use system hooks to do some interesting things with the message box. I'm always very interested in these things, but haven't got the time (and use <g>) for all the interesting things ... Writing an article on that topic would be great!

>Take a look at a messagebox using Spy++ and make a not of the dialog's ID. Load VFP and use my VFPEvent FLL to launch the extended messagebox function that allows you to change the button prompts and again use Spy++ to inspect the dialog's ID - you will notice they are the same!

>Sorry it took so long to reply I've been working in London on a large project and havn't had a lot of time for other things.

No problem! Thanks very much for your reply. I will certainly have a look at your FLL.

Regards,
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Reply
Map
View

Click here to load this message in the networking platform