Click here to Skip to main content
15,910,787 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linker errors while integration, plz help Pin
Cedric Moonen19-Mar-08 22:57
Cedric Moonen19-Mar-08 22:57 
GeneralRe: Linker errors while integration, plz help Pin
Paresh Chitte20-Mar-08 2:34
Paresh Chitte20-Mar-08 2:34 
GeneralRe: Linker errors while integration, plz help Pin
David Crow20-Mar-08 3:18
David Crow20-Mar-08 3:18 
Questionplz tell me how fd_write code i needed Pin
priya_chauhan0919-Mar-08 19:43
priya_chauhan0919-Mar-08 19:43 
AnswerRe: plz tell me how fd_write code i needed Pin
Rajesh R Subramanian19-Mar-08 21:46
professionalRajesh R Subramanian19-Mar-08 21:46 
GeneralRe: plz tell me how fd_write code i needed Pin
mirtu19-Mar-08 23:17
mirtu19-Mar-08 23:17 
GeneralRe: plz tell me how fd_write code i needed Pin
mirtu19-Mar-08 23:20
mirtu19-Mar-08 23:20 
GeneralRe: plz tell me how fd_write code i needed Pin
Rajesh R Subramanian19-Mar-08 23:31
professionalRajesh R Subramanian19-Mar-08 23:31 
GeneralRe: plz tell me how fd_write code i needed Pin
Michael Dunn20-Mar-08 12:48
sitebuilderMichael Dunn20-Mar-08 12:48 
GeneralRe: plz tell me how fd_write code i needed Pin
mirtu19-Mar-08 22:08
mirtu19-Mar-08 22:08 
AnswerRe: plz tell me how fd_write code i needed Pin
Himanshu Joshi20-Mar-08 0:14
Himanshu Joshi20-Mar-08 0:14 
GeneralMeta file problem Pin
g_sandipan19-Mar-08 19:20
g_sandipan19-Mar-08 19:20 
QuestionRe: Meta file problem Pin
David Crow20-Mar-08 3:21
David Crow20-Mar-08 3:21 
GeneralAbout WideCharToMultiByte Pin
vikramlinux19-Mar-08 18:30
vikramlinux19-Mar-08 18:30 
GeneralRe: About WideCharToMultiByte Pin
vikramlinux19-Mar-08 19:27
vikramlinux19-Mar-08 19:27 
QuestionRe: About WideCharToMultiByte Pin
MANISH RASTOGI19-Mar-08 19:43
MANISH RASTOGI19-Mar-08 19:43 
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 

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.