开发者

MFC Resizing dialog and child window paint problem

When I resize parent dialog (resizing border), child dialog is not painting correctly. Child dialog is partially hidden behind开发者_开发问答 the border of parent dialog. If i make dialog bigger, revealed part of child dialog isn’t painted. But when i make it even bigger, child dialog paints to the previous border position. I tried my best with invalidating and redrawing dialogs but I can’t make it appear correctly.

Thanks in advance for your help.


Try to add WS_CLIPCHILDREN style to the parent dialog.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜