I have a dialog in which I made list control and made its ownerdraw true. But on draw function of dialog is not calling for list. What would be the reason?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
BS_OWNERDRAW is a message that redraws the control with linked bitmap.
Try this->RedrawWindow();
Redraws the whole window (and your list as well).