Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: please Help me with this program Pin
Ravi Bhavnani20-Mar-04 6:22
professionalRavi Bhavnani20-Mar-04 6:22 
GeneralHelp needed on ATL control Pin
ben217-Mar-04 6:18
ben217-Mar-04 6:18 
GeneralConverting a CString to CInt Pin
Blue Pyre17-Mar-04 6:15
Blue Pyre17-Mar-04 6:15 
GeneralRe: Converting a CString to CInt Pin
Joe Woodbury17-Mar-04 6:30
professionalJoe Woodbury17-Mar-04 6:30 
GeneralRe: Converting a CString to CInt Pin
Antti Keskinen17-Mar-04 6:37
Antti Keskinen17-Mar-04 6:37 
GeneralRe: Converting a CString to CInt Pin
HAHAHA_NEXT17-Mar-04 6:52
HAHAHA_NEXT17-Mar-04 6:52 
GeneralRe: Converting a CString to CInt Pin
Blue Pyre17-Mar-04 10:52
Blue Pyre17-Mar-04 10:52 
GeneralRe: Converting a CString to CInt Pin
MeterMan17-Mar-04 10:58
MeterMan17-Mar-04 10:58 
atoi(outcome); // this would convert the string to an int.
in my programs i have used something like this for edit boxes.

CString ticket1conversion;
ticket1conversion.Format("%d",m_ticket1);//converts the int to a string
m_ticketcontrol.GetWindowText(ticket1conversion); // gets the value
// from edit box
int TicketHolder=0;
TicketHolder1 = atoi(ticket1conversion);

if (TicketHolder1==1)
{
...
}

Hope this helps. Some of the steps might not be needed but this is what works for me.



Win32newb
"Making windows programs worse than they already are"
GeneralRe: Converting a CString to CInt Pin
Blue Pyre17-Mar-04 11:38
Blue Pyre17-Mar-04 11:38 
GeneralRe: Converting a CString to CInt Pin
Prakash Nadar17-Mar-04 14:55
Prakash Nadar17-Mar-04 14:55 
GeneralRe: Converting a CString to CInt Pin
MeterMan17-Mar-04 14:57
MeterMan17-Mar-04 14:57 
GeneralC++ .NET Forms Shutdown application Pin
Neoankt17-Mar-04 6:09
Neoankt17-Mar-04 6:09 
GeneralRe: C++ .NET Forms Shutdown application Pin
Antti Keskinen17-Mar-04 7:05
Antti Keskinen17-Mar-04 7:05 
GeneralNeed a Good COM Tutorial !!! Pin
HAHAHA_NEXT17-Mar-04 6:06
HAHAHA_NEXT17-Mar-04 6:06 
GeneralSecondary display dimension winxp Pin
Bernardo Faria17-Mar-04 6:04
sussBernardo Faria17-Mar-04 6:04 
GeneralSend F5 or left arrow message Pin
Tomaz Rotovnik17-Mar-04 5:33
Tomaz Rotovnik17-Mar-04 5:33 
GeneralRe: Send F5 or left arrow message Pin
gUrM33T17-Mar-04 14:50
gUrM33T17-Mar-04 14:50 
GeneralRe: Send F5 or left arrow message Pin
Tomaz Rotovnik18-Mar-04 7:25
Tomaz Rotovnik18-Mar-04 7:25 
GeneralHelp With Control Focus Pin
Jack Reed17-Mar-04 4:44
Jack Reed17-Mar-04 4:44 
GeneralRe: Help With Control Focus Pin
David Crow17-Mar-04 4:53
David Crow17-Mar-04 4:53 
GeneralRe: Help With Control Focus Pin
Jack Reed19-Mar-04 9:38
Jack Reed19-Mar-04 9:38 
Questionwhat does "rhs" mean? Pin
Bash17-Mar-04 4:23
Bash17-Mar-04 4:23 
AnswerRe: what does "rhs" mean? Pin
TFrancis17-Mar-04 4:27
TFrancis17-Mar-04 4:27 
AnswerRe: what does "rhs" mean? Pin
hph17-Mar-04 4:28
hph17-Mar-04 4:28 
GeneralIncluding project files from library Pin
Cedric Moonen17-Mar-04 4:19
Cedric Moonen17-Mar-04 4:19 

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.