Welcome to shell: revealed Sign in | Join | Help
in Search

Visual Style Documentation

Last post 08-18-2008, 9:08 AM by steve.thresher. 1 replies.
Sort Posts: Previous Next
  •  08-14-2008, 7:11 PM 8052

    Visual Style Documentation

    Would it be possible to document how the common controls are drawn? (parts, states, borders, margins etc.)  I'm trying to custom draw a header control so I can have multiple lines of text in each item but retain the standard appearance. It's great that functions are provided for retrieving the sizes of the various parts (GetThemeMetrics(), GetThemeMargins(), GetThemeInt() etc.) but they're not that useful if you don't know what sizes to request. The main problem I have is that I don't know how to determine the size of the button when using the HDF_SPLITBUTTON header item flag. Any information you can provide will be gratefully received.
  •  08-18-2008, 9:08 AM 8057 in reply to 8052

    Re: Visual Style Documentation

    DOH!

     I got so focused on the visual styles API's that I completely overlooked the Header_GetItemDropDownRect function.

View as RSS news feed in XML
Powered by Community Server, by Telligent Systems © 2006 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement.