Skocz do zawartości

Recommended Posts

Napisano

Jak wyswietlić ioknę i tekst w przycisku?
Próbowałem tak, ale nie działa:

hb = CreateWindowEx (0, "BUTTON", "Tekst", WS_CHILD | WS_VISIBLE | BS_ICON | BS_TEXT , 100, 100, 200, 52, hwndMain, (HMENU)100, hInstance, 0);
SendMessage (hb, BM_SETIMAGE, (WPARAM) IMAGE_ICON, (LPARAM) LoadIcon (hInstance, MAKEINTRESOURCE (IDI_ICON1)));

Wyœwietla samš ikonę.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gość
Odpowiedz...

×   Wkleiłeś zawartość bez formatowania.   Usuń formatowanie

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Utwórz nowe...