How to resize application acoording to system resolution set?
-
Hello all, I have developed one dialog based application. How to resize this application according to resolution set by the user for the system. The application contains seven propertysheets in wizard mode. Regards, Aj.
To get the resolution CRect rcWindow; GetDesktopWindow()->GetWindowRect( &rcWindow );
Regard's Dhana
-
To get the resolution CRect rcWindow; GetDesktopWindow()->GetWindowRect( &rcWindow );
Regard's Dhana
-
mails2dhana wrote:
GetDesktopWindow()->GetWindowRect( &rcWindow );
this will return only the dektop window. u have to move ur window after this CRect rcWindow; GetDesktopWindow()->GetWindowRect( &rcWindow ); Movewindow( &rcWindow );
nave
or
SetWindowPos
:)_**
**_
WhiteSky
-
Hello all, I have developed one dialog based application. How to resize this application according to resolution set by the user for the system. The application contains seven propertysheets in wizard mode. Regards, Aj.
check these articles... http://www.codeproject.com/dialog/easysize.asp[^] http://www.codeproject.com/dialog/resizabledialog.asp[^] you may get the solution... good luck..:)
with regards, Naren Neelamegam