Is there an easy way to do this? I thought for sure the object returned by Desktop() would have a .depth field (and it does have width and height).
Seems I should be able to say:
I know I can use GetGraphicsMode to get info about a specific mode available on the user's system (including depth), but how do I know which index (the first parameter of GetGraphicsMode) is the current one?
Thanks!
Russell
Seems I should be able to say:
dskDesktop:TGadget = Desktop() width = dskDesktop.Width ' Works! height = dskDesktop.Height ' Also works! depth = dskDesktop.Depth ' Oops!
I know I can use GetGraphicsMode to get info about a specific mode available on the user's system (including depth), but how do I know which index (the first parameter of GetGraphicsMode) is the current one?
Thanks!
Russell