如何让 wxCollapsiblePane收缩时不改变父窗口大小?

这是wxWidgets论坛的中文版本。在这里,您可以用您的母语汉语讨论上面任一子论坛所涉及的所有关于wxWidgets的话题。欢迎大家参与到对有价值的帖子的中英互译工作中来!
Post Reply
orighost
In need of some credit
In need of some credit
Posts: 6
Joined: Sat Feb 18, 2012 11:01 am

如何让 wxCollapsiblePane收缩时不改变父窗口大小?

Post by orighost » Sat Feb 18, 2012 11:24 am

如何让 wxCollapsiblePane收缩时不改变父窗口大小?

Utensil
Moderator
Moderator
Posts: 423
Joined: Sun Feb 03, 2008 11:38 am
Location: China

Re: 如何让 wxCollapsiblePane收缩时不改变父窗口大小?

Post by Utensil » Sun Mar 25, 2012 2:13 am

wxCP_NO_TLW_RESIZE:
By default wxCollapsiblePane resizes the top level window containing it when its own size changes. This allows to easily implement dialogs containing an optionally shown part, for example, and so is the default behaviour but can be inconvenient in some specific cases -- use this flag to disable this automatic parent resizing then.

http://docs.wxwidgets.org/trunk/classwx ... _pane.html
In fascination of creating worlds by words, and in pursuit of words behind the world.

On Github: http://utensil.github.com
Technical Blog in Chinese: http://utensil.iteye.com/

Post Reply