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

Problem with modeless dialog

Status
Not open for further replies.

WilliamGS

Programmer
Jan 21, 2004
54
0
0
PE
Hi all. I have a modeless dialog (whithout tittle bar, without 'OK' and 'Cancel' Button) and I want to hide it when it loses focus or when the user clicks outside the dialog, I tried to catch WM_KILLFOCUS message, but it only is called when the dialog appears the first time, not when the dialog loses focus.

I want to do a "popup" dialog, when a user clicks on a button, it must be appear at bottom of this button.

Please, help me with it.

Thanks in advance.
William GS.
 
I would suggest using the
Code:
_TrackMouseEvent
WM_MOUSELEAVE
combination.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top