Where are Windows theme constants defined?
I'm looking through the Microsoft MFC source file winctrl3.cpp and I see references to 3 symbols CBS_UNCHECKEDNORMAL
, CBS_CHECKEDNORMAL
, and CBS_UNCHECKEDDISABLED
for drawing the check state of a checkbox. I'd like to know what the other choices are so I go 开发者_StackOverflowsearching the source files included with Visual Studio but I'm coming up empty, the single occurrence in winctrl3.cpp is the only one found.
I finally found an online Microsoft reference which tells me the values should be defined in Vsstyle.h
and/or Vssym32.h
, but I can't find those files in my Visual Studio 2005 installation or anywhere else on my system. What am I missing?
It's installed as part of the Windows SDK on my system (version 7, in my particular case). It may be that you need to perform a full SDK install to get that particular file or it may be a fairly recent addition to the SDK (i.e., more recent than the SDK included with Visual Studio 2005).
精彩评论