Print Page | Close Window

Problems with CXTPToolbar in a dialog...

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=12530
Printed Date: 23 June 2025 at 4:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problems with CXTPToolbar in a dialog...
Posted By: evoX
Subject: Problems with CXTPToolbar in a dialog...
Date Posted: 25 October 2008 at 4:34pm
I have created a dialog application similar to DialogSample, but without a statusbar and the toolbar is not showing...
 
I don't know what I am missing....here is attached the sample project in which the toolbar is not showing.
https://forum.codejock.com/uploads/20081025_163307_testx.rar - uploads/20081025_163307_testx.rar  



Replies:
Posted By: Oleg
Date Posted: 27 October 2008 at 3:22am

Hi,

OnSize handler missed.


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


Posted By: evoX
Date Posted: 27 October 2008 at 4:01pm

Thanks Oleg,

I have added OnSize with RepositionControls like in the DialogSample, but the toolbar is still not showing, what I am missing?

Here is the project with OnSize https://forum.codejock.com/uploads/20081027_160126_testx_with_onsi.rar - uploads/20081027_160126_testx_with_onsi.rar


Posted By: Oleg
Date Posted: 28 October 2008 at 3:08am
Hi,
 
Add
 
 m_bInitDone = TRUE;
 RepositionControls();
in the end of OnInitDialog();


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


Posted By: evoX
Date Posted: 28 October 2008 at 6:42am
Thanks !, now it works
 



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