Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
Use of RECT to get coordinates...
ScreenToClient and ClientToScreen don't seem to be of much use for what I am trying here. I need to get the cursor position in the child window only. First I need to find out which of four child windows the cursor is in, then I need to find out what coordinates the mouse cursor is in that window. I want the coordinates to start at 0,0 in the child windows' upper-left corner and go to whatever it's max is in each of the four child windows. The four child windows are all STATIC and SS_BITMAP. Thanks for the help.
0 · ·