Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: VictorN

Search: Search took 0.05 seconds.

  1. Replies
    10
    Views
    4,372

    Re: Paint on a Tabcontrol

    Did you debug your code?
    What does
    CreateWindow(WC_TABCONTROL,"",
    WS_CHILD|WS_VISIBLE|TCS_OWNERDRAWFIXED,
    6,0,474,320,
    ...
  2. Replies
    10
    Views
    4,372

    Re: Paint on a Tabcontrol

    No, I can't. Only moderators can.
    Try to ask some of them.

    As for an example - try to begin with HOWTO: Change the Background Color of a Tab Control
  3. Replies
    10
    Views
    4,372

    Re: Paint on a Tabcontrol

    I do NOT need to declare this struct. And you do not need it either! The DRAWITEMSTRUCT structure is already declared by Microfoft somether in Win32 SDK headers.

    Why and what do you want to paint...
  4. Replies
    10
    Views
    4,372

    Re: Paint on a Tabcontrol

    Define "won't work"
    BTW, what is the purpose of this code case WM_CREATE:

    // DRAWITEMSTRUCT
    ZeroMemory(&it, sizeof(DRAWITEMSTRUCT));
    it.CtlType = ODT_TAB;
    ...
  5. Replies
    10
    Views
    4,372

    Re: Paint on a Tabcontrol

    What exactly does not work?
    About Owner-Drawn Tabs you could read in MSDN
Results 1 to 5 of 5


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)