Click here to Skip to main content
15,903,385 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to handle modeless popups in main window iconic state? Pin
petekurki19-Nov-06 23:13
petekurki19-Nov-06 23:13 
Questionhow to get the length (duration) of a wave file Pin
singersinger19-Nov-06 22:17
singersinger19-Nov-06 22:17 
QuestionFinding if a pc has n/w connection Pin
Smith#19-Nov-06 22:13
Smith#19-Nov-06 22:13 
AnswerRe: Finding if a pc has n/w connection Pin
Michael Dunn19-Nov-06 22:34
sitebuilderMichael Dunn19-Nov-06 22:34 
QuestionRe: Finding if a pc has n/w connection Pin
Smith#19-Nov-06 23:08
Smith#19-Nov-06 23:08 
QuestionHiding private members of Class with DLLs Pin
uusheikh19-Nov-06 22:10
uusheikh19-Nov-06 22:10 
AnswerRe: Hiding private members of Class with DLLs Pin
Cedric Moonen19-Nov-06 22:50
Cedric Moonen19-Nov-06 22:50 
AnswerRe: Hiding private members of Class with DLLs Pin
Mr.Brainley19-Nov-06 23:28
Mr.Brainley19-Nov-06 23:28 
To Quote Marshall Cline : "Encapsulation is for code, not for people". You shouldn't try to hide it. The statement private says all there is to say. The best way to enforce proper use is to put all public functions into an abstract base class ("Interface"), derive from it, declare the constructor private and create a class factory that only returns pointers to the ABC. But people will allways see what's in there if you give out the headers. See here : How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?[^]
AnswerRe: Hiding private members of Class with DLLs Pin
Maximilien20-Nov-06 1:49
Maximilien20-Nov-06 1:49 
AnswerRe: Hiding private members of Class with DLLs [modified] Pin
cmk20-Nov-06 3:39
cmk20-Nov-06 3:39 
GeneralRe: Hiding private members of Class with DLLs Pin
uusheikh20-Nov-06 22:55
uusheikh20-Nov-06 22:55 
GeneralConvert Date to COleDateTime Pin
Monty219-Nov-06 21:51
Monty219-Nov-06 21:51 
GeneralAnd the answer is .. Pin
Monty219-Nov-06 21:54
Monty219-Nov-06 21:54 
QuestionAdding treeviewCtrl to a combobox Pin
Nagaraju_Focus19-Nov-06 21:33
Nagaraju_Focus19-Nov-06 21:33 
AnswerRe: Adding treeviewCtrl to a combobox Pin
Steve Echols19-Nov-06 21:52
Steve Echols19-Nov-06 21:52 
QuestionScoket. Pin
Abbas Murad19-Nov-06 21:11
Abbas Murad19-Nov-06 21:11 
AnswerRe: Scoket. Pin
Mark Salsbery20-Nov-06 5:58
Mark Salsbery20-Nov-06 5:58 
GeneralRe: Scoket. Pin
Abbas Murad20-Nov-06 17:41
Abbas Murad20-Nov-06 17:41 
QuestionSerial I/O in Non-Overlapped mode .... Pin
Mohammd Bilal19-Nov-06 21:08
Mohammd Bilal19-Nov-06 21:08 
AnswerRe: Serial I/O in Non-Overlapped mode .... Pin
Roger Stoltz19-Nov-06 21:36
Roger Stoltz19-Nov-06 21:36 
AnswerRe: Serial I/O in Non-Overlapped mode .... Pin
CPallini20-Nov-06 2:24
mveCPallini20-Nov-06 2:24 
QuestionHow to draw the window border by myself ? Pin
samfromcn19-Nov-06 21:08
samfromcn19-Nov-06 21:08 
QuestionHow to get mouse selected text? thanks ... Pin
tiaozi19-Nov-06 20:46
tiaozi19-Nov-06 20:46 
AnswerRe: How to get mouse selected text? thanks ... Pin
Rajesh R Subramanian19-Nov-06 23:20
professionalRajesh R Subramanian19-Nov-06 23:20 
Answerchildfrm Pin
Programm3r20-Nov-06 4:47
Programm3r20-Nov-06 4:47 

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.