Re: Windows - DEVMODE

new topic     » goto parent     » topic index » view thread      » older message » newer message

Wolf wrote:

> <SNIP>
>
>I'm not sure setting up a DEVMODE structure this way is ideal ?
>The MS docs state that one should use EnumDisplaySettings() to fill in your
>DEVMODE structure completely with *valid* values first, and use this
>structure when calling ChangeDisplaySettings().
>... as it is, you've got a lot of invalid zeroes ( garbage ), in this struc{
>Apparently, looping thru EnumDisplaySetting() by incrementing iModeNum, and
>checking for 24,640,480... will give you the complete structure you need to
>pass (to change), assuming it's a valid mode, without poking...
>
>  
Thanks.
You could be right, but like I said previously, it works when I do it 
this way in C.  I'll try this and see if it helps.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu