After going all the steps I described before I began to come across some problems caused by my ignorance.
The first thing I noticed was that Menu class derives from Widget class, that means you skipped the whole Control class tree. Looking at the Win32 code I see the use of OS.CreateMenu() to create a menu with a bar and OS.CreatePopupMenu () to create a popup menu.
You could argue that we could use WinCreateMenu or WinCreateWindow with WC_MENU class to create a menu with a bar and WinPopUpMenu to create a popup. Looking at the docs clearly it takes a lot more than just calling those APIs to come up with a menu in OS/2. First question: is this so?.
The menu API is rich and I'm pretty confident that once I have a handle of a living menu we could quickly replicate the behavior we need.
Any ideas?. In any case I'm going to start calling these APIs and finding out what they do, but in case anyone has experience a helping hand would be reslly good.
Monday, December 10, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment