Print Page | Close Window

Resizable CXTPDialog

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=1311
Printed Date: 14 September 2025 at 12:32am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Resizable CXTPDialog
Posted By: Kenneth
Subject: Resizable CXTPDialog
Date Posted: 22 October 2004 at 3:57pm
Any chance of a resizable CXTPDialog?



Replies:
Posted By: Oleg
Date Posted: 25 October 2004 at 11:25am
Try CXTPDialogBase<CXTResizeDialog>

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


Posted By: Kenneth
Date Posted: 25 October 2004 at 11:46am

I tried that, and it compiled ok, but did not work.  Looks just like when I used CXTPDialog.  No sizing grip on the statusbar, and cound not resize the window. 

Also, in both the CXTResizeDialog and the CXTDialog (as well as the example DialogSample which uses the CXTPDialog, in the toolkit), the statusbar fields are not being updated.  Apears to updated once at the start, then thats it.  You can observe this in the sample by simply toggling the NumLock or Caps Lock key.



Posted By: Oleg
Date Posted: 26 October 2004 at 6:54am
remove DS_MODALFRAME style.

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


Posted By: Kenneth
Date Posted: 26 October 2004 at 8:32am

Yes, that allows the frame to be resized, but nothing more.  All the control bars remain the same size, and the statusbar still does not get updated.

May I suggest this be turned over to the Codejock qualtity control team and have someone at least compile and run the toolkit sample, and SEE and is going on.



Posted By: SuperMario
Date Posted: 26 October 2004 at 8:51am
I see same problem, I opened DialogSample and changed border style to resizing.  This places a gripper on the statusbar, but you can only resize the dialog and statusbar individually.  Not sure if something else needs to be done to make them work at same time.  But I also noticed that the statusbar was not updated in the sample.  I'm guessing there is something extra that needs to be done to notify statusbar.


Posted By: Kenneth
Date Posted: 26 October 2004 at 9:13am

On every other "normal dialog with toolbars/statusbar", that something extra is the WK_KICKIDLE, which the sample (and my test dialog) includes.  The new codjock control bar logic appears have broken this logic somewhere within the toolkit.

If I go back to the old CXTResizeDialog, all the resizing works perfect, but when you add the new control bars, it breaks everything.

 



Posted By: Kenneth
Date Posted: 28 October 2004 at 8:07am
Well since the codejock toolkit cannot handle a resizable dialog with the toolkit pro control bars, I simply went to the old standby from The Code Project, EasySize.  It takes care of all the child controls, and a few lines of code handles the control bars.  If anyone needs the code to handle the control bars, let me know.



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