I would like to start by saying thanks to everyone who takes some time to view this thread and try to help.
I have a bitmap that I load from resource file via
LoadBitmap( ... )
I have also created button with
The bitmap is loaded into button via
SendMessage( ..., BM_SETIMAGE , (WPARAM)IMAGE_BITMAP, ... );
but bitmap's size doesn't correspond to buttons client area.
What should I do to size it properly?
I work in MS Visual Studio Express 2008, on Windows XP, in C++, using WIN32 API.
If any other information is required ( source code or something similar ), please ask for it, I will more than gladly supply it.