Link to home
Start Free TrialLog in
Avatar of sorinv
sorinv

asked on

Move Main menu 10px lower

How do I make a "toolbar menu" display the "MDI child window" menu
controls (MDI child control menu and minimize, restore and close buttons)?
Avatar of saulite
saulite

sorry, think you cannot do it with Delphi standard components

You should be familiar with windows API, to do this.
Avatar of Mohammed Nasman
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
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
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.
Avatar of sorinv

ASKER

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.
Avatar of sorinv

ASKER

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)?
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
ASKER CERTIFIED SOLUTION
Avatar of PashaMod
PashaMod

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial