Re: Macro naming support
James Rich <[email protected]>
| Newsgroups | gmane.comp.emulators.tn5250 |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 12 May 2010, Scott Klement wrote: >> 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. Well I don't even have a Windows machine to test on, so I won't make any changes to use the macro naming support in win32. I was hopeful it would have been something trivial that I could take a pretty good stab at. Instead I'll leave this to mightier Windows programmers than I. My next steps are to make macro replay work in x5250 by clicking on the macro menu items and then adding support for naming the macro with x5250 itself. I've already written the necessary support in lib5250 for writing macro names, I just need a text entry dialog in x5250 to allow the user to enter the name. James Rich if you want to understand why that is, there are many good books on the design of operating systems. please pass them along to redmond when you're done reading them :) - Paul Davis on ardour-dev -- 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.