Solved

Re-parenting a menu

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

832 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