wjm9430
asked on
Resize CListCtrl while dialog resizing
I create a dialog based project. And I want to resize a CListCtrl while the dialog resizing. If the CListCtrl has LVS_OWNERDRAWFIXED style, the height of each CListCtrl row will become very big when dialog resize. But if it doesn't have LVS_OWNERDRAWFIXED style, resize will be properly. I want to know why this will happen? LVS_OWNERDRAWFIXED style will have this phenomenon or maybe my code has problem?
My project my need LVS_OWNERDRAWFIXED CListCtrl style, because I want to draw things in cells.
Thanks
My project my need LVS_OWNERDRAWFIXED CListCtrl style, because I want to draw things in cells.
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Could you paste the code of your WM_DRAWITEM message handler?
ASKER
I get it.
Thanks a lot!
Thanks a lot!
ASKER