Making Desktop application flexible to monitor resolution
-
Hi all, My application looks cool in 1280 by 1024 pixels.. but when i change the pixels(monitor resolution) to 1024 by 768 , layout is getting changed. my toolbar is disturbed and am not getting the whole tool bar present the window.. does any one know how to make a desktop application flexible?? for eg., ms word, excel are all flexible ones...right? like that i want my application to be flexible.. Thanks rakesh.
-
Hi all, My application looks cool in 1280 by 1024 pixels.. but when i change the pixels(monitor resolution) to 1024 by 768 , layout is getting changed. my toolbar is disturbed and am not getting the whole tool bar present the window.. does any one know how to make a desktop application flexible?? for eg., ms word, excel are all flexible ones...right? like that i want my application to be flexible.. Thanks rakesh.
As I know there is no automation from the MFC side here... :) So you could check it explicitly, for example - by sizing of the frame - like this:
if (pcBar->IsThereNoSpace()) {
pcBar->ReDock();
} -
As I know there is no automation from the MFC side here... :) So you could check it explicitly, for example - by sizing of the frame - like this:
if (pcBar->IsThereNoSpace()) {
pcBar->ReDock();
} -
Hello sir, Are IsThereNoSpace() and ReDock() MFC Functions??? If not, can u please tell me the definition of the functions?? thanks, rakesh.
Hello Rakesh, no, sorry, there are function GetWindowRect(..) and nember functions of your ToolBar class only... :) Do you use CMFCToolBar in your application ? Eugen
-
Hi all, My application looks cool in 1280 by 1024 pixels.. but when i change the pixels(monitor resolution) to 1024 by 768 , layout is getting changed. my toolbar is disturbed and am not getting the whole tool bar present the window.. does any one know how to make a desktop application flexible?? for eg., ms word, excel are all flexible ones...right? like that i want my application to be flexible.. Thanks rakesh.
These sites might be of some use : Writing High-DPI Win32 Applications[^] Tutorial: Writing High-DPI Win32 Applications[^]