When i maximize the screen, the application stays the same... How to i allow resizing it with the entire window, or at least stay in the center?
This is a discussion on Resizing the screen while centering the app within the Windows Programming forums, part of the Platform Specific Boards category; When i maximize the screen, the application stays the same... How to i allow resizing it with the entire window, ...
When i maximize the screen, the application stays the same... How to i allow resizing it with the entire window, or at least stay in the center?
You have to reposition or resize the individuals controls in your window manually.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
It's a manual labor. You only need to resize the controls, though. They will take care of resizing their contents.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^
As I said, the text will resize automatically if you use controls.
If you are drawing text yourself, I suggest avoiding that. Use static text (labels).
This isn't rocket math, you know. You will simply need some formulas.
Like, got a textbox at the bottom of your window?
You can resize it to say, width - 128 and height - 128, or the like.
Figure out how you want your contents and use formulas to determine position & size.
For information on how to enable C++11 on your compiler, look here.
よく聞くがいい!私は天才だからね! ^_^