MSDN tells us that vista and win 7 have an additional member in NONCLIENTMETRICS
what they don't tell us is whether or not the old size structure will work in newer OS's
here's what i get with XP MCE 2005 SP3...
OS Version: 5.1.2600 Service Pack 3
Structure Size: 340 SPI Status: 00000001
Structure Size: 344 SPI Status: 00000000
i am interested to see what it does under vista and win 7
anyone ????? (bump)
windows is mostly backwards compatible - for me it works :P
it returns nonzero for both sizes ???
what OS ?
could you copy/paste, please
Win7, x86-64
Quote---------------------------
NONCLIENTMETRICS Structure Size Test
---------------------------
OS Version: 6.1.7601 Service Pack 1
Structure Size: 340 SPI Status: 00000001
Structure Size: 344 SPI Status: 00000001
(Use Ctrl-Insert to Copy to ClipBoard)
---------------------------
OK
---------------------------
thanks :U
Here ya be Dave. Vista Home Premium.
---------------------------
NONCLIENTMETRICS Structure Size Test
---------------------------
OS Version: 6.0.6002 Service Pack 2
Structure Size: 340 SPI Status: 00000001
Structure Size: 344 SPI Status: 00000001
(Use Ctrl-Insert to Copy to ClipBoard)
---------------------------
OK
---------------------------
thanks, Bill
now that i think about it, it was a stupid question :lol
of course, it will work !!!!! (DOH!)
Glad to buddy, regardless if it works or not I always enjoy reading the code of others. To an asm loving geek like me its better reading then a good book. :bg
hope you found something interesting, Bill :bg