Resizable CXTPDialog |
Post Reply |
Author | |
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
Posted: 22 October 2004 at 3:57pm |
Any chance of a resizable CXTPDialog?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Try CXTPDialogBase<CXTResizeDialog>
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
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. |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
remove DS_MODALFRAME style.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
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. |
|
SuperMario
Admin Group Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
|
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.
|
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
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.
|
|
Kenneth
Senior Member Joined: 23 May 2004 Location: United States Status: Offline Points: 256 |
Post Options
Thanks(0)
|
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.
|
|
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 |