Click here to Skip to main content
15,914,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Number of controls in a dialog Pin
Christian Graus22-Mar-07 0:18
protectorChristian Graus22-Mar-07 0:18 
GeneralRe: Number of controls in a dialog Pin
Rajesh R Subramanian22-Mar-07 0:26
professionalRajesh R Subramanian22-Mar-07 0:26 
GeneralRe: Number of controls in a dialog Pin
jerome_data22-Mar-07 1:03
jerome_data22-Mar-07 1:03 
GeneralRe: Number of controls in a dialog Pin
Rajesh R Subramanian22-Mar-07 1:31
professionalRajesh R Subramanian22-Mar-07 1:31 
QuestionRe: Number of controls in a dialog Pin
David Crow22-Mar-07 3:16
David Crow22-Mar-07 3:16 
QuestionRe: Number of controls in a dialog Pin
Maximilien22-Mar-07 2:51
Maximilien22-Mar-07 2:51 
AnswerRe: Number of controls in a dialog Pin
jerome_data22-Mar-07 3:07
jerome_data22-Mar-07 3:07 
Questioncan you please specify why this is happen? Pin
rakeshbbaldha22-Mar-07 0:04
rakeshbbaldha22-Mar-07 0:04 
Hi,

//Static text control pointer pWidthWnd
//getting width of static text control
pWidthWnd->GetClientRect(&rect);
//rect.right -= 15;
//maxPath is the path string
PathCompactPath(hDC, maxPath, rect.Width());


still its truncate last two three character from maxPath after set onto static text control.

when we set rect.right -= 15; it will display properly.

i dont know the reason behind it, can ou please specify this reason?

why this thing is happens?

Thanks in advance.
rakesh





AnswerRe: can you please specify why this is happen? Pin
prasad_som22-Mar-07 0:12
prasad_som22-Mar-07 0:12 
GeneralRe: can you please specify why this is happen? Pin
rakeshbbaldha22-Mar-07 0:16
rakeshbbaldha22-Mar-07 0:16 
AnswerRe: can you please specify why this is happen? Pin
prasad_som22-Mar-07 0:35
prasad_som22-Mar-07 0:35 
GeneralRe: can you please specify why this is happen? Pin
rakeshbbaldha22-Mar-07 0:41
rakeshbbaldha22-Mar-07 0:41 
QuestionRe: can you please specify why this is happen? Pin
David Crow22-Mar-07 3:18
David Crow22-Mar-07 3:18 
AnswerRe: can you please specify why this is happen? Pin
Ranjoy Guha22-Mar-07 1:31
Ranjoy Guha22-Mar-07 1:31 
GeneralRe: can you please specify why this is happen? Pin
David Crow22-Mar-07 3:20
David Crow22-Mar-07 3:20 
AnswerRe: can you please specify why this is happen? Pin
James R. Twine22-Mar-07 1:42
James R. Twine22-Mar-07 1:42 
AnswerRe: can you please specify why this is happen? Pin
David Crow22-Mar-07 3:31
David Crow22-Mar-07 3:31 
QuestionSplitter Windows Pin
Taruni21-Mar-07 22:29
Taruni21-Mar-07 22:29 
QuestionRe: Splitter Windows Pin
Mark Salsbery22-Mar-07 7:54
Mark Salsbery22-Mar-07 7:54 
AnswerRe: Splitter Windows Pin
Taruni22-Mar-07 18:26
Taruni22-Mar-07 18:26 
GeneralRe: Splitter Windows Pin
Mark Salsbery23-Mar-07 7:30
Mark Salsbery23-Mar-07 7:30 
QuestionDisable tab-- pls help me Pin
deeps_cute21-Mar-07 22:15
deeps_cute21-Mar-07 22:15 
AnswerRe: Disable tab-- pls help me Pin
prasad_som21-Mar-07 22:45
prasad_som21-Mar-07 22:45 
QuestionMemory Leak in ADO Connection->open() Pin
voorugonda prashanth21-Mar-07 22:11
voorugonda prashanth21-Mar-07 22:11 
AnswerRe: Memory Leak in ADO Connection->open() Pin
kakan21-Mar-07 22:28
professionalkakan21-Mar-07 22:28 

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.