On Monday, October 25, 2010 08:14:03 pm Paul McNett wrote: > On 10/25/10 8:09 PM, Ed Leafe wrote: > > On Oct 25, 2010, at 10:59 PM, Paul McNett wrote: > >> bindKey() doesn't seem to work very consistently across platforms, even > >> with unshifted characters. > >> > > Windows uses the RawKeyCode, while Mac/Nix uses KeyCode. There are a few > > other little quirks, but that's the main one. > > > >> But forgetting that for the moment, I think we need an overridden > >> bindKey() at the dTextBoxMixin level that actually binds to EVT_CHAR > >> and checks the key bindings table and if found, calls the function. > >> > > Something like that would probably work, but I was hoping to be able to > > figure out if it was possible to solve generically. > > Yeah, it would be good to handle in KEY_DOWN which all windows can receive. > We'd have to somehow get a mapping of the current keyboard's layout > against the key codes and modifier keys. Should be doable but I don't have > any specifics. > > Paul
And what happens when the special keys are pressed on all the different keyboard out there! Johnf _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/[email protected]
