[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [AES DOC] menu_bar extension



Hello,

On Mon, 4 Oct 2004 19:23:00 +0200, Gerhard Stoll <Gerhard_Stoll@b.maus.de> wrote:

What I think is. N.AES can hide (MENU_HIDDEN) the menubar. It will visible if you click in the area of the menubar (MENU_PULLDOWN) or if you go with the
mouse to this area. Also you can give the pulldown menus a shadow
(MENU_SHADOWED). So is MENU_GETMODE and MENU_SETMODE the parameter with set or
get the menubar mode.

I think so too... but how to use them ?

The prototype is menu_bar(OBJECT * me_tree, short me_mode)

with MENU_INSTALL and MENU_REMOVE, me_tree is a pointer to the menu to install or remove, and the function returns an error code.

with MENU_INQUIRE, me_tree is unused and the function returns an application ID.

what about MENU_GETMODE ? me_tree is unused and the function returns a bitmap variable (MENU_HIDDEN | MENU_PULLDOWN | MENU_SHADOWED) ?

what about MENU_SETMODE ? me_tree is not a pointer, but a bitmap variable (MENU_XXX), and what does the function returns ? The mode really set (a bitmap variable) ?

MENU_UPDATE is maybe to redraw the menubar.

I think so too... but once again: what should we set in me_tree and what does the function returns ?


Do you want a other question about N.AES? What means:
-------------------------------cut-------------------------------
/* shel_write  */
#define AP_AESTERM	52	/* for mode 10: N.AES complete termination */
-------------------------------cut-------------------------------

I see you are with the shell library... I'll be there in 5 libraries (menu_xxx, objc_xxx, rsrc_xxx, scrp_xxx and then shel_xxx) ;)

best regards,
Arnaud.