[Last Call] Learn how to a build a cloud-first strategyRegister Now


Move Main menu 10px lower

Posted on 2001-07-13
Medium Priority
Last Modified: 2010-04-06
How do I make a "toolbar menu" display the "MDI child window" menu
controls (MDI child control menu and minimize, restore and close buttons)?
Question by:sorinv

Expert Comment

ID: 6282656
sorry, think you cannot do it with Delphi standard components

You should be familiar with windows API, to do this.
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6284122

  there's component i think like toolbar, that you can put the menu inside it, so you can change it's position and ur menu will change with it, maybe it's not the best answer, but may help you
LVL 22

Expert Comment

by:Mohammed Nasman
ID: 6284138

  I found what i told you, it's called TMenuToolBar, you can download it from torry.net

  add the MenuToolBar in ur project and set it's property autosize to false, align property to alNone, and autosize to false, then set the top property to 10 or as you want, when u r run ur progam you will find ur menu as down about 10
if you need sample application and the component, email me at nasman@mogaza.org

Mohammed Nasman
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

LVL 34

Expert Comment

ID: 6284545
I looked for some API messages or styles to change the windows OS created menu. It seems that they wanted the menu to be "Standardized" in it's look and placement, to be "familiar" to many users. I don't remember anything about changeing the location of the menu. . . if you could do this I'm sure you'd see menus on the left, right or 10 pixels down, in alot of programs. You can build a menu bar from the parts (toolbar with buttons, dropdown lists, ect) and place it where you want or use a component that looks like a menu bar.

Author Comment

ID: 6284775
It would be nice to place the menu in a toolbar, and actualy I did this a couple of times, but the problem is that I'm using MDI windows and when maximizing a MDI child the child window menu and the minimize, restore and close buttons have to come up in the menu. When simulating it with a toolbar there isn't a way (as far as I know)to show these child window features in the toolbar.

Author Comment

ID: 6289177
So I'm gonna change this question: How do I make a "toolbar menu" display the "MDI child window" menu controls (MDI child control menu and minimize, restore and close buttons)?
LVL 26

Expert Comment

by:Russell Libby
ID: 8702985
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

To be PAQ/Refund

Please leave any comments here within the next seven days.
Thank you,

EE Cleanup Volunteer

Accepted Solution

PashaMod earned 0 total points
ID: 8818655
Per recommendation

CS Moderator @Experts Exchange

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

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

This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses

829 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