CBitmapButton Focus problem.
I am using a CBitmapButton on MFC Dialog based application.
I have set OWNERDRAW property to true and Bitmap- false from Property window.
I am setting the bitmapslike this-
my_Bitmap.LoadBitmap(IDB_BMP1, IDB_BMP2, IDB_BMP3, IDB_BMP4);
But the behavior is very unlikely.
I guess first bitmap is for show, second when button is pushed, third when mouse goues over it and fourth when button is disabled.
Am I write?
Anyways Third bitmap is never working, When I move mouse cursor on the bitmapbutton it should load the focused bitmap, It is not doing anything.
Any suggestions? SHould I use some extra code for this?
|All times are GMT +5.5. The time now is 19:50.|