Re: Win32Lib 2nd bug

new topic     » goto parent     » topic index » view thread      » older message » newer message

> -----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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu