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

Groupbox in CXTResizeDialog

 Post Reply Post Reply
Author
Message
camow View Drop Down
Newbie
Newbie


Joined: 30 March 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote camow Quote  Post ReplyReply Direct Link To This Post Topic: Groupbox in CXTResizeDialog
    Posted: 07 April 2004 at 8:24pm

Hi,

Groupboxes do not seem to be drawn correctly in a resizable dialog.

It seems like they are owner drawn and then not handled.  Other controls

seem fine.

Anyone know anything about this?  How can this be fixed?

Thanks,

Chris

Back to Top
Kappy View Drop Down
Newbie
Newbie


Joined: 08 April 2004
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kappy Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2004 at 1:32pm

Change the contructor from:

CMyDlg::CMyDlg(CWnd* pParent /*=NULL*/)
 : CXTResizeDialog(CMyDlg::IDD, pParent)
{
}

to:

CMyDlg::CMyDlg(CWnd* pParent /*=NULL*/)
 : CXTResizeDialog(CMyDlg::IDD, pParent,SZ_NOCLIPCHILDREN|SZ_NOTRANSPARENTGROUP)
{
}



Edited by Kappy
Back to Top
camow View Drop Down
Newbie
Newbie


Joined: 30 March 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote camow Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2004 at 2:12pm

Thanks Kappy!  Works great!

Hopefully there aren't too many other quirks like this about the CXTResizeDialog ;-)

Back to Top
Kappy View Drop Down
Newbie
Newbie


Joined: 08 April 2004
Location: Canada
Status: Offline
Points: 9
Post Options Post Options   Thanks (0) Thanks(0)   Quote Kappy Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2004 at 3:09pm
I use CXTResizeDialog, CXTResizePropertySheet and CXTResizePropertyPage all the time.  That is the only oddity that I can think of.  I have used resizable dialogs from Dundas and Stingray and XTP's are the best and most intuitive by far.
Back to Top
camow View Drop Down
Newbie
Newbie


Joined: 30 March 2004
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote camow Quote  Post ReplyReply Direct Link To This Post Posted: 08 April 2004 at 3:26pm

I do like the way they've implemented anchoring support. 

Although I like the way .Net does it - but if it can't be visual, the TL and BR corner settings are very intuitive.

I've used Dundas's grid, which I liked better than CListCtrl derivations, but I haven't used their other stuff.  I used Stingray a long time ago and I remember their support being pretty bad.

So far, I am happy with the Xtreme stuff, their support has been pretty good although I am still wrestling with tooltip issues (I think partly the OS or MFC) 

 

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.172 seconds.