Click here to Skip to main content
15,894,646 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: designing pci driver using C++ Pin
Anthony_Yio17-Dec-03 17:21
Anthony_Yio17-Dec-03 17:21 
GeneralTreeCtrl Navigating all items programatically Pin
Vikash Dubey17-Dec-03 16:52
Vikash Dubey17-Dec-03 16:52 
GeneralRe: TreeCtrl Navigating all items programatically Pin
Michael Dunn17-Dec-03 17:32
sitebuilderMichael Dunn17-Dec-03 17:32 
GeneralRe: TreeCtrl Navigating all items programatically Pin
Prakash Nadar17-Dec-03 19:19
Prakash Nadar17-Dec-03 19:19 
GeneralRe: TreeCtrl Navigating all items programatically Pin
Michael Dunn18-Dec-03 5:39
sitebuilderMichael Dunn18-Dec-03 5:39 
GeneralRe: TreeCtrl Navigating all items programatically Pin
Prakash Nadar18-Dec-03 15:59
Prakash Nadar18-Dec-03 15:59 
GeneralRe: TreeCtrl Navigating all items programatically Pin
Vikash Dubey17-Dec-03 23:53
Vikash Dubey17-Dec-03 23:53 
GeneralRe: TreeCtrl Navigating all items programatically Pin
Michael Dunn18-Dec-03 5:41
sitebuilderMichael Dunn18-Dec-03 5:41 
The most common mistake is forgetting to select pens/bitmaps/etc. out of a device context. For ex. if you do this (pseudo-MFC code here, since I'm in a hurry Wink | ;) )
CPen p (RGB(255,0,0));
 
  dc.SelectObject(p);
  dc.MoveTo(0,0);
  dc.LineTo(100,100);
 
  p.DeleteObject();
the pen will not be deleted because it's still the active pen in a DC.

--Mike--
Ericahist | CP SearchBar v2.0.2 | Homepage | RightClick-Encrypt | 1ClickPicGrabber
You cannot truly appreciate Dilbert unless you've read it in the original Klingon.
GeneralPush button Pin
J.B.17-Dec-03 15:51
J.B.17-Dec-03 15:51 
GeneralRe: Push button Pin
Prakash Nadar17-Dec-03 19:22
Prakash Nadar17-Dec-03 19:22 
GeneralRe: Push button Pin
J.B.17-Dec-03 21:26
J.B.17-Dec-03 21:26 
GeneralRe: Push button Pin
Prakash Nadar17-Dec-03 21:39
Prakash Nadar17-Dec-03 21:39 
GeneralRe: Push button Pin
J.B.17-Dec-03 21:47
J.B.17-Dec-03 21:47 
GeneralRe: Push button Pin
Prakash Nadar17-Dec-03 23:20
Prakash Nadar17-Dec-03 23:20 
GeneralIShellExtInit and IContextMenu; Pin
Bo Hunter17-Dec-03 15:36
Bo Hunter17-Dec-03 15:36 
GeneralRe: IShellExtInit and IContextMenu; Pin
Dinesh Ahuja19-Dec-03 2:20
Dinesh Ahuja19-Dec-03 2:20 
General<vector> destructor problem Pin
aqzhao17-Dec-03 15:22
aqzhao17-Dec-03 15:22 
GeneralRe: <vector> destructor problem Pin
Phil Martin17-Dec-03 16:48
professionalPhil Martin17-Dec-03 16:48 
Generalid3 tag for wma file Pin
qdping17-Dec-03 14:03
qdping17-Dec-03 14:03 
GeneralRe: id3 tag for wma file Pin
Christian Graus17-Dec-03 15:19
protectorChristian Graus17-Dec-03 15:19 
GeneralRe: id3 tag for wma file Pin
qdping17-Dec-03 16:26
qdping17-Dec-03 16:26 
GeneralRe: id3 tag for wma file Pin
Christian Graus17-Dec-03 16:28
protectorChristian Graus17-Dec-03 16:28 
GeneralRe: id3 tag for wma file Pin
qdping17-Dec-03 16:39
qdping17-Dec-03 16:39 
GeneralRe: id3 tag for wma file Pin
Bob Stanneveld17-Dec-03 21:13
Bob Stanneveld17-Dec-03 21:13 
GeneralRe: id3 tag for wma file Pin
qdping17-Dec-03 21:31
qdping17-Dec-03 21:31 

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.