06-24-2011 07:17 PM
I am having a bit of trouble. How do I make the "Move Window to Top" routine select the window I after it has appeared?
What is happening now is that the dialog box is pausing further execution until I select the OK button. But during that pause, "Move Window to Top" is unable to activate because it is in waiting. Ugh. What do I need to do to make it wait for the dialog box to appear, and afterward "Move Window to Top"?
06-29-2011 09:20 PM
I finally had a chance to sit down and play with your example.
Use the GetForegroundWindow to get the Window handle to pass into MessageBox. The window will be active. Also change your 0x20040 to 0x40.
07-05-2011 05:16 PM
I sincerely appreciate your efforts. I just got back from vacation.
I suppose I'll have to figure out how to use the GetForegroundWindow functon. I shall keep you posted.
07-06-2011 01:42 PM
I am taking way too long with this issue, and so I decided to not make the message box window active. I really do need to get my change released and it's just taking much too long. Thanks for all the help.