开发者

ondraw function is not calling in mfc?

开发者 https://www.devze.com 2023-01-19 04:58 出处:网络
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 wou开发者_如何学Cld be the reason?BS_OWNERDRAW is a message that

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 wou开发者_如何学Cld be the reason?


BS_OWNERDRAW is a message that redraws the control with linked bitmap.

Try this->RedrawWindow();

Redraws the whole window (and your list as well).

0

精彩评论

暂无评论...
验证码 换一张
取 消