http://msdn.microsoft.com/en-us/library/ms997646.aspx
which is helpful, but I need a lot more info about the APIs. For example,
some functions take PartIds, StateIds and PropIds (all 'ints' sadly -
whoever wrote UxTheme.dll doesn't seem to believe in typing). I've actually
done not too badly by guessing at possible values for these, after looking
at the header files vsstyle.h, vssym32.h and tmschema.h. But this trial and
error and guess work is a very slow way to get anywhere. Is any of this
stuff documented anywhere? If so - where?
Incidentally, I am using MFC & Visual C++ 6 (although I have MSDN 2008 and
Visual Studio 2008). I have 2 SDKs on my PC, and can't find any tool for
browsing the documentation for either of them. How does anyone else know
how I'm supposed to do that?
All help, very much appreciated.
Simon
Joseph M. Newcomer [MVP]
email: newc...@flounder.com
Web: http://www.flounder.com
MVP Tips: http://www.flounder.com/mvp_tips.htm
Your question is about the documentation for the "Visual Styles" APIs. I
looked up the MSDN library, and found that the APIs and the definition of
the function parameters are documented at the page
Visual Styles Reference
http://msdn.microsoft.com/en-us/library/bb773178(VS.85).aspx
, and its sub-nodes. Is this what you are looking for?
Take the function GetThemeBackgroundContentRect as an example,
http://msdn.microsoft.com/en-us/library/bb773375(VS.85).aspx
Two of its parameters are
int iPartId,
int iStateId,
According to the doc, iPartId specifies the part that contains the content
area, and iStateId specifies the state. Their values should be within this
table:
Parts and States
http://msdn.microsoft.com/en-us/library/bb773210(VS.85).aspx
Apart from the above documentation that can help us understand the APIs,
Joseph M. Newcomer [MVP]'s approach based on visual trial or test may also
be a good approach to understand the meaning of the parameters.
Last but not least, our newsgroup support service can also serve as a good
resource whenever you need helps for a specific API or parameter. If you
are not sure about any API/param, please feel at ease to post a new thread,
we [MSFT] will help you with all efforts.
Regards,
Jialiang Ge (jia...@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/en-us/subscriptions/aa948868.aspx#notifications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://support.microsoft.com/select/default.aspx?target=assistance&ln=en-us.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
thank you for the links and for the suggestions - both were helpful. I need
to spend time looking at the links to see if it's all there, but it looks
promising. I will probably follow Joseph's suggestion too.
I also found some stuff on the Windows SDK in the same location (or
nearby) - i.e. at
http://msdn.microsoft.com/en-us/library/ms717422.aspx
But this left me still a bit confused. The documentation here seems fairly
minimal. Is there some other stuff somewhere else? In the "Welcome to the
Windows SDK section" (on the this page:
http://msdn.microsoft.com/en-us/library/ms717358.aspx ) it says
>> The documentation contains API reference topics and feature overviews for
>> the programming elements available in Windows. To locate the topics you
>> need, you can use Search, Index, the Table of Contents, or the
>> navigational topics in the documentation viewer. <<
What is the documentation viewer? Where do I find that?
I have MSDN library 2008. Do they mean that? That doesn't seem to have
anything about the SDK except what I can browse on the web.
Simon
""Jialiang Ge [MSFT]"" <jia...@online.microsoft.com> wrote in message
news:Kxud7G1L...@TK2MSFTNGHUB02.phx.gbl...
Yes, you can understand the term "documentation viewer" as MSDN library.
May I ask whether the "Win32 and COM Development" feature was selected when
you installed MSDN Library 2008? On my side, I made sure that the feature
"Win32 and COM Development"/"User Interface" is selected when I installed
MSDN. Then when I open MSDN, Filter by "Platform SDK", and go to "Contents"
tab, I can find "Visual Styles References" in the node:
Win32 and COM Development -> User Interface -> Windows User Experience ->
Windows Shell -> Windows Shell -> Shell Reference -> Visual Styles
Reference.
Simon, please double check the installation option and make sure the
feature is installed. If you need a screen shot, I can send it to you
mailbox.
Regards,
Jialiang Ge (jia...@online.microsoft.com, remove 'online.')
Microsoft Online Community Support
=================================================
Delighting our customers is our #1 priority. We welcome your comments and
suggestions about how we can improve the support we provide to you. Please
feel free to let my manager know what you think of the level of service
provided. You can send feedback directly to my manager at:
msd...@microsoft.com.
This posting is provided "AS IS" with no warranties, and confers no rights.
=================================================
I am writing to check the status of the issue on your side. Are you able to
read the SDK documents in the MSDN library now? If you need further
assistance, feel free to let me know. I will be more than happy to be of
assistance.
Have a very nice day!