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

C / C++ / MFC

 
GeneralRe: WM_CLOSE Priority Pin
Anonymous18-Dec-03 19:14
Anonymous18-Dec-03 19:14 
GeneralRe: WM_CLOSE Priority Pin
Monty218-Dec-03 19:42
Monty218-Dec-03 19:42 
GeneralRe: WM_CLOSE Priority Pin
John R. Shaw18-Dec-03 21:36
John R. Shaw18-Dec-03 21:36 
Generalde-selecting items in cList Control Pin
azusakt18-Dec-03 17:32
azusakt18-Dec-03 17:32 
GeneralRe: de-selecting items in cList Control Pin
John R. Shaw18-Dec-03 17:47
John R. Shaw18-Dec-03 17:47 
GeneralDirectory Contents Question Pin
Roger Wright18-Dec-03 16:17
professionalRoger Wright18-Dec-03 16:17 
GeneralRe: Directory Contents Question Pin
Rob Manderson18-Dec-03 16:55
protectorRob Manderson18-Dec-03 16:55 
GeneralRe: Directory Contents Question Pin
Roger Wright18-Dec-03 20:38
professionalRoger Wright18-Dec-03 20:38 
Thanks, Rob... That was sorta where my small mind was headed - performing an AND operation to isolate the particular bit of interest, then testing for equality. It's unfortunate that the authors of this book didn't take the opportunity in this example to demonstrate this option. I think it would have been very instructive to a lot of people trying to learn the language. At the very least, it would have alerted students to the fact that the Win32 and MFC APIs are full of such flag fields, and that a programmer must learn appropriate methods for dealing with them. To their credit, though, I must admit that the intent was to demonstrate how to populate the fields of several control objects, which the chapter did quite well. Maybe I'm too much a perfectionist, but I think that sample code in a textbook should be perfect. Unfortunately it is often a far cry from merely good, let alone perfect.

"Another day done - All targets met; all systems fully operational; all customers satisfied; all staff keen and well motivated; all pigs fed and ready to fly" - Jennie A.

GeneralRe: Directory Contents Question Pin
Rob Manderson18-Dec-03 22:22
protectorRob Manderson18-Dec-03 22:22 
GeneralRe: Directory Contents Question Pin
Roger Wright19-Dec-03 5:23
professionalRoger Wright19-Dec-03 5:23 
GeneralRe: Directory Contents Question Pin
John R. Shaw18-Dec-03 17:09
John R. Shaw18-Dec-03 17:09 
GeneralRe: Directory Contents Question Pin
Roger Wright18-Dec-03 20:45
professionalRoger Wright18-Dec-03 20:45 
GeneralRe: Directory Contents Question Pin
John R. Shaw18-Dec-03 22:12
John R. Shaw18-Dec-03 22:12 
GeneralRe: Directory Contents Question Pin
Rob Manderson18-Dec-03 22:55
protectorRob Manderson18-Dec-03 22:55 
GeneralRe: Directory Contents Question Pin
Roger Wright19-Dec-03 5:16
professionalRoger Wright19-Dec-03 5:16 
QuestionGDI Objects LEAK due to manifest file codes? Pin
Yu Zhiquan18-Dec-03 16:03
Yu Zhiquan18-Dec-03 16:03 
AnswerRe: GDI Objects LEAK due to manifest file codes? Pin
John R. Shaw18-Dec-03 16:50
John R. Shaw18-Dec-03 16:50 
Generaldumbest question in the world Pin
rajdawg18-Dec-03 15:03
rajdawg18-Dec-03 15:03 
Generaloops....lets try this with code tags Pin
rajdawg18-Dec-03 15:05
rajdawg18-Dec-03 15:05 
GeneralRe: oops....lets try this with code tags Pin
rajdawg18-Dec-03 15:06
rajdawg18-Dec-03 15:06 
GeneralRe: oops....lets try this with code tags Pin
Christian Graus18-Dec-03 15:28
protectorChristian Graus18-Dec-03 15:28 
GeneralRe: dumbest question in the world Pin
Michael Dunn18-Dec-03 18:06
sitebuilderMichael Dunn18-Dec-03 18:06 
GeneralApplication Error Pin
help_me_pleeze18-Dec-03 15:01
help_me_pleeze18-Dec-03 15:01 
GeneralRe: Application Error Pin
Joe Woodbury18-Dec-03 15:22
professionalJoe Woodbury18-Dec-03 15:22 
GeneralRe: Application Error Pin
secret_agent19-Dec-03 6:59
secret_agent19-Dec-03 6:59 

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.