Click here to Skip to main content
15,898,920 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 23:02
vikramlinux19-Mar-08 23:02 
QuestionHow to use TabbedTextOut? Pin
crossie19-Mar-08 18:27
crossie19-Mar-08 18:27 
<br />
LONG TabbedTextOut(<br />
  HDC hDC,                         // handle to DC<br />
  int X,                           // x-coord of start<br />
  int Y,                           // y-coord of start<br />
  LPCTSTR lpString,                // character string<br />
  int nCount,                      // number of characters<br />
  int nTabPositions,               // number of tabs in array<br />
  CONST LPINT lpnTabStopPositions, // array of tab positions<br />
  int nTabOrigin                   // start of tab expansion<br />
);


I thought the number of tabs and the positions of tabs are determined by the "\t"s contained in lpString, but it does not turn out to be that simple.
What is TabbedTextOut's behavior if the number of "\t"s does not equal nTabPositons?
I simiply thought that TabbedTextOut would simply replace those "\t"s in lpString with blanks and the last three parameters did not make any sense.
But the fact is the width positions of these "\t"s are depent on the last three parameters.
How do these three parameters work?

thank you.
QuestionRe: How to use TabbedTextOut? Pin
David Crow20-Mar-08 3:31
David Crow20-Mar-08 3:31 
GeneralRe: How to use TabbedTextOut? Pin
crossie20-Mar-08 17:05
crossie20-Mar-08 17:05 
GeneralVC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Capitanevs19-Mar-08 12:52
Capitanevs19-Mar-08 12:52 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
CPallini19-Mar-08 23:17
mveCPallini19-Mar-08 23:17 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Capitanevs20-Mar-08 23:33
Capitanevs20-Mar-08 23:33 
GeneralYou're welcolme. Pin
CPallini20-Mar-08 23:48
mveCPallini20-Mar-08 23:48 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Michael Dunn20-Mar-08 12:59
sitebuilderMichael Dunn20-Mar-08 12:59 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
Capitanevs20-Mar-08 23:12
Capitanevs20-Mar-08 23:12 
GeneralRe: VC++ 2008-built-EXE dependencies on Runtime DLLs Pin
CPallini20-Mar-08 23:50
mveCPallini20-Mar-08 23:50 
GeneralLibrary to import .AI .CDR Pin
software@elitron.com19-Mar-08 7:22
software@elitron.com19-Mar-08 7:22 
GeneralRe: Library to import .AI .CDR Pin
Mark Salsbery19-Mar-08 11:43
Mark Salsbery19-Mar-08 11:43 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com19-Mar-08 21:50
software@elitron.com19-Mar-08 21:50 
GeneralRe: Library to import .AI .CDR Pin
Mark Salsbery20-Mar-08 5:24
Mark Salsbery20-Mar-08 5:24 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com20-Mar-08 5:48
software@elitron.com20-Mar-08 5:48 
GeneralRe: Library to import .AI .CDR Pin
Mark Salsbery20-Mar-08 5:52
Mark Salsbery20-Mar-08 5:52 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com20-Mar-08 6:20
software@elitron.com20-Mar-08 6:20 
GeneralRe: Library to import .AI .CDR Pin
software@elitron.com6-May-08 20:53
software@elitron.com6-May-08 20:53 
Questionsplit string - better way? Pin
Tara1419-Mar-08 5:26
Tara1419-Mar-08 5:26 
AnswerRe: split string - better way? Pin
CPallini19-Mar-08 5:44
mveCPallini19-Mar-08 5:44 
GeneralRe: split string - better way? Pin
Tara1419-Mar-08 5:48
Tara1419-Mar-08 5:48 
AnswerRe: split string - better way? Pin
David Crow19-Mar-08 5:47
David Crow19-Mar-08 5:47 
GeneralRe: split string - better way? Pin
Cedric Moonen19-Mar-08 5:51
Cedric Moonen19-Mar-08 5:51 
JokeRe: split string - better way? Pin
David Crow19-Mar-08 5:54
David Crow19-Mar-08 5:54 

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.