Hi,
I want to display on my dialog, a bitmap button. I am using the below code
CImage image;
hr = image.Load(_T("myimage.png")); // just change extension to load jpg
bitmap.Attach(image.Detach());
m_button.ModifyStyle(0,BS_BITMAP);
m_button.SetBitmap(bitmap);
This way bitmap is correctly displayed on button, but the button is not displayed in 3D style as normal buttons would look. I have set owner drawn property to false, still it displaying like this. Any ideas as to what could be wrong?
Thanks, Rohit