how to load bitmap image on button in win32 application
C / C++ / MFC
4
Posts
4
Posters
0
Views
1
Watching
-
.
-
can u just google it first.
Величие не Бога может быть недооценена.
-
if it is a resource dialog, just set the type to bitmap and select the image in the properties window. If it is a coded control you need to pass in the
BS_BITMAP
flag with the flags toCreateWindow
and then send the button a message withBM_SETIMAGE
and a loadedHBITMAP
orHICON
with preferablyPostMessage
otherwiseSendMessage