Click here to Skip to main content
15,913,282 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: copy file Pin
MsmVc26-Aug-08 1:13
MsmVc26-Aug-08 1:13 
GeneralRe: copy file Pin
toxcct26-Aug-08 1:54
toxcct26-Aug-08 1:54 
GeneralRe: copy file Pin
MsmVc26-Aug-08 2:01
MsmVc26-Aug-08 2:01 
QuestionRe: copy file Pin
David Crow26-Aug-08 4:21
David Crow26-Aug-08 4:21 
AnswerRe: copy file Pin
MsmVc26-Aug-08 18:13
MsmVc26-Aug-08 18:13 
QuestionRe: copy file Pin
David Crow27-Aug-08 2:56
David Crow27-Aug-08 2:56 
QuestionClear Text Into BMP Pin
Aabid26-Aug-08 0:39
Aabid26-Aug-08 0:39 
AnswerRe: Clear Text Into BMP Pin
Nibu babu thomas26-Aug-08 0:48
Nibu babu thomas26-Aug-08 0:48 
Aabid wrote:
Now I want To know Is There Any API To clear That Text Into The BMP....


There is nothing like an API for this, you've got to devise logic for this purpose, probably invalidate that region where the text is printed. Or probably set the text color (Dc.SetTextColor()) to background color and then print the text again. Don't forget to test this well cause there may be cases where the edges of text are still visible.

Some other options that came to my mind is to use FillSolidRect/FillRect with background colors, but then there will be problems when you have gradient backgrounds.


Nibu babu thomas
Microsoft MVP for VC++


Code must be written to be read, not by the compiler, but by another human being.

Programming Blog: http://nibuthomas.wordpress.com

modified on Tuesday, August 26, 2008 6:54 AM

AnswerRe: Clear Text Into BMP Pin
oobimoo26-Aug-08 1:57
oobimoo26-Aug-08 1:57 
QuestionShould use PostMessage or SendMessage Pin
VCProgrammer26-Aug-08 0:35
VCProgrammer26-Aug-08 0:35 
AnswerRe: Should use PostMessage or SendMessage Pin
Nibu babu thomas26-Aug-08 0:45
Nibu babu thomas26-Aug-08 0:45 
AnswerRe: Should use PostMessage or SendMessage Pin
Perspx26-Aug-08 0:50
Perspx26-Aug-08 0:50 
AnswerRe: Should use PostMessage or SendMessage Pin
Roger Stoltz26-Aug-08 1:12
Roger Stoltz26-Aug-08 1:12 
Questionwindow desktop application Pin
Dhiraj kumar Saini25-Aug-08 23:24
Dhiraj kumar Saini25-Aug-08 23:24 
QuestionRe: window desktop application Pin
Rajesh R Subramanian25-Aug-08 23:39
professionalRajesh R Subramanian25-Aug-08 23:39 
AnswerRe: window desktop application Pin
Dhiraj kumar Saini26-Aug-08 0:14
Dhiraj kumar Saini26-Aug-08 0:14 
GeneralRe: window desktop application Pin
Perspx26-Aug-08 0:18
Perspx26-Aug-08 0:18 
GeneralRe: window desktop application Pin
Jijo.Raj26-Aug-08 0:59
Jijo.Raj26-Aug-08 0:59 
AnswerRe: window desktop application Pin
David Crow26-Aug-08 4:41
David Crow26-Aug-08 4:41 
QuestionAnti Keyboard Hooker Application Pin
Daniel Kanev25-Aug-08 23:20
Daniel Kanev25-Aug-08 23:20 
AnswerRe: Anti Keyboard Hooker Application Pin
Rajesh R Subramanian25-Aug-08 23:37
professionalRajesh R Subramanian25-Aug-08 23:37 
QuestionMakes inheritance C++ slower than C? Pin
Cyon11125-Aug-08 23:18
Cyon11125-Aug-08 23:18 
AnswerRe: Makes inheritance C++ slower than C? [modified] Pin
Jijo.Raj25-Aug-08 23:32
Jijo.Raj25-Aug-08 23:32 
GeneralRe: Makes inheritance C++ slower than C? Pin
Rajesh R Subramanian26-Aug-08 0:01
professionalRajesh R Subramanian26-Aug-08 0:01 
GeneralRe: Makes inheritance C++ slower than C? Pin
Jijo.Raj26-Aug-08 0:46
Jijo.Raj26-Aug-08 0:46 

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.