bitmap on button
-
hi, i need to place a bitmap on button along with the text on the button. i tried using CBitmapButton but don't get the text or rather the caption of the button. any suggestions???
-
hi, i need to place a bitmap on button along with the text on the button. i tried using CBitmapButton but don't get the text or rather the caption of the button. any suggestions???
I think you can only do that on toolbar control buttons, not on standard buttons. You can make the text part of the bitmap though :) May be a problem for a multi-language app though.
-
I think you can only do that on toolbar control buttons, not on standard buttons. You can make the text part of the bitmap though :) May be a problem for a multi-language app though.
isn't there a way to keep the caption of the button same and getting the bitmap in one corner of the button?
-
isn't there a way to keep the caption of the button same and getting the bitmap in one corner of the button?
Can you derived CButton and use of
WM_DRAWITEM
?
WhiteSky
-
hi, i need to place a bitmap on button along with the text on the button. i tried using CBitmapButton but don't get the text or rather the caption of the button. any suggestions???
This is right approch to go with CBitmapButton. use LoadBitmaps after create cBitmapButton Please give code how u r doing this Subhash jain(Sundyne Technologies Pvt. Ltd. Lower Parel Mumabi)
-
This is right approch to go with CBitmapButton. use LoadBitmaps after create cBitmapButton Please give code how u r doing this Subhash jain(Sundyne Technologies Pvt. Ltd. Lower Parel Mumabi)
why do you need LoadBitmap after CBitmapButton?
-
isn't there a way to keep the caption of the button same and getting the bitmap in one corner of the button?
Sunshine Always wrote:
isn't there a way to keep the caption of the button same and getting the bitmap in one corner of the button?
I agree with WhiteSky. You'd have to draw it yourself.
-
This is right approch to go with CBitmapButton. use LoadBitmaps after create cBitmapButton Please give code how u r doing this Subhash jain(Sundyne Technologies Pvt. Ltd. Lower Parel Mumabi)
Can you more explain
WhiteSky
-
hi, i need to place a bitmap on button along with the text on the button. i tried using CBitmapButton but don't get the text or rather the caption of the button. any suggestions???