 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Thu Feb 01, 2007 6:23 am Post subject: How to put a MainMenu somewhere else as the Form?? |
|
|
Hi there!!
I have created a simple Form which executes the following line in the
Create method:
SetWindowLong(Handle, GWL_STYLE, GetWindowLong(Handle, GWL_STYLE)
AND NOT WS_CAPTION);
So it has no border. In fact, I have then created a skin with images
and different types of buttons, and even used a Region component so
that Form has strange shape... Now I whant to have a Menu.. I thought
that if I created the TMainMenu in the Create event of the form,
setting a TPanel as its Owner, then the MainMenu would be displayed in
the panel. This way, using a flat panel with some color that would
camuflate the panel, it would look like a normal MainMenu only places
"somewhere"...
Well, it does not work and my creativity reach to its end... someone
knows a solution?
Thank you!! |
|
| Back to top |
|
 |
Guest
|
Posted: Wed Feb 28, 2007 4:19 pm Post subject: Re: How to put a MainMenu somewhere else as the Form?? |
|
|
IIRC you can use a frame as the container of the menu to achieve the
effect you want.
HTH,
Uli. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|