Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Can an ActiveX Form add to the containers main menu?



Permlink Replies: 1 - Last Post: May 26, 2014 4:10 PM Last Post By: Remy Lebeau (Te... Threads: [ Previous | Next ]
Gregor Brandt

Posts: 108
Registered: 12/9/09
Can an ActiveX Form add to the containers main menu?
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 24, 2014 1:20 PM
Hi All,

I have an ActiveX form that I insert into an ancient VC6 application. I have source for and compilers for both.

I would like the ActiveX form to add to the VC6 MFC main menu, is this possible? Or do I have to add to the main menu in the VC6 MFC container and call ActiveX methods to perform duties?

Thanks,.
Gregor
Remy Lebeau (Te...


Posts: 9,447
Registered: 12/23/01
Re: Can an ActiveX Form add to the containers main menu?
Click to report abuse...   Click to reply to this thread Reply
  Posted: May 26, 2014 4:10 PM   in response to: Gregor Brandt in response to: Gregor Brandt
Gregor wrote:

I would like the ActiveX form to add to the VC6 MFC main menu,
is this possible?

You would have to resort to raw Win32 API calls to locate and manipulate
the menu, there is nothing in ActiveX to handle that for you.

Or do I have to add to the main menu in the VC6 MFC
container and call ActiveX methods to perform duties?

That would work, too.

--
Remy Lebeau (TeamB)
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02