-
CBitmapButton
I am using bitmapbutton on a touch screen.
Created two bitmaps for, raised and sunken for Up and Down.
The problem is the sunken effect sometimes is not visible. So when the use
touch the button, the button most of the time doesn;t apper as sunken!
I added the same sunken buttton as "focus", this time the sunken effect is visible,
but then the button remain as focused after touched!
Any idea how to tackle this???
-
Hi mce,
Have you tried calling CBitmapButton::Invalidate() on the BN_* handlers. I had to use this technique on a CEdit when changing between display modes.
Jeff
-
How do you assign bitmaps (code)?
Why not to use regular button with BS_BITMAP style and simply call SetBitmap member of the CButton class?
-
SetBitmap doesn't work on embedded VC++.....
Tried the invalidate as well.. not much difference..