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

C / C++ / MFC

 
GeneralRe: problem with Edit Box Pin
basementman28-Jul-04 10:46
basementman28-Jul-04 10:46 
GeneralOwner drawn windows Pin
Archer28227-Jul-04 19:32
Archer28227-Jul-04 19:32 
QuestionFree Lib to create PDF documents? Pin
Erik27-Jul-04 18:57
Erik27-Jul-04 18:57 
AnswerRe: Free Lib to create PDF documents? Pin
francisquet27-Jul-04 21:58
francisquet27-Jul-04 21:58 
GeneralButton to List Pin
arunforce27-Jul-04 15:32
arunforce27-Jul-04 15:32 
GeneralRe: Button to List Pin
V.27-Jul-04 23:42
professionalV.27-Jul-04 23:42 
GeneralRe: Button to List Pin
arunforce28-Jul-04 4:19
arunforce28-Jul-04 4:19 
GeneralRe: Button to List Pin
V.28-Jul-04 5:18
professionalV.28-Jul-04 5:18 
arunforce wrote:
What did you mean make nice ans fluffy string?

Nothing actually, crazy developers like myself often set crazy comment to try and be funny.

ok, CString output is declared LOCAL in your case. Put it in your .h file or somewhere on top of your .cpp file. (but under the include part)
"listbox" is an unknown Object (or variable) in your case.
go to the resources, right click your list box and choose "add member variable". Name it and use this name instead of "listbox"

output = "You have \"" + str + "\"dollars in your account."
make it:
output = "You have " + str + " dollars in your account.";
then you don't have the " in your text.

try this and you'll get less errors.
btw: I explained it taken in account you have Visual Studio. If you don't, you have to create your listbox manually. =>( http://msdn.microsoft.com[^] search on CListBox)

"If I don't see you in this world, I'll see you in the next one... and don't be late." ~ Jimi Hendrix
Questionhow to Launch IE with ShellExecute? Pin
Dody_DK27-Jul-04 14:27
Dody_DK27-Jul-04 14:27 
AnswerRe: how to Launch IE with ShellExecute? Pin
Ivan Cachicatari27-Jul-04 15:30
Ivan Cachicatari27-Jul-04 15:30 
AnswerRe: how to Launch IE with ShellExecute? Pin
Ryan Binns27-Jul-04 18:39
Ryan Binns27-Jul-04 18:39 
AnswerRe: how to Launch IE with ShellExecute? Pin
Archer28227-Jul-04 19:26
Archer28227-Jul-04 19:26 
GeneralRe: how to Launch IE with ShellExecute? Pin
Dody_DK28-Jul-04 0:30
Dody_DK28-Jul-04 0:30 
GeneralRe: how to Launch IE with ShellExecute? Pin
Ravi Bhavnani28-Jul-04 13:54
professionalRavi Bhavnani28-Jul-04 13:54 
QuestionHow to change combo styles in runtime Pin
Ivan Cachicatari27-Jul-04 10:57
Ivan Cachicatari27-Jul-04 10:57 
AnswerRe: How to change combo styles in runtime Pin
David Crow28-Jul-04 4:00
David Crow28-Jul-04 4:00 
GeneralA couple of questions... Pin
0v3rloader27-Jul-04 10:07
0v3rloader27-Jul-04 10:07 
GeneralRe: A couple of questions... Pin
Ryan Binns27-Jul-04 18:49
Ryan Binns27-Jul-04 18:49 
GeneralRe: A couple of questions... Pin
0v3rloader28-Jul-04 0:50
0v3rloader28-Jul-04 0:50 
GeneralRe: A couple of questions... Pin
Tomasz Sowinski28-Jul-04 1:00
Tomasz Sowinski28-Jul-04 1:00 
Questionhow make make an image with system colors? Pin
Kamis27-Jul-04 8:37
Kamis27-Jul-04 8:37 
AnswerRe: how make make an image with system colors? Pin
Ryan Binns27-Jul-04 19:07
Ryan Binns27-Jul-04 19:07 
GeneralRe: how make make an image with system colors? Pin
Kamis27-Jul-04 23:18
Kamis27-Jul-04 23:18 
QuestionHow do I create a "floating" dialog box? Pin
shihuik27-Jul-04 6:33
shihuik27-Jul-04 6:33 
AnswerRe: How do I create a "floating" dialog box? Pin
David Crow27-Jul-04 7:55
David Crow27-Jul-04 7:55 

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.