View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004733 | JEDI VCL | 00 JVCL Components | public | 2009-04-06 16:12 | 2009-04-29 15:27 |
Reporter | gpcaretti | Assigned To | obones | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 3.36 | ||||
Target Version | Fixed in Version | 3.37 | |||
Summary | 0004733: TJvDesignSurface: Ctrl-Left/Right/Up/Down and Shift-Left/Right/Up/Down on Windows | ||||
Description | With D2007 the Ctrl-Left/Right/Up/Down and Shift-Left/Right/Up/Down do not work on the design panel (TJvDesignSurface) when is in active mode because the panel does not intercept the "Special Keys" during the WM_KEYDOWN (VK_LEFT, VK_RIGHT, etc.). | ||||
Additional Information | In D2007 the message management loop calls the IsKeyMsg method. IsKeyMsg does not pass on the original key message, but it adds an offset (CN_BASE) to the message ID to turn the original Windows message into a VCL message. So, WM_KEYDOWN becomes CN_KEYDOWN, WM_CHAR becomes CN_CHAR, and so on. For this reason, in order to intercept the special keys the CN_KEYDOWN and CN_KEYUP should be checked in the JvDesignSurface unit. Please, find attached the proposed patch I added to the above unit officially released in JVCL 3.36 (look for GpCaretti) | ||||
Tags | No tags attached. | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-04-06 16:12 | gpcaretti | New Issue | |
2009-04-06 16:12 | gpcaretti | File Added: JvDesignSurface.pas | |
2009-04-29 15:27 | obones | Note Added: 0015477 | |
2009-04-29 15:27 | obones | Status | new => resolved |
2009-04-29 15:27 | obones | Fixed in Version | => Daily / SVN |
2009-04-29 15:27 | obones | Resolution | open => fixed |
2009-04-29 15:27 | obones | Assigned To | => obones |