Re: Win32Lib 2nd bug
- Posted by Matthew Lewis <MatthewL at KAPCOUSA.COM> Sep 12, 2000
- 503 views
> -----Original Message----- > From: Al Getz > Sent: Tuesday, September 12, 2000 1:05 PM > To: EUPHORIA at LISTSERV.MUOHIO.EDU > Subject: Win32Lib 2nd bug > > > Win32Lib developers take note: > > quoted from Win32Lib: > > >> > if onEvent[ id ] > 0 then > -- call routine > call_proc( onEvent[ id ], {iMsg, wParam, lParam} ) > << > > The problem: > > Since onEvent doesnt pass the id from WndProc, there is no way > for the user to create his own message map. This is important > with some controls. > > Declaring a global atom such as: > global atom myId > Actually, you don't need to do this. Use the undocumented getSelf() function, and you'll get your id. Matt Lewis