Click here to Skip to main content
15,887,596 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: hey guys i am new to this kinda thing.. Pin
CPallini20-Sep-09 20:47
mveCPallini20-Sep-09 20:47 
GeneralRe: hey guys i am new to this kinda thing.. Pin
kolobus21-Sep-09 0:32
kolobus21-Sep-09 0:32 
GeneralRe: hey guys i am new to this kinda thing.. Pin
kolobus21-Sep-09 0:46
kolobus21-Sep-09 0:46 
QuestionI need a connection avi or gif for my C app Pin
includeh1020-Sep-09 17:03
includeh1020-Sep-09 17:03 
AnswerRe: I need a connection avi or gif for my C app Pin
CPallini20-Sep-09 20:39
mveCPallini20-Sep-09 20:39 
QuestionA way to keep track of creating and deleting etc pens etc Pin
Anthony Appleyard20-Sep-09 11:57
Anthony Appleyard20-Sep-09 11:57 
AnswerRe: A way to keep track of creating and deleting etc pens etc Pin
Chris Losinger20-Sep-09 15:24
professionalChris Losinger20-Sep-09 15:24 
AnswerRe: A way to keep track of creating and deleting etc pens etc Pin
«_Superman_»20-Sep-09 16:09
professional«_Superman_»20-Sep-09 16:09 
As Chris replied, MFC has classes for all of the GDI objects.
You should be using them instead of creating your own.

What exactly do you mean by keeping track?
I'm assuming you want to audit the creation and deletion of GDI objects.

For this you can derive your own classes from the GDI classes and in the constructor and destructor of these classes you could write your audit code.

«_Superman
I love work. It gives me something to do between weekends.

AnswerRe: A way to keep track of creating and deleting etc pens etc [modified] Pin
Anthony Appleyard20-Sep-09 19:37
Anthony Appleyard20-Sep-09 19:37 
AnswerRe: A way to keep track of creating and deleting etc pens etc Pin
Cedric Moonen20-Sep-09 20:07
Cedric Moonen20-Sep-09 20:07 
AnswerRe: A way to keep track of creating and deleting etc pens etc Pin
KarstenK21-Sep-09 0:15
mveKarstenK21-Sep-09 0:15 
GeneralRe: A way to keep track of creating and deleting etc pens etc Pin
Anthony Appleyard21-Sep-09 19:48
Anthony Appleyard21-Sep-09 19:48 
GeneralRe: A way to keep track of creating and deleting etc pens etc Pin
KarstenK21-Sep-09 21:14
mveKarstenK21-Sep-09 21:14 
QuestionQuestions about CPropertySheet::AddPage Pin
transoft20-Sep-09 10:42
transoft20-Sep-09 10:42 
AnswerRe: Questions about CPropertySheet::AddPage Pin
David Crow20-Sep-09 14:09
David Crow20-Sep-09 14:09 
AnswerRe: Questions about CPropertySheet::AddPage Pin
KarstenK21-Sep-09 0:20
mveKarstenK21-Sep-09 0:20 
GeneralRe: Questions about CPropertySheet::AddPage Pin
transoft21-Sep-09 2:07
transoft21-Sep-09 2:07 
GeneralRe: Questions about CPropertySheet::AddPage Pin
KarstenK21-Sep-09 2:38
mveKarstenK21-Sep-09 2:38 
GeneralRe: Questions about CPropertySheet::AddPage Pin
transoft21-Sep-09 2:47
transoft21-Sep-09 2:47 
GeneralRe: Questions about CPropertySheet::AddPage Pin
KarstenK21-Sep-09 3:13
mveKarstenK21-Sep-09 3:13 
GeneralRe: Questions about CPropertySheet::AddPage Pin
transoft21-Sep-09 6:08
transoft21-Sep-09 6:08 
GeneralRe: Questions about CPropertySheet::AddPage Pin
KarstenK21-Sep-09 21:16
mveKarstenK21-Sep-09 21:16 
Question[Message Deleted] Pin
includeh1020-Sep-09 5:07
includeh1020-Sep-09 5:07 
AnswerRe: how to change comple warning level by project setting ? Pin
Richard MacCutchan20-Sep-09 5:11
mveRichard MacCutchan20-Sep-09 5:11 
GeneralRe: how to change comple warning level by project setting ? Pin
includeh1020-Sep-09 5:36
includeh1020-Sep-09 5:36 

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.