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
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

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
Industry Leaders: 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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
Suggested Courses

800 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