A humble attempt to explain GDI stock objects…

So what are stock objects? “Stock” as the name says means goods in hand, which a shop keeper always has as a backup. In the same way GDI also keep a set of backup of objects which it creates during initialization and these are known as stock objects. Let’s think of a case like this… […]
Continue reading…

 

Dumping CObject based array!

Ever felt the need to dump an MFC array content to a debugger, it’s just so easy! Use AfxDump or afxDump! Here is an e.g. [sourcecode language=’cpp’]CArray IntArray; AfxDump( &IntArray ); // Or #ifdef _DEBUG afxDump
Continue reading…