triumphost 120 Posting Whiz

I have a button created as follows:

    HWND License; HBITMAP MainButtons;


    Case WM_CREATE:
        License = CreateWindowEx(WS_EX_TRANSPARENT, L"Button", L"License", BS_PUSHBUTTON | WS_CHILD | WS_VISIBLE | WS_TABSTOP | BS_BITMAP, 26, 77, 75, 23, hwnd, (HMENU)ID_LICENSE, hInst, 0);

        MainButtons = (HBITMAP)LoadImage(GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_MAINBUTTONS), IMAGE_BITMAP, 0, 0, LR_SHARED);

        SendMessage(License, BM_SETIMAGE, IMAGE_BITMAP, (LPARAM)MainButtons); 
    break;

But my button looks like: http://i.imgur.com/TkjiQ.png

The text disappeared, the WinXP button somehow got painted too! I need the button to look like: http://i.imgur.com/B2pEo.png

I cannot figure out what I'm doing wrong at all.. I've followed all the tutorials and that is how they say to set the image/icon/background.. I do not want my text on the button to disappear. ={

What am I doing wrong?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.