Forward Total Commander Lister view-mode keys 1-8 to the parent Lister window - #8
Open
xrmb wants to merge 1 commit into
Open
Forward Total Commander Lister view-mode keys 1-8 to the parent Lister window#8xrmb wants to merge 1 commit into
xrmb wants to merge 1 commit into
Conversation
…ter window The IE WebBrowser control and the RichEdit raw-source pane were consuming the WM_KEYDOWN messages for the digit keys 1-8, which Total Commander uses to switch between Lister view modes. Intercept those keys in the subclassed window procedures and post them to the Lister window (the parent of the plugin container) so TC can handle them again. Fixes the 1-8 view-mode shortcuts while keeping the plugin's own Ctrl+* hotkeys and internal navigation intact.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
WM_KEYDOWNmessages for the digit keys1-8, which Total Commander uses to switch Lister view modes.forward_key_to_lister()helper that posts the key to the Lister window (the parent of the plugin container).1-8andVK_NUMPAD1-VK_NUMPAD8in bothIEServerSubclassProcandTextViewSubclassProcand forward them to TC.Test plan
mdview.wlxmdview.wlx641-8in the MDView lister to switch view modesEscapestill closes the find bar/TOC/help as before