Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

Resizing the child Controls in the Formview

Hi,

How to resize the controls in the FormView of an SDI Application(GUI), when the window(FormView) corners are dreagged .

Waiting for reply.

regards,
daya

0
dayasagar_c
Asked:
dayasagar_c
  • 2
1 Solution
 
Meir RivkinFull stack Software EngineerCommented:
override OnSize of your FormView and resize your controls according to the size of the view
0
 
dayasagar_cAuthor Commented:

We done that already . The problem is we are not able to get the exact ratio of the window after is dragged.
We got it roughly but it gives some odd shappes some times.

How to get the exact size of the view you are talking about .



0
 
Meir RivkinFull stack Software EngineerCommented:
GetClientRect() i think
0
 
Roshan DavisCommented:
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by: sedgwick

Please leave any comments here within the next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now