Re: CBitmapButton in MFC dialog

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



On Feb 14, 3:30 am, Joseph M. Newcomer <newco...@xxxxxxxxxxxx> wrote:
I find the whole mechanism rather strange, and in addition, the buttons don't look like
buttons unless you draw the borders yourself. If you want a button that looks like a
button but has a bitmap, look at my Better Bitmap Button class on my MVP Tips site.
joe
On 13 Feb 2007 14:07:36 -0800, "Shahoo" <shahookaman...@xxxxxxxxx> wrote:

Hi,
I want to use CBitmapButton in MFC dialogs but the AutoLoad function
fails to load the bitmaps.
I have done it accorfing to MSDN.
Can anyone help me with that please. (Examples are better).
Thanks in advance.

Joseph M. Newcomer [MVP]
email: newco...@xxxxxxxxxxxx
Web:http://www.flounder.com
MVP Tips:http://www.flounder.com/mvp_tips.htm

Hi,
I solved it. The problem was with the owner draw property.
But as Joseph mentioned it does not look like a button.
And one more thing: does buttons in MFC have a mouse over action?

.


Quantcast