Article View: comp.windows.interviews
Article #634Event processing problem
From: Woersinger Diplomand von ASK
Date: Tue, 29 Sep 1992 14:34
Date: Tue, 29 Sep 1992 14:34
26 lines
1322 bytes
1322 bytes
hi,
some days ago, I sent article #3825.
(Remember:
I want to define menus in the resourcefile, including some accelerators.
(see "../lib/all/app-defaults/Doc")
I tried to walk through "doc" using a debugger, but ...
Has anyone succeded to define applicationmenus in the resourcefile including
the use of accelerators ?
)
I succeded creating a keymap (similar to doc).
Now I have a special problem to process the (accelerator)keys pressed.
I'm still walking through "doc" to get some ideas.
Pressing a key, Event::handle() calls DocumentViewer::event().
BUT, how Event::handle() knows, which function is to be called when a key is pressed?
Thanks in advance
Rolf-Martin Woersinger Akademische Software Kooperation (ASK)
woersi@lodsun1.lod.uni-karlsruhe.de Karlsruhe, Germany +49-721-695639
Technical Details
Message-ID:
<9209291434.AA03689@lodsun1.lod.uni-karlsruhe.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!LODSUN1.LOD.UNI-KARLSRUHE.DE!woersiShow Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!LODSUN1.LOD.UNI-KARLSRUHE.DE!woersi From: woersi@LODSUN1.LOD.UNI-KARLSRUHE.DE (Woersinger Diplomand von ASK) Subject: Event processing problem Message-ID: <9209291434.AA03689@lodsun1.lod.uni-karlsruhe.de> Sender: news@shelby.stanford.edu (USENET News System) Organization: Internet-USENET Gateway at Stanford University Date: Tue, 29 Sep 1992 14:34:29 GMT Lines: 26