Menus
Post date
Wed, 11/12/2025 - 11:44
Hi,
I'd like to know what is the good practice to implement menus in AmigaOS 3.2 windows.
I didn't find any examples icluding a menu in the SDK (NDK3.2R4).
In OS 4, I use menuclass objects (T_ROOT,T_MENU,T_ITEM) but they don't seem to exist in AmigaOS 3.2.
What is the way to follow ? The usual struct Menu, struct MenuItem, SetMenuStrip... ?
Bonus question ; What does "WA_NewLookMenus, TRUE," do? I ask the question because it's included in a few SDK examples that don't have any menus (like glyph.c for example).
Thanks in advance!
Online Status
I use CreateMenus/LayoutMenus from gadtools.library and NewMenu structure for definition. WA_NewLookMenus makes menus to look OS3-like (white backgroud, black text, black frames around menu boxes) instead of OS2-like.