Re: Win32Lib: Keypress Issue

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

Derek Parnell wrote:

> > procedure win_FullScreen_onKeyPress (integer self, integer event, sequence
> > params)--params
> > is ( int keyCode, int shift )
> > 	if params[1] = VK_ESCAPE and fullScreenView then
> > 		fullScreenView = w32False
> > 		closeWindow( win_FullScreen )
> > 	end if
> > end procedure
> > setHandler( Screen, w32HKeyPress, routine_id("win_FullScreen_onKeyPress"))

Derek, I was using showWindow() instead of openWindow(). Why does
that make a difference?

A menu click was setting fullScreenView to w32True, then
triggered showWindow() for the fullScreenView. Is that why
the Screen wasn't receiving my ESC press?

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

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

Search



Quick Links

User menu

Not signed in.

Misc Menu