-
ChildWindowFromPoint
Hi,
I have two edit controls and two command buttons in a dialog. One of the edit controls, I use as status bar. When the user moves the mouse over a control, I want to display a message in the second edit (like tooltip). I tried ChildWindowFromPoint, but found it to work with disabled and hidden controls only. Help me on how I should proceed.
Thanks and regards
Ramki
-
Re: ChildWindowFromPoint
Try the following method:
Hanle the WM_SETCURSOR message of the dialog;
in the map function,add codes as following:
if(pWnd!=this)
switch(pWnd->GetDlgCtrlID())
{
case ID1:
Set the edit text.
break;
case ID2:
.........
break;
case ID3:
.........
break;
}