Click here to Skip to main content
15,889,595 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 20:21
vikramlinux19-Mar-08 20:21 
GeneralRe: About WideCharToMultiByte Pin
MANISH RASTOGI19-Mar-08 20:32
MANISH RASTOGI19-Mar-08 20:32 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 20:39
vikramlinux19-Mar-08 20:39 
QuestionRe: About WideCharToMultiByte Pin
CPallini19-Mar-08 22:48
mveCPallini19-Mar-08 22:48 
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 
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 
I think by interpreting lpString, TabbedTextOut itself can figure out how many "\t"s there are and thus the sixth parameter nTabPositions and the seventh lpnTabStopPositions, which together indicate the number and the positions of the tabs in lpString, do not make any sense.

Besides,
for example, when I call TabbedTextOut the following way,
<br />
int nTabStopPositions[] = { 105,110,120 };<br />
TabbedTextOut(hdc, 100, 100, <br />
              "aaa\tbbb\tccc",<br />
               11, 3, nTabStopPositions, 50);<br />

Supposing the map mode is MM_TEXT,and the char width is 5.
TabbedTextOut will draw the string where it is 100 pixels to the left and 100 pixels to the top of the client area, breaking the string with tabs at 100+3*5 and 100+6*5+8( a tab equals 8 blanks ).
This is the way I think how TabbedTextOut works, but it seems not working that way.
Thus I don't understand how the last three parameters work.

thank you
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 

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.