Re: [AD] new window hooks patch

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


> Back to my patch. Now when the user hits the close window button, an ESC
> keypress is simulated and the hook function is called (if set).
But wouldn't it better than the default close hook at first would simulate a
ESC keypress BUT the user could override it setting other one? (i mean, to
not force the user to always get a simulated ESC keypress)
So, for example, If dont want in my program close button to simulate a ESC
keypress, I'll set another hook that wont simulate it, but to will do any
other thing



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/