![]() |
CXTPControlEdit in CommandBar Accel bug |
Post Reply ![]() |
Author | |
vladsch ![]() Newbie ![]() Joined: 04 February 2004 Location: Canada Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() Posted: 28 March 2004 at 10:26am |
The current implementation of the command bars does not pre-translate messages that are needed by the CEdit control in a CXTPControlEdit. This bug applies to all CEdit controls in toolbars and menus, including the Caption edit box in the customize menu mode. The problem arises if the keys used by CEdit (left, right, backspace, delete, Ctrl-z, Ctrl-y, etc.) are mapped to command IDs in the accelerator table for use by the application. These commands are translated and passed to CEdit which ignores them. To duplicate the bug, modify the CustomThemes sample by adding entries to the Accelerator table in resources for the Return, Backspace or any other keys used by an Edit box during editing. Run the application, click on the edit box in the command bar and try to use the mapped edit keys. Keys will be ignored. The solution is to add the following code to
Edited by vladsch |
|
![]() |
|
Oleg ![]() Admin Group ![]() Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
![]() ![]() ![]() ![]() ![]() |
fixed.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |