Цитата
If you create a button by specifying the BUTTON class with the CreateWindow or CreateWindowEx function, you can specify a combination of the following button styles.
блаблабла
BS_BITMAP
Specifies that the button displays a bitmap.
Цитата
An application sends a BM_SETIMAGE message to associate a new image (icon or bitmap) with the button.
Syntax
To send this message, call the SendMessage function as follows.
lResult = SendMessage( // returns LRESULT in lResult
(HWND) hWndControl, // handle to destination control
(UINT) BM_SETIMAGE, // message ID
(WPARAM) wParam, // = (WPARAM) () wParam;
(LPARAM) lParam // = (LPARAM) () lParam; );
Parameters
wParam Specifies the type of image to associate with the button. This parameter can be one of the following values:
IMAGE_BITMAP
IMAGE_ICON
lParam Handle to the image to associate with the button.
Return Value
The return value is a handle to the image previously associated with the button, if any; otherwise, it is NULL.
Вотъ
Цитата
Бывает TButton, а бывает TBitBtn или TSpeedButton ...
А они случаем не из обычной кнопке получаюцо?