FAR_PKF_FLAGS
The members of the FAR_PKF_FLAGS enumeration describe
the state of the shift keys of an event sent to the
ProcessKey function.
Flag | Description |
---|---|
PKF_CONTROL | Ctrl is pressed |
PKF_ALT | Alt is pressed |
PKF_SHIFT | Shift is pressed |
PKF_PREPROCESS | Preprocessing: - FAR passes a "raw" keystroke. This flag is applicable only to the virtual key code (second parameter of the ProcessKey function). |
Remarks
- Since FAR Manager 1.70 build 2052 keyboard events are sent to the plugins with no exclusions
(refer to the remarks on the ProcessKey function).
If the PKF_PREPROCESS flag is set, plugin may ignore calls to
the ProcessKey function. In this case after the input is complete
FAR will form the needed command and pass it to the plugin.
For example, if a user enters "cd ..Enter
" in the command line the plugin receives the sequence " " (every virtual code has the PKF_PREPROCESS flag set).80043h 80044h 80020h 800BEh 800BEh 8000Dh
The plugin may behave in two ways:- process the sequence by itself;
- ignore the calls to ProcessKey with PKF_PREPROCESS set and wait for FAR to call SetDirectory with Dir = "..".
See also: