Click here to Skip to main content
15,908,013 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSnapping windows to the desktop edge Pin
Timothy Grabrian24-Jan-05 17:24
professionalTimothy Grabrian24-Jan-05 17:24 
GeneralRe: Snapping windows to the desktop edge Pin
Ryan Binns24-Jan-05 18:01
Ryan Binns24-Jan-05 18:01 
GeneralRemoving metadata from MS Office documents Pin
sps-itsec4624-Jan-05 12:38
sps-itsec4624-Jan-05 12:38 
GeneralRe: Removing metadata from MS Office documents Pin
Michael P Butler24-Jan-05 13:42
Michael P Butler24-Jan-05 13:42 
GeneralRe: Removing metadata from MS Office documents Pin
sps-itsec4624-Jan-05 23:47
sps-itsec4624-Jan-05 23:47 
Generalint to string for TextOut Pin
shilton8424-Jan-05 11:08
shilton8424-Jan-05 11:08 
GeneralRe: int to string for TextOut Pin
Ryan Binns24-Jan-05 17:24
Ryan Binns24-Jan-05 17:24 
GeneralRe: int to string for TextOut Pin
ThatsAlok24-Jan-05 17:53
ThatsAlok24-Jan-05 17:53 
Look Like you are using Win 32 api based Project.

Here is the way to display the content of name variable
int nName=4; 

<font color=#00ff00>//buffer for holding the Integer </font>
char szBuffer[20];

<font color=#00ff00>//now to display
//copy the integer into string</font>
 sprintf(szBuffer,"%d",nName);
<font color=#00ff00> //Display it</font>
TextOut(hdc,x,y,szBuffer,strlen(szBuffer));


or in place of sprintf you can use itoa() too (which convert interger to string)


"I Think this Will Help"
<h5
 alok gupta="" <br=""> visit me at http://www.thisisalok.tk

GeneralRe: int to string for TextOut Pin
toxcct24-Jan-05 21:32
toxcct24-Jan-05 21:32 
GeneralRe: int to string for TextOut Pin
ThatsAlok24-Jan-05 21:53
ThatsAlok24-Jan-05 21:53 
GeneralSystem function DOS widows problem Pin
Anonymous24-Jan-05 9:22
Anonymous24-Jan-05 9:22 
GeneralRe: System function DOS widows problem Pin
David Crow24-Jan-05 10:07
David Crow24-Jan-05 10:07 
GeneralCClientSocket Pin
rmunguia24-Jan-05 6:53
rmunguia24-Jan-05 6:53 
QuestionFUZZY Set help ? Pin
faroqtam24-Jan-05 6:38
faroqtam24-Jan-05 6:38 
AnswerRe: FUZZY Set help ? Pin
Christian Graus24-Jan-05 8:55
protectorChristian Graus24-Jan-05 8:55 
GeneralRe: FUZZY Set help ? Pin
Ryan Binns24-Jan-05 17:26
Ryan Binns24-Jan-05 17:26 
GeneralRe: FUZZY Set help ? Pin
Christian Graus24-Jan-05 17:30
protectorChristian Graus24-Jan-05 17:30 
GeneralRe: FUZZY Set help ? Pin
Ryan Binns24-Jan-05 18:05
Ryan Binns24-Jan-05 18:05 
AnswerRe: FUZZY Set help ? Pin
Andy Brummer24-Jan-05 10:44
sitebuilderAndy Brummer24-Jan-05 10:44 
GeneralMFC - Dual Interface Pin
peterchen24-Jan-05 6:13
peterchen24-Jan-05 6:13 
QuestionHow to Terminate a running App and start a new instance of the same App? Pin
nonothing24-Jan-05 5:25
nonothing24-Jan-05 5:25 
AnswerRe: How to Terminate a running App and start a new instance of the same App? Pin
ThatsAlok24-Jan-05 7:11
ThatsAlok24-Jan-05 7:11 
GeneralRe: How to Terminate a running App and start a new instance of the same App? Pin
nonothing24-Jan-05 11:32
nonothing24-Jan-05 11:32 
GeneralRe: How to Terminate a running App and start a new instance of the same App? Pin
ThatsAlok24-Jan-05 17:54
ThatsAlok24-Jan-05 17:54 
GeneralDisplay Raw Image on the fly Pin
jazzkiller24-Jan-05 5:02
jazzkiller24-Jan-05 5:02 

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.