Handling multiple display sizes and keep full screen
-
We would like to create an application that will display messages in different areas in defined areas of the monitors including large LCDs and keep the dialog size full size for each monitor. From the size of monitor, 17,27,30,42 and so on, change the font size and display areas to meet that size without much changing the overall look of the application output. Is is best to design multiple dialogs within the application to meet the sizes and have the user pick those or can we have one dialog and have the aspect and such change based on size? Any tools would be appreciated if you know of any. Thank you
-
We would like to create an application that will display messages in different areas in defined areas of the monitors including large LCDs and keep the dialog size full size for each monitor. From the size of monitor, 17,27,30,42 and so on, change the font size and display areas to meet that size without much changing the overall look of the application output. Is is best to design multiple dialogs within the application to meet the sizes and have the user pick those or can we have one dialog and have the aspect and such change based on size? Any tools would be appreciated if you know of any. Thank you
Designing multiple dialogs,is a bad idea. U can change the size of the dialog and the controls inside them dynamically. For example if u want ur dialog to be displayed in the size of the Desktop..Write the code in the OnInitDialog() as follows. CRect WindowRect; GetDesktopWindow()->GetWindowRect( &WindowRect ); MoveWindow( &WindowRect ); nave
-
Designing multiple dialogs,is a bad idea. U can change the size of the dialog and the controls inside them dynamically. For example if u want ur dialog to be displayed in the size of the Desktop..Write the code in the OnInitDialog() as follows. CRect WindowRect; GetDesktopWindow()->GetWindowRect( &WindowRect ); MoveWindow( &WindowRect ); nave
Designing of multiple dialogs for different monitor size is not a good design. U can use GetSystemMetrics() function to get the screen size. Eg : int nWidth = GetSystemMetrics( SM_CXFULLSCREEN ) ; int nHeight = GetSystemMetrics( SM_CYFULLSCREEN ) ; MoveWindow(0,0,nWidth,nHeight);
-
Designing of multiple dialogs for different monitor size is not a good design. U can use GetSystemMetrics() function to get the screen size. Eg : int nWidth = GetSystemMetrics( SM_CXFULLSCREEN ) ; int nHeight = GetSystemMetrics( SM_CYFULLSCREEN ) ; MoveWindow(0,0,nWidth,nHeight);
Thank you for responding. From here though, I need to change controls within the dialog to fit the new size and their corresponding text. If we move the output from a 19" to lets say a 42" display we want the fonts in the controls to be larger. We are trying to create a message display for our industry and to fit on multiple displays. How and/or tools to also change the size of the control and any font size based on this? thank you