Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Dialog is not resizing
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Dialog is not resizing

 Post Reply Post Reply
Author
Message
Raj.krishnan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 January 2006
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote Raj.krishnan Quote  Post ReplyReply Direct Link To This Post Topic: Dialog is not resizing
    Posted: 28 March 2006 at 6:03am

As my dialog is derived from CXTPDialogBase<CXTResizeDialog> and whenever i moved the cursor around the edges it is not showing the resizing cursor.

Note:       

Since iam using CreateRoundRectRgn function of my dialog to look like curved at the edges .

Is it a problem for resize control. Please help on this issue .

Even my Dialog properties is      Style : Popup     Border : Resizing

 

 

Back to Top
Raj.krishnan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 January 2006
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote Raj.krishnan Quote  Post ReplyReply Direct Link To This Post Posted: 04 April 2006 at 6:05am

Hello All,

No one has replied to this post . Please help on this issue to solve this issue My dilaog is derived from the CXTPDialogBase<CXTResizeDialog> it is very important if it is solved my application will look better.

 

 

Raj
Software Engineer
eGrabber Inc
http://vcfreax.blogspot.com/
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 04 April 2006 at 9:27am

In popertygrid sample add

CXTPWindowRect rcW(this);
CRgn rgn;
rgn.CreateRoundRectRgn(0, 0, rcW.Width(), rcW.Height(), 10, 10);
SetWindowRgn((HRGN)rgn.Detach(), TRUE);

and it works.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
Raj.krishnan View Drop Down
Groupie
Groupie
Avatar

Joined: 16 January 2006
Status: Offline
Points: 44
Post Options Post Options   Thanks (0) Thanks(0)   Quote Raj.krishnan Quote  Post ReplyReply Direct Link To This Post Posted: 05 April 2006 at 1:27am

Hello Oleg,

We are doing the samething in our exe but we are placing toolbar at the top and bottom corner of the dialog is it a problem whether toolbar overides the resizing of dialog.It is not showing the resizing  icon when i place the cursor on the corners

Raj
Software Engineer
eGrabber Inc
http://vcfreax.blogspot.com/
Back to Top
Oleg View Drop Down
Senior Member
Senior Member


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: 05 April 2006 at 8:12am

Hello,

I don't know what code you have. To help I need sample from you - create new project, copy code regarding this problem and attach it here.

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
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.078 seconds.