Re: Machile level exception

new topic     » goto parent     » topic index » view thread      » older message » newer message
bernie said...

Don:
I don't use the win32lib as I see things are different than the way
I do things.
It looks like you might have to use returnValue() to reset at
the end of your procedure.

I don't know, you will have to get whoever is maintaining the win32lib
to help you.
Bernie

Thanks Bernie for trying to help.

I found this works:

procedure check(integer self, integer event, sequence params)    
     if params[1]=116 then--f5 
        showWindow(Window1,SW_HIDE) 
     elsif params[1]=117 then--f6 
        showWindow(Window1,SW_SHOWMAXIMIZED) 
     end if 
end procedure 
setHandler(Screen,w32HKeyDown,routine_id("check")) 
 

With two problems I can live with.

1.) I have to hit F5 twice before F6 works.

I think this is because the keyboard buffer must be cleared. I don't know how to do that with win32lib.

2.)When F6 works the window is minimized in the taskbar not maximixed.

At least it's working some what.

Thanks again Don Cole

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

Search



Quick Links

User menu

Not signed in.

Misc Menu