Click here to Skip to main content
15,895,777 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questionvc++ mfc( important please see it and reply me ) Pin
vkm198427-May-09 17:11
vkm198427-May-09 17:11 
AnswerRe: vc++ mfc( important please see it and reply me ) Pin
David Crow27-May-09 17:22
David Crow27-May-09 17:22 
QuestionCString replace function Pin
Muhammad Hassan Haider27-May-09 11:26
Muhammad Hassan Haider27-May-09 11:26 
AnswerRe: CString replace function Pin
Stuart Dootson27-May-09 13:46
professionalStuart Dootson27-May-09 13:46 
AnswerRe: CString replace function Pin
David Crow27-May-09 16:57
David Crow27-May-09 16:57 
AnswerCString replace function Pin
Muhammad Hassan Haider27-May-09 22:24
Muhammad Hassan Haider27-May-09 22:24 
GeneralRe: CString replace function Pin
ThatsAlok28-May-09 6:07
ThatsAlok28-May-09 6:07 
QuestionThe strange behaviour of the text. Pin
daavena27-May-09 10:50
daavena27-May-09 10:50 
Hello gentlemen,

I am drawing text directly onto the desktop-I am using hooks.

I am capturing these messages from desktop - WM_ERASEBKGND and WM_PAINT
and this is the drawing function:

DrawText(hdc, pszText, strlen(pszText), &rcWindow, DT_RIGHT);


Everythink is working fine - I see text on the desktop. But if I move with a window(which is currently open/active) the text will get bold. Even if I click on the desktop the text on the desktop will get bold.

But if I hit F5 and the desktop is active - the text is normal.


Can you give me a hind, what I am doing wrong?

Thank you.
AnswerRe: The strange behaviour of the text. Pin
Nibu babu thomas27-May-09 18:13
Nibu babu thomas27-May-09 18:13 
QuestionDll - MFC - Customised browser Pin
rosemaried27-May-09 6:26
rosemaried27-May-09 6:26 
AnswerRe: Dll - MFC - Customised browser Pin
«_Superman_»27-May-09 22:08
professional«_Superman_»27-May-09 22:08 
Questionsizeof related in c/c++ Pin
hawk23reddy27-May-09 4:39
hawk23reddy27-May-09 4:39 
AnswerRe: sizeof related in c/c++ Pin
Emilio Garavaglia27-May-09 4:50
Emilio Garavaglia27-May-09 4:50 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 5:10
professionalStuart Dootson27-May-09 5:10 
GeneralRe: sizeof related in c/c++ Pin
Emilio Garavaglia27-May-09 7:41
Emilio Garavaglia27-May-09 7:41 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 7:53
professionalStuart Dootson27-May-09 7:53 
AnswerRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 4:58
professionalStuart Dootson27-May-09 4:58 
AnswerRe: sizeof related in c/c++ Pin
David Crow27-May-09 5:00
David Crow27-May-09 5:00 
GeneralRe: sizeof related in c/c++ Pin
hawk23reddy27-May-09 5:23
hawk23reddy27-May-09 5:23 
GeneralRe: sizeof related in c/c++ Pin
Stuart Dootson27-May-09 7:38
professionalStuart Dootson27-May-09 7:38 
AnswerRe: sizeof related in c/c++ Pin
«_Superman_»27-May-09 22:03
professional«_Superman_»27-May-09 22:03 
QuestionAccess to a view from a CTreeCtrl Pin
Gagnon Claude27-May-09 1:45
Gagnon Claude27-May-09 1:45 
QuestionCopy text in Memory DC. Pin
zakkas248327-May-09 0:08
zakkas248327-May-09 0:08 
AnswerRe: Copy text in Memory DC. Pin
CPallini27-May-09 0:23
mveCPallini27-May-09 0:23 
GeneralRe: Copy text in Memory DC. Pin
zakkas248327-May-09 0:37
zakkas248327-May-09 0:37 

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.