Solved

Re-parenting a menu

Posted on 1998-09-09
4
143 Views
Last Modified: 2010-04-30
OK - I've got a MDI frame, and in that frame I load a non-MDI Child form, then re-parent the form using the SetParent() API function to the main MDI frame (don't ask me why - its complex!)

ANYWAY - what I now need to do is take the menu (and toolbar, probably) from the child frame and stick it on my main frame (as if I'd just declared the child frame as an MDI child in the first place...)

Any ideas?

Mika
0
Comment
Question by:Mika090998
  • 3
4 Comments
 
LVL 14

Expert Comment

by:waty
Comment Utility
Give mi your e-mail, I have code source to create menu at runtime. Those menu can even contains bitmaps (like in Word).

It works perfectly.

I can send it to you.

Tomorrow, I will add them to my web site. Now, I am leaving to sleep.
0
 
LVL 14

Accepted Solution

by:
waty earned 200 total points
Comment Utility
Give mi your e-mail, I have code source to create menu at runtime. Those menu can even contains bitmaps (like in Word).

It works perfectly.

I can send it to you.

Tomorrow, I will add them to my web site. Now, I am leaving to sleep.
0
 

Expert Comment

by:mskannan
Comment Utility

Hi waty,
I also want the source code for the above.

my mailid is mskannan@yahoo.com

Expecting the source code.
Thanks in advance.
Mskannan
0
 
LVL 14

Expert Comment

by:waty
Comment Utility
mskannan, I will add it today to my web site. Go to it and check it.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now