Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - how to resize controls in the formview
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

how to resize controls in the formview

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


Joined: 19 September 2004
Location: China
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote nicolnie Quote  Post ReplyReply Direct Link To This Post Topic: how to resize controls in the formview
    Posted: 17 November 2005 at 11:15pm

I have several docking panes and a formview. The initial states of panes is show, and there are some controls in the formview. When I hide the panes, how should I do to put the controls to right position? resize or move?

Thanks for your help.

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: 17 November 2005 at 11:43pm
You can try CXTResizeFormView, see sample at Samples\Utilities\Grep
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nicolnie View Drop Down
Newbie
Newbie


Joined: 19 September 2004
Location: China
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote nicolnie Quote  Post ReplyReply Direct Link To This Post Posted: 19 November 2005 at 12:41am

Thanks.

I see the sample, and use in my project. But another question is how to implement the resize in the vertical? The grep sample shows only the horizontal, and I can not understand the means of parameters of SetReize().

If a better sample can be provide, it is very good.

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: 19 November 2005 at 10:30am
for second parameter insted ...TOP_RIGHT try ...BOTTOM_RIGHT
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
nicolnie View Drop Down
Newbie
Newbie


Joined: 19 September 2004
Location: China
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote nicolnie Quote  Post ReplyReply Direct Link To This Post Posted: 20 November 2005 at 12:46am

If I want resize in the two dimensions, what should I do? Can I write two SetResize() statement for a control?

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