SDI bug!!! |
Post Reply |
Author | |
zhou_wz
Groupie Joined: 11 December 2003 Status: Offline Points: 44 |
Post Options
Thanks(0)
Posted: 30 December 2003 at 6:17am |
As author JoeBlack said, When pane docked at left side, the pin and X button of Docking pane 's disppear. When mouse hover on them, they appear! An solution provided by oleg BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { if( !CFrameWnd::PreCreateWindow(cs) ) return FALSE;
cs.style |= WS_CLIPCHILDREN|WS_CLIPSIBLINGS; return TRUE; } The dockingpane shows correctly but the views in app dont! A tabview in my SDI, the tabctrl will change its look according the theme selected! When Theme changes, The tabctrl will change too! When use WS_CLIPCHILDREN, I am fraid all my views can't repaint automaticly So, I dont think it is a good solution for the bug! We should NOT prevent views repainting!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
You can repaint views manually in OnSettingChange handler. RedrawWindow( NULL, NULL, |
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |