Quote:
Originally posted by Unregistered
Thanks Fordy, that works.
If I may, a couple more questions.
Is this now an unsupported API, or did MS just forget to define these items for VC 6?
No they are supported...its just that they werent published in the SDK that comes with VC++6......they were included in User32.dll for versions Win98 onwards......so you can use them for those platforms...
Quote:
Originally posted by Unregistered
When I run that example on my system, the cbSize field is 3435973836. MSDN says this value is the size, in bytes, of the structure. Surely this isn't the actual size?
Thanks again.
Ah...good point!....you should set the cbSize to sizeof(WINDOWINFO) before calling the function.......I forgot to warn you...