Post

 Resources 

Console


RE: Enumertion Jack Hoxley (0 replies, 0 views) (2000-Jul-1)
-
Try something like this: 'This'll output all the resolutions Combo1.additem ddsd2.lWidth & "x" & ddsd2.lHeight,0 'This for the Bit Depths: combo2.additem ddsd2.ddpfpixelformat.lRGBBitcount You'll have to do some clever stuff if you want the user to select a resolution and then see the available bit depths - not complex, just fiddly... 1. User selects resolutions 2. Get index of that resolution (+1 because listindex starts from 0) 3. Get the information on display mode (listindex+1) 4. Output to combo2 the bit depths available.. Or something like that.....


-
Up One Level | Back to Forum


Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.
There have been 213 visitors within the last 20 minutes
RSS News Feed