Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Icon animation Pin
Michael Dunn9-Jun-01 12:17
sitebuilderMichael Dunn9-Jun-01 12:17 
GeneralRe: Icon animation Pin
9-Jun-01 13:51
suss9-Jun-01 13:51 
QuestionTransferring 650 MB file in client/server application????? Pin
9-Jun-01 8:35
suss9-Jun-01 8:35 
AnswerRe: Transferring 650 MB file in client/server application????? Pin
yufu9-Jun-01 16:25
yufu9-Jun-01 16:25 
GeneralRe: Transferring 650 MB file in client/server application????? Pin
l a u r e n9-Jun-01 21:21
l a u r e n9-Jun-01 21:21 
GeneralBitmap background for CEdit Pin
Miha Stegel9-Jun-01 7:23
Miha Stegel9-Jun-01 7:23 
GeneralRe: Bitmap background for CEdit Pin
l a u r e n9-Jun-01 7:54
l a u r e n9-Jun-01 7:54 
GeneralRe: Bitmap background for CEdit Pin
Miha Stegel9-Jun-01 8:38
Miha Stegel9-Jun-01 8:38 
I have tried to change background mode, but I don't know how to get dc without manualy writing the text. I have tried to overwrite OnPaint function, but didn't help. The problem is that DrawText erases background under the text (as CEdit control does). Only background under letters is erased(not the whole area of the control) Is the catch in changing the BRUSH?

from OnPaint()
----------------------
CDC* dc = BeginPaint(&ps);
dc->SetBkMode(TRANSPARENT);
GetWindowText(m_cText);
dc->DrawText((LPCTSTR)m_cText, -1, &rect, 0 );
ReleaseDC(dc);
EndPaint(&ps);
----------------------

bye
Miha

GeneralRe: Bitmap background for CEdit Pin
l a u r e n9-Jun-01 21:19
l a u r e n9-Jun-01 21:19 
GeneralRe: Bitmap background for CEdit Pin
Miha Stegel10-Jun-01 15:14
Miha Stegel10-Jun-01 15:14 
GeneralPrinter problem in MFC Pin
9-Jun-01 5:55
suss9-Jun-01 5:55 
GeneralProgrammantically finding the end in va_list Pin
Rainer Mangold9-Jun-01 2:55
Rainer Mangold9-Jun-01 2:55 
GeneralRe: Programmantically finding the end in va_list Pin
Tomasz Sowinski9-Jun-01 3:05
Tomasz Sowinski9-Jun-01 3:05 
GeneralRe: Programmantically finding the end in va_list Pin
Rainer Mangold9-Jun-01 9:52
Rainer Mangold9-Jun-01 9:52 
QuestionTo MFC or not ? Pin
fugee9-Jun-01 1:20
fugee9-Jun-01 1:20 
AnswerRe: To MFC or not ? Pin
Masaaki Onishi9-Jun-01 3:48
Masaaki Onishi9-Jun-01 3:48 
AnswerRe: To MFC or not ? Pin
yufu9-Jun-01 16:34
yufu9-Jun-01 16:34 
GeneralURGENT text-based parsing problem Pin
Amit Dey8-Jun-01 23:30
Amit Dey8-Jun-01 23:30 
GeneralRe: URGENT text-based parsing problem Pin
Igor Sukhov9-Jun-01 0:51
Igor Sukhov9-Jun-01 0:51 
GeneralRe: URGENT text-based parsing problem Pin
Igor Sukhov9-Jun-01 0:54
Igor Sukhov9-Jun-01 0:54 
GeneralRe: URGENT text-based parsing problem Pin
Amit Dey9-Jun-01 4:58
Amit Dey9-Jun-01 4:58 
GeneralRe: URGENT text-based parsing problem Pin
9-Jun-01 1:27
suss9-Jun-01 1:27 
GeneralConvert ... Pin
Hadi Rezaee8-Jun-01 22:37
Hadi Rezaee8-Jun-01 22:37 
GeneralRe: Convert ... Pin
Igor Sukhov9-Jun-01 0:14
Igor Sukhov9-Jun-01 0:14 
GeneralRe: Convert ... Pin
Hadi Rezaee9-Jun-01 0:49
Hadi Rezaee9-Jun-01 0:49 

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.