Re: CBitmapButton in MFC dialog
- From: "Shahoo" <shahookamangar@xxxxxxxxx>
- Date: 14 Feb 2007 04:47:24 -0800
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?
.
- Follow-Ups:
- Re: CBitmapButton in MFC dialog
- From: Scott McPhillips [MVP]
- Re: CBitmapButton in MFC dialog
- References:
- CBitmapButton in MFC dialog
- From: Shahoo
- Re: CBitmapButton in MFC dialog
- From: Joseph M . Newcomer
- CBitmapButton in MFC dialog
- Prev by Date: serial port communuication
- Next by Date: WaitForSingleObject Question
- Previous by thread: Re: CBitmapButton in MFC dialog
- Next by thread: Re: CBitmapButton in MFC dialog
- Index(es):