Menu

Windows - Owner-Drawn Tabs - How to?

2003-01-28
2012-09-26
  • Nobody/Anonymous

    Does anyone knows where to find a good example of how to implement and use Owner-Drawn Tabs using WinAPI?

    All I could find on my googling are VB and MFC examples. English is not my native lenguage so maybe I skip something good.

    I already have the tab working but im having problems dealing with its messages and structures for DRAWITEM, WM_PAINT, etc.

    Thanks in advance.

     
    • Nobody/Anonymous

      As an alternative to making myself insane with this Owner Drawn Tabs: Is there a way to change the color of a normal Tab Control?

      I already suceeded on doing it to all other controls (case WM_CTLCOLORSTATIC, case WM_CTLCOLOREDIT, case WM_CTLCOLORLISTBOX, case WM_CTLCOLORBTN, case WM_CTLCOLORDLG, case WM_CTLCOLORSCROLLBAR).

      But i could find no way to change the Tab Control BG color... Thats why im thinking of a Owner Drawn control :( But please, tell me theres an easier way :)

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.