Page 1 of 1

Is there a way to change screen resolution / Pocket PC

Posted: Tue Jul 19, 2005 9:23 pm
by hardmard
The wxDisplay class provides this functionality, but when the I compile the library using eVC 4.0 (with proper #define DISPLAY set to 1) it shows the error connected to lack of multimon.h file. [when I compile the library with VC++2003 for desktop windows everything works fine]
When I try download this file from VC7.1 SDK or DX SDK more errors appear.
Which multimon.h should be used when compiling the library for pocket PCs ?

Re: Is there a way to change screen resolution / Pocket PC

Posted: Wed Jul 20, 2005 5:51 am
by ABX
hardmard wrote:The wxDisplay class provides this functionality, but when the I compile the library using eVC 4.0 (with proper #define DISPLAY set to 1) it shows the error connected to lack of multimon.h file. [when I compile the library with VC++2003 for desktop windows everything works fine]
When I try download this file from VC7.1 SDK or DX SDK more errors appear.
Which multimon.h should be used when compiling the library for pocket PCs ?
I do not think that's supported by wxWinCE port. If there is appropriate API available in WinCE then perhaps you could help us complete wxWinCE port in this area.

ABX

Re: Is there a way to change screen resolution / Pocket PC

Posted: Wed Jul 20, 2005 6:49 am
by upCASE
ABX wrote: I do not think that's supported by wxWinCE port. If there is appropriate API available in WinCE then perhaps you could help us complete wxWinCE port in this area.
True, it's not supported. You can however use ChangeDisplaySettingsEx() for some of the functionality.
Hmm... Maybe it's time again to create a patch :D

Posted: Wed Jul 20, 2005 7:59 pm
by hardmard
Well, it looks like I'll have to use the native Windows function instead.
Thanks for Your help.

ABX -> unfortunately I don't have the deep knowledge of the inner structure of wxW library and so I don't find it a good idea to develop it myself... If everyone would post changes, we'd have a mess instead of the library :/

Re: Is there a way to change screen resolution / Pocket PC

Posted: Sat Jul 23, 2005 8:53 pm
by hardmard
upCASE wrote: True, it's not supported. You can however use ChangeDisplaySettingsEx() for some of the functionality.
I've tried to use this function in Windows 32 port. When I exit my application, it hangs in the 60th line of file oleutils.h :
::OleUninitialize();
Does anyone know what's going on ? Using one WinAPI function makes my application unstoppable :shock: