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

C / C++ / MFC

 
GeneralRe: Error Pin
Maximilien7-Aug-03 18:23
Maximilien7-Aug-03 18:23 
GeneralRe: Error Pin
Michael Dunn9-Aug-03 6:56
sitebuilderMichael Dunn9-Aug-03 6:56 
Questionprint preview ??? Pin
_skidrow_vn_7-Aug-03 7:23
_skidrow_vn_7-Aug-03 7:23 
GeneralProblem with CMenu Pin
Ph@ntom7-Aug-03 6:26
Ph@ntom7-Aug-03 6:26 
GeneralRe: Problem with CMenu Pin
Rage7-Aug-03 6:42
professionalRage7-Aug-03 6:42 
GeneralDesktop window Pin
Zak_7-Aug-03 5:13
Zak_7-Aug-03 5:13 
GeneralRe: Desktop window Pin
Ryan Binns7-Aug-03 5:19
Ryan Binns7-Aug-03 5:19 
GeneralSetDlgItemText problems Pin
keegan7-Aug-03 4:32
keegan7-Aug-03 4:32 
Harumph. I have 2 problems, one directly related to this function, the other is not.

First, i need to use SetDlgItemText() to display an integer in a static text thingy. At least, i assume this is what i should use. I can do it just fine displaying strings, but when i try to display an int, it says it can't convert int to LPCTSTR or something similar to that. Whats the best way to fix this? Should i use some sort of integer to string conversion?

Second, i need this integer to constantly update in my dialog. What i'm doing is reading a value from a volt meter, and for each reading i get, i want to display the new value. I tried putting my SetDlgItemText() in side an infinite for loop ( for(;;) ), but when i launch the dialog window, the program crashes. This is all opccuring in the dodataexcahnge.

Grr. its the simple problems that really tick me off. :P

*.*
cin >> knowledge;
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 4:45
Ryan Binns7-Aug-03 4:45 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 4:53
keegan7-Aug-03 4:53 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 5:04
Ryan Binns7-Aug-03 5:04 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 5:13
keegan7-Aug-03 5:13 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 5:18
Ryan Binns7-Aug-03 5:18 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 5:29
keegan7-Aug-03 5:29 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 5:33
Ryan Binns7-Aug-03 5:33 
GeneralRe: SetDlgItemText problems Pin
keegan7-Aug-03 5:48
keegan7-Aug-03 5:48 
GeneralRe: SetDlgItemText problems Pin
JWood7-Aug-03 6:28
JWood7-Aug-03 6:28 
GeneralRe: SetDlgItemText problems Pin
Ryan Binns7-Aug-03 13:18
Ryan Binns7-Aug-03 13:18 
GeneralRe: SetDlgItemText problems Pin
vcplusplus7-Aug-03 4:45
vcplusplus7-Aug-03 4:45 
GeneralChanging http_user_agent in webbrowser control Pin
hkulten7-Aug-03 4:21
hkulten7-Aug-03 4:21 
QuestionHow to hide process in Windows NT/XP Pin
breakpoint7-Aug-03 3:51
breakpoint7-Aug-03 3:51 
AnswerRe: How to hide process in Windows NT/XP Pin
John M. Drescher7-Aug-03 4:20
John M. Drescher7-Aug-03 4:20 
AnswerRe: How to hide process in Windows NT/XP Pin
Ryan Binns7-Aug-03 4:23
Ryan Binns7-Aug-03 4:23 
GeneralRe: How to hide process in Windows NT/XP Pin
John M. Drescher7-Aug-03 4:36
John M. Drescher7-Aug-03 4:36 
AnswerRe: How to hide process in Windows NT/XP Pin
Vitali Halershtein7-Aug-03 4:36
Vitali Halershtein7-Aug-03 4:36 

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.