简体   繁体   中英

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.

尝试将WS_CLIPCHILDREN样式添加到父对话框。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM