| ahbazzi (45) | |||
I have created a windows with WS_SIZEBOX so the user can resize it. This window contains a Header View and a List View. When I change the size of the window, neither the Header View nor the List View are changing and not been resized. I captured the WM_SIZING message in the window handler as below, but both controls are disappearing. I don't know why. See below code:
Please let me know what is wrong and what is missing in my code. This is giving me headache.. | |||
|
|
|||
| guestgulkan (2915) | |||||||
You are using the wrong rectangle;
You need to use the client area rectangle.
EDIT: I would expect header window to appear near or at the top of the client area. (We can always adjust this function
for fine positioning)) | |||||||
|
Last edited on
|
|||||||