CSDN博客

img ToCpp

float ToolBar && dock ToolBar--发布日期:2007-9-1

发表于2008/10/2 18:37:00  349人阅读

分类: Win32/MFC

A docked toolbar is a child of the frame window it's docked to, but a floating toolbar is a child of the mini frame window that surrounds it. The mini frame window is a popup window owned by the frame window, but it's not a child of the frame window. (A popup window is a window with the style WS_POPUP; a child window has the WS_CHILD style instead.) The distinction is important because popup windows owned by a frame window are destroyed before the frame window is destroyed. Child windows, on the other hand, are destroyed after their parents are destroyed. A floating toolbar no longer exists when the frame window's OnDestroy function is called.
阅读全文
0 0

相关文章推荐

img
取 消
img