?
Solved

Re-parenting a menu

Posted on 1998-09-09
4
Medium Priority
?
149 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 14

Expert Comment

by:waty
ID: 1433830
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 400 total points
ID: 1433831
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
ID: 1433832

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
ID: 1433833
mskannan, I will add it today to my web site. Go to it and check it.
0

Featured Post

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses
Course of the Month7 days, 21 hours left to enroll

765 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