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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to set focus of a window created with MessageBox 1

Status
Not open for further replies.

amarti44

Programmer
Feb 16, 2001
23
0
0
US
Hi:
I'm using a MessageBox to display a message but it's always appears in the back of a DialogBox that is displayed. In the handle to the parent window parameter of MessageBox I put NULL. I don't know how to pass the focus from the DlgBox (which is not the parent window)to the MessageBox window.
 
MessageBox(0,"","",MB_OK|MB_SETFOREGROUND|MB_...); John Fill
1c.bmp


ivfmd@mail.md
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top