Re: Macro naming support

Scott Klement <[email protected]>
Newsgroups gmane.comp.emulators.tn5250
Message-ID <[email protected]>
On 5/12/2010 1:55 PM, James Rich wrote:
> I looked at this code and thought it couldn't be the "full" macro code
> because it appears to only support 4 macros.  Is that correct, that win32
> only supports up to 4 macros?  Granted, lib5250 only supports 24 macros...

The menu only has 4 macros.
You can still use all 24 macros, you just have to press the F-keys.


> I'm guessing that tn5250-res.rc defines static structures.  Since the
> macro names aren't known until runtime, I'm not sure how I could modify
> win32 to pick up the macro names.

I suspect that there's an API you can call to change the names of the 
menu items -- but I'm not really a Windows programmer, so I don't know 
what it is off the top of my head.  I'd have to Google around.
-- 
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: LINUX5250-Zwy7GipZuJhWk0Htik3J/[email protected]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: LINUX5250-request-Zwy7GipZuJhWk0Htik3J/[email protected]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.