Skip to content

Tab Control example delete button broken #2

@seancwall

Description

@seancwall

I noticed when working through the tab control example that the message you send to the tab control to delete the selected tab is incorrect. You currently have:

SendMessageW(hTab, TCM_DELETEITEM, 0, id);

and it should be:

SendMessageW(hTab, TCM_DELETEITEM, id, 0);

The text correctly says that the tab id should be passed in the wParam.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions