Archived

This topic is now archived and is closed to further replies.

jharkey

owner drawn buttons & ODS_HOTLIGHT

Recommended Posts

hello, this is probably a stupid question, but whenever i try to check the ODS_HOTLIGHT bit in the draw item struct, it says ODS_HOTLIGHT is an undeclared identifier. in the msdn docs, it says that it is defined in windows.h, which i obviously included, or nothing would work. could someone please help me, do i have to update the header files or something. i have VC++ 6 professional edition, and have Windows ME.

Share this post


Link to post
Share on other sites
NOTE: If you define _WIN32_WINNT as above your app won''t run on win95 (AFAIK)

If the compiler keeps saying that ODS_HOTLIGHT is undeclared you should d''load the newest win32 headers in the Platform SDK (headers+libs == 23MB).

btw. ODS_HOTLIGHT is defined in winuser.h wich is included by windows.h

Share this post


Link to post
Share on other sites
thanks richardve,

i downloaded the new headers and libs, and finally got the compiler to recognize the HOTLIGHT. but it still wont work. i check the system to see if hot tracking is enabled, and if it isnt, i turn it on. but it still doesnt work. please help.

Share this post


Link to post
Share on other sites