Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Resizable CXTPDialog
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Resizable CXTPDialog

 Post Reply Post Reply
Author
Message
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post Topic: Resizable CXTPDialog
    Posted: 22 October 2004 at 3:57pm
Any chance of a resizable CXTPDialog?
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 25 October 2004 at 11:25am
Try CXTPDialogBase<CXTResizeDialog>
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 26 October 2004 at 6:54am
remove DS_MODALFRAME style.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post 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.

Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post 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.

 

Back to Top
Kenneth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 23 May 2004
Location: United States
Status: Offline
Points: 256
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kenneth Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.109 seconds.