maintaining layout of window
-
hi What do I have to do to maintain the layout of a Form when I maximize the window? Is it possible to desig the GUI working in a window that is 50% smaller than the final GUI and configure the window to maximize when executing such that all the containers in the form maintain its position in relation to the borders AND resizes. (i.e. if I maximize the window from 50% to 100& I want all the containers to double in size as well) doneirik
-
hi What do I have to do to maintain the layout of a Form when I maximize the window? Is it possible to desig the GUI working in a window that is 50% smaller than the final GUI and configure the window to maximize when executing such that all the containers in the form maintain its position in relation to the borders AND resizes. (i.e. if I maximize the window from 50% to 100& I want all the containers to double in size as well) doneirik
(assuming you're using MFC/win32 UI code ) you need to handle the resizing of the UI manually, handle the WM_SIZE message and resize and reposition each control. or you could use a layout manager, have a look here at CP for different layout managers.
Maximilien Lincourt Your Head A Splode - Strong Bad
-
(assuming you're using MFC/win32 UI code ) you need to handle the resizing of the UI manually, handle the WM_SIZE message and resize and reposition each control. or you could use a layout manager, have a look here at CP for different layout managers.
Maximilien Lincourt Your Head A Splode - Strong Bad
the best one i've seen so far is the 'EasySize' article here on CP My articles www.stillwaterexpress.com BlackDice