Click here to Skip to main content
15,900,815 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: include file for a COM client (consumer) Pin
George_George30-Sep-08 22:33
George_George30-Sep-08 22:33 
QuestionPass Events from ATL control to javascript Pin
chatko25-Sep-08 17:46
chatko25-Sep-08 17:46 
AnswerRe: Pass Events from ATL control to javascript Pin
chatko29-Sep-08 4:05
chatko29-Sep-08 4:05 
QuestionSample application for connecting to Sql server database in ATL Pin
V K 224-Sep-08 23:23
V K 224-Sep-08 23:23 
AnswerRe: Sample application for connecting to Sql server database in ATL Pin
Stuart Dootson25-Sep-08 0:28
professionalStuart Dootson25-Sep-08 0:28 
QuestionActiveX: still active after close IExplorer Pin
fzhsheng24-Sep-08 21:26
fzhsheng24-Sep-08 21:26 
QuestionIssues when pop up a dialog in IE Pin
Robert Wang198324-Sep-08 3:33
Robert Wang198324-Sep-08 3:33 
QuestionHow can i show the string correctly? Pin
hdj831123-Sep-08 22:44
hdj831123-Sep-08 22:44 
Hi everyone,
Look at follow code:

UINT uFormat = DT_WORDBREAK|DT_EXTERNALLEADING;
CRect rect(10,30,200,60);
::DrawText(dc,"hi harry, how are you! there are no persons in the school fdsfdsfsd fsdfdsf",-1,rect,uFormat);


Run this code in the OnPaint(), the result is that there is no compelete string show in the region(CRect rect(10,30,200,60));

I want to add "..." into the end string display. If someone can help me, please tell me how.

Thanks.
AnswerRe: How can i show the string correctly? Pin
Steve Echols24-Sep-08 18:53
Steve Echols24-Sep-08 18:53 
GeneralRe: How can i show the string correctly? Pin
hdj831124-Sep-08 19:18
hdj831124-Sep-08 19:18 
GeneralRe: How can i show the string correctly? Pin
Steve Echols24-Sep-08 19:23
Steve Echols24-Sep-08 19:23 
GeneralRe: How can i show the string correctly? Pin
hdj831124-Sep-08 22:52
hdj831124-Sep-08 22:52 
QuestionHow do I use CWindowWithReflectorImpl? Pin
Philipp Kursawe22-Sep-08 10:47
Philipp Kursawe22-Sep-08 10:47 
QuestionWhy not to use Smart types in a container? Pin
paresh_joe17-Sep-08 1:55
paresh_joe17-Sep-08 1:55 
QuestionRe: Why not to use Smart types in a container? Pin
paresh_joe17-Sep-08 2:25
paresh_joe17-Sep-08 2:25 
AnswerRe: Why not to use Smart types in a container? Pin
followait17-Sep-08 5:32
followait17-Sep-08 5:32 
GeneralRe: Why not to use Smart types in a container? Pin
paresh_joe17-Sep-08 19:52
paresh_joe17-Sep-08 19:52 
GeneralRe: Why not to use Smart types in a container? Pin
followait17-Sep-08 23:15
followait17-Sep-08 23:15 
Questionvector resize question Pin
followait16-Sep-08 3:53
followait16-Sep-08 3:53 
AnswerRe: vector resize question [modified] Pin
George L. Jackson16-Sep-08 7:08
George L. Jackson16-Sep-08 7:08 
GeneralRe: vector resize question Pin
followait16-Sep-08 14:26
followait16-Sep-08 14:26 
GeneralRe: vector resize question [modified] Pin
George L. Jackson17-Sep-08 3:07
George L. Jackson17-Sep-08 3:07 
QuestionSTL serializetion Pin
followait15-Sep-08 15:56
followait15-Sep-08 15:56 
AnswerRe: STL serializetion Pin
Stuart Dootson15-Sep-08 21:36
professionalStuart Dootson15-Sep-08 21:36 
GeneralRe: STL serializetion Pin
followait15-Sep-08 22:03
followait15-Sep-08 22:03 

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.