|
-
May 13th, 1999, 10:47 PM
#1
Imp: How can I make an array of CButton Control?
I am making a calculator. I want to implement it like this:
I have 10 buttons from (0-9). When I press one of the button, the caption of the button is considered as the number selected. So I want to make an array of these buttons and hence the index number tell me also the selected number! I have already done this in VB.
How can I make an array of the control in MFC?
I can define it as:
CButton M_Button_Number[10];
but what about the resource ID of the buttons? Will they be same, or different?
please help!
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
|