Print Page | Close Window

Toolbar visibility state is not maintaning

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=5370
Printed Date: 11 November 2025 at 1:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolbar visibility state is not maintaning
Posted By: babumohan
Subject: Toolbar visibility state is not maintaning
Date Posted: 27 October 2006 at 6:55am
When the toolbar changes its visibility state, frame does not recalculate the client area

-------------
Babs



Replies:
Posted By: Oleg
Date Posted: 27 October 2006 at 6:58am
Hello,
 
obviously you make something wrong. Can you attach some sample that show what you do.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: Oleg
Date Posted: 27 October 2006 at 6:59am
btw. In screenshot I see that it is not our CommandBars....   What version do you have ? Is it ToolkitPro?

-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS


Posted By: babumohan
Date Posted: 27 October 2006 at 7:05am

BOOL bResult = m_wndToolbar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE
  | CBRS_TOP | CBRS_TOOLTIPS | CBRS_SIZE_FIXED|CBRS_FLYBY);

 CXTPToolBar::SetFlags(xtpFlagAlignTop, xtpFlagFloating | xtpFlagAlignAny|xtpFlagSmartLayout);
 CXTPPaintManager::SetTheme(xtpThemeOffice2003);

===========
where wndToolbar is an object of a clas which is inherited from CXTPToolBar.


-------------
Babs


Posted By: Oleg
Date Posted: 27 October 2006 at 7:42am
Hello,
 
you use wrong code. Check our samples. You have to add toolbars with
pCommandBars->Add method.


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net