Click here to Skip to main content
15,913,854 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Sockets question Pin
joegood1-Jun-04 6:57
joegood1-Jun-04 6:57 
QuestionHow to a get a coloured button Pin
Deepak Samuel16-Dec-03 11:52
Deepak Samuel16-Dec-03 11:52 
AnswerRe: How to a get a coloured button Pin
Bob Stanneveld16-Dec-03 21:03
Bob Stanneveld16-Dec-03 21:03 
AnswerRe: How to a get a coloured button Pin
satadru16-Dec-03 21:14
satadru16-Dec-03 21:14 
General'string' to 'enum' conversion. Pin
WREY16-Dec-03 10:49
WREY16-Dec-03 10:49 
GeneralRe: 'string' to 'enum' conversion. Pin
BaldwinMartin16-Dec-03 11:16
BaldwinMartin16-Dec-03 11:16 
GeneralRe: 'string' to 'enum' conversion. Pin
Michael Dunn16-Dec-03 11:43
sitebuilderMichael Dunn16-Dec-03 11:43 
GeneralRe: 'string' to 'enum' conversion. Pin
WREY16-Dec-03 12:54
WREY16-Dec-03 12:54 
Thanks for replying.

I decided to use an array of the values, and check what the user entered against the values in the array, then use the relative address of the value in the array (if there was a match) and equate that with the relative value of the 'enum' variable. (Almost the same thing you were suggesting.)

Wink | ;)

William

Fortes in fide et opere!
GeneralRe: 'string' to 'enum' conversion. Pin
Robert A. T. Káldy18-Dec-03 3:20
Robert A. T. Káldy18-Dec-03 3:20 
GeneralHeap Hell Pin
Matthew Busche16-Dec-03 10:06
Matthew Busche16-Dec-03 10:06 
GeneralRe: Heap Hell Pin
Michael Dunn16-Dec-03 10:13
sitebuilderMichael Dunn16-Dec-03 10:13 
GeneralRe: Heap Hell Pin
forjer16-Dec-03 11:11
forjer16-Dec-03 11:11 
GeneralEMail Logic Question Pin
BaldwinMartin16-Dec-03 9:11
BaldwinMartin16-Dec-03 9:11 
GeneralRe: EMail Logic Question Pin
Alexander M.,16-Dec-03 9:17
Alexander M.,16-Dec-03 9:17 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 9:23
BaldwinMartin16-Dec-03 9:23 
GeneralRe: EMail Logic Question Pin
Garth J Lancaster16-Dec-03 10:21
professionalGarth J Lancaster16-Dec-03 10:21 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 10:35
BaldwinMartin16-Dec-03 10:35 
GeneralRe: EMail Logic Question Pin
Garth J Lancaster16-Dec-03 11:02
professionalGarth J Lancaster16-Dec-03 11:02 
GeneralRe: EMail Logic Question Pin
BaldwinMartin16-Dec-03 11:14
BaldwinMartin16-Dec-03 11:14 
GeneralRe: EMail Logic Question (other option, the best) Pin
Tim Smith16-Dec-03 12:08
Tim Smith16-Dec-03 12:08 
GeneralRe: EMail Logic Question Pin
Ravi Bhavnani16-Dec-03 18:34
professionalRavi Bhavnani16-Dec-03 18:34 
GeneralSys Info Pin
Chechi16-Dec-03 8:17
Chechi16-Dec-03 8:17 
GeneralRe: Sys Info Pin
Alexander M.,16-Dec-03 8:53
Alexander M.,16-Dec-03 8:53 
GeneralRe: Sys Info Pin
BaldwinMartin16-Dec-03 10:57
BaldwinMartin16-Dec-03 10:57 
GeneralRe: Sys Info Pin
Tom Wright16-Dec-03 17:59
Tom Wright16-Dec-03 17:59 

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.