Solved

Re-parenting a menu

Posted on 1998-09-09
4
148 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 200 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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…

707 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