Solved

Move Main menu 10px lower

Posted on 2001-07-13
8
145 Views
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)?
0
Comment
Question by:sorinv
8 Comments
 
LVL 1

Expert Comment

by:saulite
Comment Utility
sorry, think you cannot do it with Delphi standard components

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

Expert Comment

by:mnasman
Comment Utility
Hello

  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
0
 
LVL 22

Expert Comment

by:mnasman
Comment Utility
Hello

  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
0
 
LVL 33

Expert Comment

by:Slick812
Comment Utility
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.
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 

Author Comment

by:sorinv
Comment Utility
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.
0
 

Author Comment

by:sorinv
Comment Utility
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)?
0
 
LVL 26

Expert Comment

by:Russell Libby
Comment Utility
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.
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
Thank you,
Russell

EE Cleanup Volunteer
0
 

Accepted Solution

by:
PashaMod earned 0 total points
Comment Utility
Per recommendation

PashaMod
CS Moderator @Experts Exchange
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

728 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now