Creating a global member

How global members can be created in a vC ++ 6.0 mfc project.

If I select globals option in WizardBar (C ++ WizardBar class) then (C ++ WizardBar members) it displays (No members - Create New Class ...).

How do I create elements for this class of global classes?

+1


source to share


1 answer


If you have global functions in your project, this will show up in the combo box. To see simply declare some c style functions like this

int sum (int a, int b) {return a + b;}

The sum function will now be displayed in the combo box.



"No Members - Create New Class ..." appears in the combo box if a global function is not found in your project.

here "Create New Class ..." tells the user that they can right click to add a new class to the project.

0


source







All Articles