[RESOLVED] Part ID for DrawThemeBackground
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: [RESOLVED] Part ID for DrawThemeBackground

  1. #1
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    [RESOLVED] Part ID for DrawThemeBackground

    Please take a look at the screen shot. What is the part id and state id for the header element (circled in red) when calling DrawThemeBackground()?
    Attached Images Attached Images  

  2. #2
    ovidiucucu's Avatar
    ovidiucucu is offline Moderator/Reviewer Power Poster
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,021

    Re: Part ID for DrawThemeBackground

    Ovidiu Cucu
    "When in Rome, do as Romans do."
    Visit: Microsoft Virtual Academy
    Follow: https://twitter.com/#!/ovidiucucu
    My blog: http://codexpert.ro/blog/author/ovidiu-cucu/

  3. #3
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    Re: Part ID for DrawThemeBackground

    Yes, of course, that's the page I was searching for it, but there are so many of them and I have no clue what 90% of them are. The common sense suggests that if you make a documentation you'd include a small picture of the part those codes refer to...

    So for the best of my knowledge, I tried this pair: HP_HEADERITEM and HIS_NORMAL as well as HP_HEADERITEM with HIS_ICONNORMAL and here's what I got for both of them (see screenshot). That doesn't look anything close to it. So what am I doing wrong here?
    Attached Images Attached Images  

  4. #4
    Join Date
    Feb 2009
    Location
    Portland, OR
    Posts
    1,488

    Re: Part ID for DrawThemeBackground

    A follow-up. I got it solved. My mistake was to call OpenThemeData() for a "Button" instead of a "Header". That documentation needs to be updated as well. It's almost like no one uses Windows APIs anymore...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center