How to protect a function member
Managed C++/CLI
1
Posts
1
Posters
1
Views
1
Watching
-
Hi to all, i write a class (A) that works with an object from another class (B); class B needs to call a method from class A, but i would like to this function from class A it's not visible when i use class A for my projects. Example: i write a numeric edit that use spin button; i write an spin button class derived from CSpinButtonCtrl and an edit class derived from a CEdit; edit have a function MyFunction() called from spin button class. So, when i use numeric edit in my projects, i would like to MyFunction() and also all class spin button are not visible (protected). What is the correct way to do that, if it's possible ? Thanks