Click here to Skip to main content
15,902,802 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Date Time Picker Pin
sandem22-Jun-06 3:38
sandem22-Jun-06 3:38 
AnswerRe: Date Time Picker Pin
ensger21-Jun-06 9:21
ensger21-Jun-06 9:21 
GeneralRe: Date Time Picker Pin
sandem22-Jun-06 3:44
sandem22-Jun-06 3:44 
GeneralRe: Date Time Picker [modified] Pin
ensger22-Jun-06 8:54
ensger22-Jun-06 8:54 
QuestionStupid CBitmapButton question regarding resource editor. Pin
Maximilien20-Jun-06 8:12
Maximilien20-Jun-06 8:12 
AnswerRe: Stupid CBitmapButton question regarding resource editor. Pin
led mike20-Jun-06 8:53
led mike20-Jun-06 8:53 
QuestionRe: Stupid CBitmapButton question regarding resource editor. Pin
David Crow20-Jun-06 9:32
David Crow20-Jun-06 9:32 
AnswerRe: Stupid CBitmapButton question regarding resource editor. Pin
Maximilien20-Jun-06 10:11
Maximilien20-Jun-06 10:11 
yes and no, I know ( I think ) how to use the resource editor.

My problem now, is only (mostly) with CBitmapButton.

In MSDN, on the CBitmapButton page there is :

To include a bitmap-button control in a dialog box

1. Create one to four bitmap images for the button.
2. Create a dialog template with an owner-draw button positioned where you want the bitmap button. The size of the button in the template does not matter.


Yeah, cool, but heck the position and size are in DLUs not in pixel. I can only approximatly position and size the buttons in resource editor.

for example, I have a series of CBitmapButton buttons with bitmaps that are 40x40 pixels. How can I adjust the positions of each buttons ?

Or, for example, if I have a simple CButton with the BS_ICON or BS_BITMAP flag enable, I'd like to be able to see the bitmap in the button when designing the dialog.

I don't know if you understand what I'm trying to do ? or achieve ?

I know that the CBitmapButton does not seems to be fully supported, not the in palette of controls in the resource editor; and I can live with the fact that I need to do things manually.

My things are working, but it just seem like I'm doing too much; maybe it's the fact of life when doing UI that is not 100% window lookalike.

Thanks

Max.



Maximilien Lincourt
Your Head A Splode - Strong Bad
GeneralRe: Stupid CBitmapButton question regarding resource editor. Pin
David Crow20-Jun-06 10:27
David Crow20-Jun-06 10:27 
QuestionKNOX Forum Pin
knoxplusplus20-Jun-06 7:37
knoxplusplus20-Jun-06 7:37 
AnswerRe: KNOX Forum Pin
David Crow20-Jun-06 7:41
David Crow20-Jun-06 7:41 
AnswerRe: KNOX Forum Pin
toxcct20-Jun-06 21:36
toxcct20-Jun-06 21:36 
QuestionIssues with pointers [modified] Pin
capricious_00120-Jun-06 6:46
capricious_00120-Jun-06 6:46 
AnswerRe: Issues with pointers Pin
Justin Tay20-Jun-06 7:11
Justin Tay20-Jun-06 7:11 
AnswerRe: Issues with pointers Pin
David Crow20-Jun-06 7:38
David Crow20-Jun-06 7:38 
GeneralRe: Issues with pointers [modified] Pin
capricious_00120-Jun-06 8:11
capricious_00120-Jun-06 8:11 
GeneralRe: Issues with pointers Pin
Justin Tay20-Jun-06 8:36
Justin Tay20-Jun-06 8:36 
GeneralRe: Issues with pointers Pin
capricious_00120-Jun-06 15:32
capricious_00120-Jun-06 15:32 
QuestionFTP server communication i n C++ Pin
LCI20-Jun-06 6:46
LCI20-Jun-06 6:46 
AnswerRe: FTP server communication i n C++ Pin
valikac20-Jun-06 8:20
valikac20-Jun-06 8:20 
GeneralRe: FTP server communication i n C++ Pin
LCI20-Jun-06 8:30
LCI20-Jun-06 8:30 
AnswerRe: FTP server communication i n C++ Pin
led mike20-Jun-06 9:38
led mike20-Jun-06 9:38 
GeneralRe: FTP server communication i n C++ Pin
LCI20-Jun-06 10:58
LCI20-Jun-06 10:58 
GeneralRe: FTP server communication i n C++ Pin
led mike20-Jun-06 11:55
led mike20-Jun-06 11:55 
GeneralRe: FTP server communication i n C++ Pin
LCI21-Jun-06 3:32
LCI21-Jun-06 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.