Click here to Skip to main content
15,904,416 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: get the font of my control and set it with an other (the face name) Pin
Code-o-mat13-Mar-09 6:26
Code-o-mat13-Mar-09 6:26 
GeneralRe: get the font of my control and set it with an other (the face name) Pin
MrKBA13-Mar-09 6:33
MrKBA13-Mar-09 6:33 
QuestionError C1900 with static library Pin
Trollslayer13-Mar-09 4:19
mentorTrollslayer13-Mar-09 4:19 
AnswerRe: Error C1900 with static library Pin
led mike13-Mar-09 4:30
led mike13-Mar-09 4:30 
GeneralRe: Error C1900 with static library Pin
Trollslayer13-Mar-09 4:40
mentorTrollslayer13-Mar-09 4:40 
Answer[Possible cause] Re: Error C1900 with static library Pin
Trollslayer13-Mar-09 4:46
mentorTrollslayer13-Mar-09 4:46 
GeneralRe: [Possible cause] Re: Error C1900 with static library Pin
led mike13-Mar-09 5:29
led mike13-Mar-09 5:29 
QuestionGDI+ equivalent of SetROP2 (R2_NOT) Pin
Iain Clarke, Warrior Programmer13-Mar-09 4:16
Iain Clarke, Warrior Programmer13-Mar-09 4:16 
I'm hoping I'm just being dumb, and someone will point out the command I've missed...

I'm trying to draw a shape onto a DC using GDI+. I can change alphablends, colours, line thicknesses, etc, (see my http://www.codeproject.com/KB/miscctrl/generic_picker.aspx[^] article for drawing examples).

But what I can't work out how to do is to make an "invert" brush / pen.

Ideally, I'd like to blend a colour with an inverse of the below colour, but just plain inverting the original colour is good enough for me.

Thanks,

Iain.

Codeproject MVP for C++, I can't believe it's for my lounge posts...

AnswerRe: GDI+ equivalent of SetROP2 (R2_NOT) Pin
led mike13-Mar-09 4:36
led mike13-Mar-09 4:36 
GeneralRe: GDI+ equivalent of SetROP2 (R2_NOT) Pin
Iain Clarke, Warrior Programmer13-Mar-09 5:02
Iain Clarke, Warrior Programmer13-Mar-09 5:02 
Questiontext file using MFC Pin
hrishiS13-Mar-09 4:10
hrishiS13-Mar-09 4:10 
AnswerRe: text file using MFC Pin
jeron113-Mar-09 4:13
jeron113-Mar-09 4:13 
AnswerRe: text file using MFC Pin
Michael Schubert13-Mar-09 4:16
Michael Schubert13-Mar-09 4:16 
QuestionCListCtrl Pin
durban213-Mar-09 3:51
durban213-Mar-09 3:51 
AnswerRe: CListCtrl [modified] Pin
Code-o-mat13-Mar-09 3:55
Code-o-mat13-Mar-09 3:55 
GeneralRe: CListCtrl Pin
durban213-Mar-09 5:10
durban213-Mar-09 5:10 
AnswerRe: CListCtrl Pin
«_Superman_»13-Mar-09 3:58
professional«_Superman_»13-Mar-09 3:58 
QuestionRe: CListCtrl Pin
David Crow13-Mar-09 7:46
David Crow13-Mar-09 7:46 
AnswerRe: CListCtrl Pin
CPallini13-Mar-09 7:55
mveCPallini13-Mar-09 7:55 
GeneralRe: CListCtrl Pin
David Crow13-Mar-09 7:57
David Crow13-Mar-09 7:57 
GeneralRe: CListCtrl Pin
«_Superman_»13-Mar-09 17:59
professional«_Superman_»13-Mar-09 17:59 
Questionflickering while displaying Images on dialog box Pin
hemlat13-Mar-09 3:14
hemlat13-Mar-09 3:14 
AnswerRe: flickering while displaying Images on dialog box Pin
«_Superman_»13-Mar-09 4:02
professional«_Superman_»13-Mar-09 4:02 
GeneralRe: flickering while displaying Images on dialog box Pin
hemlat13-Mar-09 23:58
hemlat13-Mar-09 23:58 
AnswerRe: flickering while displaying Images on dialog box Pin
Alan Balkany13-Mar-09 4:03
Alan Balkany13-Mar-09 4: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.