Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Locking the focus to my windows app

Status
Not open for further replies.
Dec 17, 2003
2
GB
I have a point in my simple program that alerts the user of an important event. I use the Messagebox function with MB_SYSTEMMODAL to ensure message is in foreground and user must respond. The only drawback is that the user can still click on other windows, apps, taskbar or the desktop. How can I stop the user from shifting the focus elsewhere from my app?
 
use windows hooks.

Ion Filipski
1c.bmp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top