Need a good unmanaged C ++ OCX example

I need a very simple and clear example of how to create OCX in unmanaged C ++ code. Ideally I would like to use it in Office, but any container (i.e. VB6, .NET WinForms) should be good.

I'm having trouble how I can add controls to the OCX canvas ... I've seen examples of dialogs opening from the OCX load event ... but that's not what I want ... I need a GUI in the OCX itself.

+1


source to share


1 answer


You have viewed this Microsoft tutorial . He uses MFC. If you want to create a windowless control you will need to use ATL.



+2


source







All Articles