motorway
asked on
Using MoveWindow for a control in a dialog
I've tried to show a rectangle over the selected control in a dialog. But, when I try to move the rectangle using the movewindow() function, the rectangle just disappears. My guess is that I'm not getting the coordinates of the selected control with respect to the dialog containing that control. How can I do it? The rectangle is simply a static control, and I want to show it round the selected text control.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BOOL CALLBACK DlgProc(HWND, UINT, WPARAM, LPARAM) lol.