Click here to Skip to main content
15,499,723 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Template Class Pointer - Would like explanation for unexpected behavior Pin
the_foobar3-Dec-14 21:26
Memberthe_foobar3-Dec-14 21:26 
AnswerRe: Template Class Pointer - Would like explanation for unexpected behavior Pin
Volynsky Alex5-Nov-14 0:12
professionalVolynsky Alex5-Nov-14 0:12 
QuestionERROR No Target Architecture Pin
ForNow1-Nov-14 18:05
MemberForNow1-Nov-14 18:05 
SuggestionRe: ERROR No Target Architecture Pin
Richard MacCutchan1-Nov-14 23:03
mveRichard MacCutchan1-Nov-14 23:03 
GeneralRe: ERROR No Target Architecture Pin
ForNow2-Nov-14 5:04
MemberForNow2-Nov-14 5:04 
GeneralRe: ERROR No Target Architecture Pin
Richard MacCutchan2-Nov-14 6:49
mveRichard MacCutchan2-Nov-14 6:49 
QuestionHow to protect a member function Pin
Drugodrf31-Oct-14 5:35
MemberDrugodrf31-Oct-14 5:35 
AnswerRe: How to protect a member function Pin
Jochen Arndt31-Oct-14 6:18
professionalJochen Arndt31-Oct-14 6:18 
It seems that you are looking for friend[^].

For your example you can make your CEdit derived class a friend class of the spin control class:
C++
class CMyEdit : CEdit {
 friend class CMySpinControl;
protected:
 // This can be called from CMySpinControl.
 void MyFunction();
};

AnswerRe: How to protect a member function Pin
Chris Losinger31-Oct-14 6:18
professionalChris Losinger31-Oct-14 6:18 
GeneralRe: How to protect a member function Pin
Drugodrf3-Nov-14 3:31
MemberDrugodrf3-Nov-14 3:31 
AnswerRe: How to protect a member function Pin
Albert Holguin3-Nov-14 12:39
professionalAlbert Holguin3-Nov-14 12:39 
AnswerRe: How to protect a member function Pin
Aescleal4-Nov-14 3:29
MemberAescleal4-Nov-14 3:29 
GeneralRe: How to protect a member function Pin
Drugodrf4-Nov-14 8:41
MemberDrugodrf4-Nov-14 8:41 
GeneralRe: How to protect a member function Pin
Aescleal4-Nov-14 22:27
MemberAescleal4-Nov-14 22:27 
QuestionI can't figure out why my program is not running Pin
Member 1119464630-Oct-14 19:47
MemberMember 1119464630-Oct-14 19:47 
AnswerRe: I can't figure out why my program is not running Pin
enhzflep30-Oct-14 22:12
Memberenhzflep30-Oct-14 22:12 
QuestionResources for OOP practice for C++ Pin
Member 1119427030-Oct-14 15:12
MemberMember 1119427030-Oct-14 15:12 
AnswerRe: Resources for OOP practice for C++ Pin
Richard MacCutchan30-Oct-14 23:52
mveRichard MacCutchan30-Oct-14 23:52 
GeneralMessage Closed Pin
1-Nov-14 20:47
Member4india1-Nov-14 20:47 
GeneralRe: Resources for OOP practice for C++ Pin
Richard MacCutchan1-Nov-14 22:53
mveRichard MacCutchan1-Nov-14 22:53 
GeneralRe: Resources for OOP practice for C++ Pin
OriginalGriff16-Nov-14 23:37
mveOriginalGriff16-Nov-14 23:37 
GeneralRe: Resources for OOP practice for C++ Pin
Richard MacCutchan16-Nov-14 23:46
mveRichard MacCutchan16-Nov-14 23:46 
QuestionDump file creation Pin
HungryCPPDev29-Oct-14 21:52
MemberHungryCPPDev29-Oct-14 21:52 
AnswerRe: Dump file creation Pin
den2k8830-Oct-14 1:37
professionalden2k8830-Oct-14 1:37 
GeneralRe: Dump file creation Pin
HungryCPPDev30-Oct-14 21:37
MemberHungryCPPDev30-Oct-14 21:37 

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.