Click here to Skip to main content
15,912,319 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: C++ HELL : Object Addresses Pin
TheGreatAndPowerfulOz11-Mar-05 16:27
TheGreatAndPowerfulOz11-Mar-05 16:27 
GeneralRe: C++ HELL : Object Addresses Pin
jan larsen13-Mar-05 22:16
jan larsen13-Mar-05 22:16 
Generalwindows.h / MessageBox Pin
doneirik11-Mar-05 0:15
doneirik11-Mar-05 0:15 
GeneralRe: windows.h / MessageBox Pin
vikramlinux11-Mar-05 0:53
vikramlinux11-Mar-05 0:53 
GeneralRe: windows.h / MessageBox Pin
Mike Dimmick11-Mar-05 2:21
Mike Dimmick11-Mar-05 2:21 
GeneralProperty headache Pin
Lord Phoenix10-Mar-05 23:06
Lord Phoenix10-Mar-05 23:06 
GeneralRe: Property headache Pin
Mircea Puiu11-Mar-05 4:27
Mircea Puiu11-Mar-05 4:27 
GeneralRe: Property headache Pin
Lord Phoenix11-Mar-05 5:26
Lord Phoenix11-Mar-05 5:26 
You're right, not exactly what I wanted, but it might actually work, haven't tried that yet.

Do you know the Treeview control ? You can type TreeView1.Nodes.Count which will return the number of existing nodes.

Although this really has nothing to do with it, the concept is the same.

I want whoever is using my control to access both the Control Class (MyClass) and a few other internal classes (MyClass2) in the same manner.

Using the TreeView example, MyControl is the TreeView, Nodes is the property which if it ever works will map (MyClass2) and Count is some property or method of MyClass2.

Hope this clarifies it. In a COM this is reasonably easy to achieve, but it seams I can't get it to work with an OCX.

Thanks for your help, if you think of anything else please do share.

Best regards,

----------------
Lord Phoenix
----------------
GeneralRe: Property headache Pin
includeh1011-Mar-05 4:32
includeh1011-Mar-05 4:32 
GeneralRe: Property headache Pin
Lord Phoenix11-Mar-05 5:27
Lord Phoenix11-Mar-05 5:27 
GeneralMDI Document with data from UDP Pin
schultz.tom10-Mar-05 22:54
schultz.tom10-Mar-05 22:54 
GeneralRe: MDI Document with data from UDP Pin
Neville Franks11-Mar-05 2:56
Neville Franks11-Mar-05 2:56 
GeneralRe: MDI Document with data from UDP Pin
schultz.tom11-Mar-05 8:42
schultz.tom11-Mar-05 8:42 
GeneralRe: MDI Document with data from UDP Pin
Neville Franks11-Mar-05 9:39
Neville Franks11-Mar-05 9:39 
GeneralRe: MDI Document with data from UDP Pin
schultz.tom11-Mar-05 12:21
schultz.tom11-Mar-05 12:21 
GeneralCreating MDI Child windows Pin
laiju10-Mar-05 22:37
laiju10-Mar-05 22:37 
QuestionHow to set background colours for texts in a treeCtrl or CTreeView? Pin
AnoopVarma10-Mar-05 21:36
AnoopVarma10-Mar-05 21:36 
AnswerRe: How to set background colours for texts in a treeCtrl or CTreeView? Pin
Mircea Puiu11-Mar-05 5:05
Mircea Puiu11-Mar-05 5:05 
GeneralExecution timing issue Pin
marco.marsella10-Mar-05 21:21
marco.marsella10-Mar-05 21:21 
GeneralRe: Execution timing issue Pin
Branislav11-Mar-05 2:00
Branislav11-Mar-05 2:00 
GeneralEditable Print Preview Pin
henky_arektc9710-Mar-05 20:53
henky_arektc9710-Mar-05 20:53 
GeneralQuick and dirty C++ managed memory Pin
Ron Waller10-Mar-05 18:11
Ron Waller10-Mar-05 18:11 
Generalsave BMP to JPG Pin
kd834110-Mar-05 17:32
kd834110-Mar-05 17:32 
GeneralRe: save BMP to JPG Pin
V.10-Mar-05 21:09
professionalV.10-Mar-05 21:09 
GeneralRe: save BMP to JPG Pin
kd834111-Mar-05 4:15
kd834111-Mar-05 4:15 

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.