🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
2 messages
2 total messages Started by Renald Yazmir Thu, 20 Dec 2007 19:57
How to increase vertical size of the menu bar in the main window?
#925
Author: Renald Yazmir
Date: Thu, 20 Dec 2007 19:57
20 lines
1302 bytes
Hello,



I have an application that has main window with menu(File, Edit, View.) and 
child windows without menu.



I want to increase the vertical size of the menu bar in the main window so I 
can put custom pictures under the menu.

Currently I am using CreateWindow(...).  Should I use CreateWindowEx(.) 
instead and with what parameters?



Thank you

Rony
Re: How to increase vertical size of the menu bar in the main window?
#926
Author: Remy Lebeau (TeamB)
Date: Fri, 21 Dec 2007 03:44
18 lines
1514 bytes
"Renald Yazmir" <renald@partmaker.com> wrote in message
news:476ac922$1@newsgroups.borland.com...

> I want to increase the vertical size of the menu bar in the
> main window so I can put custom pictures under the menu.

You can't change the size of menus.  They are controlled by the OS globally.
Use a ToolBar instead.

> Currently I am using CreateWindow(...).  Should I use
> CreateWindowEx(.) instead and with what parameters?

You don't create menus using CreateWindow/Ex(), as menus have no window to
begin with.


Gambit
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads