Click here to Skip to main content
15,920,632 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Create shortcut Pin
CPallini21-Sep-09 0:11
mveCPallini21-Sep-09 0:11 
AnswerRe: Create shortcut Pin
Nuri Ismail21-Sep-09 0:11
Nuri Ismail21-Sep-09 0:11 
Questionwindows service Pin
jinjiashan20-Sep-09 23:40
jinjiashan20-Sep-09 23:40 
AnswerRe: windows service Pin
Naveen21-Sep-09 0:10
Naveen21-Sep-09 0:10 
AnswerRe: windows service Pin
kilt21-Sep-09 0:34
kilt21-Sep-09 0:34 
Questionvirtual drive mount APIs? Pin
Peter Weyzen20-Sep-09 21:52
Peter Weyzen20-Sep-09 21:52 
AnswerRe: virtual drive mount APIs? Pin
Rajesh R Subramanian20-Sep-09 22:50
professionalRajesh R Subramanian20-Sep-09 22:50 
Questionhey guys i am new to this kinda thing.. Pin
kolobus20-Sep-09 17:51
kolobus20-Sep-09 17:51 
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 

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.