Click here to Skip to main content
15,914,419 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Dialog Boxes in Classes Pin
John R. Shaw19-Jul-03 9:26
John R. Shaw19-Jul-03 9:26 
GeneralRe: Dialog Boxes in Classes Pin
Bob Stanneveld20-Jul-03 7:21
Bob Stanneveld20-Jul-03 7:21 
GeneralArrays of buttons on a dialogue box Pin
Trollslayer19-Jul-03 6:28
mentorTrollslayer19-Jul-03 6:28 
GeneralFound an article that does it Pin
Trollslayer19-Jul-03 6:41
mentorTrollslayer19-Jul-03 6:41 
GeneralRe: Arrays of buttons on a dialogue box Pin
Ryan Binns19-Jul-03 20:03
Ryan Binns19-Jul-03 20:03 
GeneralRe: Arrays of buttons on a dialogue box Pin
Trollslayer19-Jul-03 23:35
mentorTrollslayer19-Jul-03 23:35 
GeneralRe: Arrays of buttons on a dialogue box Pin
Ryan Binns20-Jul-03 4:51
Ryan Binns20-Jul-03 4:51 
GeneralRe: Arrays of buttons on a dialogue box Pin
Terry O'Nolley20-Jul-03 16:41
Terry O'Nolley20-Jul-03 16:41 
I had a similar task but it concerned checkboxes - LOTS of checkboxes.

What I did was to edit my resource.h and make sure that all of my checkboxes had sequential ID's.

I then #define'ed CHECKBOX_START as the resource ID for the first checkbox and CHECKBOX_END for the resource ID of the last checkbox.

I then built an array of structures that held the data associated with the checkboxes.

I could then loop through and get the check states with

<br />
for(x= CHECKBOX_START, x <= CHECKBOX_END, x++)<br />
{<br />
   SendDlgItemMessage(x, blah, blah, blah<br />
}<br />




I'm going to live forever or die trying!

Generalrun an executable located in a memory buffer Pin
Beer2619-Jul-03 5:27
Beer2619-Jul-03 5:27 
GeneralRe: run an executable located in a memory buffer Pin
Mike Nordell19-Jul-03 6:15
Mike Nordell19-Jul-03 6:15 
GeneralRe: run an executable located in a memory buffer Pin
John M. Drescher19-Jul-03 7:44
John M. Drescher19-Jul-03 7:44 
GeneralRe: run an executable located in a memory buffer Pin
Beer2619-Jul-03 7:45
Beer2619-Jul-03 7:45 
GeneralRe: run an executable located in a memory buffer Pin
Mike Nordell19-Jul-03 8:08
Mike Nordell19-Jul-03 8:08 
GeneralRe: run an executable located in a memory buffer Pin
Beer2619-Jul-03 7:44
Beer2619-Jul-03 7:44 
GeneralRe: run an executable located in a memory buffer Pin
Mike Nordell19-Jul-03 8:22
Mike Nordell19-Jul-03 8:22 
GeneralYou cannot insult people!!! Pin
Toni7819-Jul-03 10:42
Toni7819-Jul-03 10:42 
GeneralRe: You cannot insult people!!! Pin
Beer2619-Jul-03 10:54
Beer2619-Jul-03 10:54 
GeneralRe: You cannot insult people!!! Pin
Toni7819-Jul-03 11:02
Toni7819-Jul-03 11:02 
GeneralRe: You cannot insult people!!! Pin
Ryan Binns19-Jul-03 20:12
Ryan Binns19-Jul-03 20:12 
GeneralRe: You cannot insult people!!! Pin
Toni7820-Jul-03 13:42
Toni7820-Jul-03 13:42 
GeneralRe: run an executable located in a memory buffer Pin
cmk19-Jul-03 7:37
cmk19-Jul-03 7:37 
GeneralRe: run an executable located in a memory buffer Pin
Beer2619-Jul-03 9:11
Beer2619-Jul-03 9:11 
GeneralRe: run an executable located in a memory buffer Pin
Beer2619-Jul-03 10:13
Beer2619-Jul-03 10:13 
GeneralRe: run an executable located in a memory buffer Pin
Ryan Binns19-Jul-03 20:14
Ryan Binns19-Jul-03 20:14 
GeneralRe: run an executable located in a memory buffer Pin
Terry O'Nolley20-Jul-03 16:51
Terry O'Nolley20-Jul-03 16:51 

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.