|
-
July 20th, 2004, 05:32 AM
#1
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???
-
July 20th, 2004, 04:21 PM
#2
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
-
July 21st, 2004, 04:19 PM
#3
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?
There are only 10 types of people in the world:
Those who understand binary and those who do not.
-
July 21st, 2004, 10:02 PM
#4
SetBitmap doesn't work on embedded VC++.....
Tried the invalidate as well.. not much difference..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|