[Freemint-list] Remove a window menubar

Jean-François Lemaire jflemaire at skynet.be
Sat Oct 1 13:41:49 MSD 2016


Hi,

I'm wondering if it's at all possible to remove a menubar attached to a 
window with
     win_set(handle, WF_MENU, ...);

TOSHYP does not give any info about this capability.

Since one can remove a toolbar with the call
     wind_set(handle, WF_TOOLBAR, NULL, NULL, ...);

I tried
     wind_set(handle, WF_MENU, NULL, NULL,...);

but NULL pointers are not accepted parameters. So it doesn't seem to be 
possible -- unless there's a new feature I'm missing.

Cheers,
JFL
-- 
Jean-François Lemaire


More information about the Freemint-list mailing list