Re: commit: Re: commit: Menu Strings stored in .strings


Subject: Re: commit: Re: commit: Menu Strings stored in .strings
From: Michael D. Pritchett (mpritchett@attglobal.net)
Date: Tue Oct 30 2001 - 23:15:05 CST


----- Original Message -----
From: "Martin Sevior" <msevior@mccubbin.ph.unimelb.edu.au>
Sent: Tuesday, October 30, 2001 9:19 PM

> HI Micheal,
> I agree with the sentiment of this commit but there is an
> important detail we've got to consider.
>
> Dynamic menu Labels used to work by creating an entire copy of the menu's
> stored in memory. We needed to do this because the old menu's were deleted
> upon closing a frame. I think this is still the way to go because
> otherwise menus and lables in widgets may get out of synch with the XP
> menus and labels stored at the XAP_App level.
>
> Given this we need to modify you label code to return a copy of the stored
> label set with the GenerateLabelSet method.
>
> This is what this commit does. Less than 1 LOC coz the original author
> woz so smart :-)
>
> Aiksaurus loads now.
>
> Cheers!
>
> Martin
>
Martin -

Thank for fixing the oversight. There are still a couple of Dynamic Menu
issues that will need to be resolved. Specifically restoring the previous
labelset, but I need to build a Win32 test plugin that manipulates the menu
system. Either that or graduate to the Linux level of development.

Before I do that, I want to manipulate the TBSets along the same line as the
menus. Strings would be part of the .strings files and xpms would be
handled by an icon class similarly to StringSet structure.

Cheers!

Michael D. Pritchett



This archive was generated by hypermail 2b25 : Tue Oct 30 2001 - 23:22:01 CST