Re: ctrl+V in CComboBox

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Aug 28, 9:18 am, Kuenga <sagku...@xxxxxxxxx> wrote:
Hi,

I have used a CCombox in a toolbar. In the ccombox, when I do right
click, I get menu show Copy, cut and paste etc in the context menu. No
code written for it.
But thru keyboard when I do Ctrl+V, CTrl+C, nothing happens. How to
set this keyboard option also automatically ?

When MFC provided cut, copy and paste automaticcaly on Context Menu in
CCombox why it is not accepting keyboard shortcuts ?

Thanks

Try handling the keyboard combination in PreTranslateMessage of the
combobox.

--
Ajay
.



Relevant Pages

  • Re: ctrl+V in CComboBox
    ... Or setup and accelerator table and use it in the combobox class. ... I have used a CCombox in a toolbar. ... click, I get menu show Copy, cut and paste etc in the context menu. ... But thru keyboard when I do Ctrl+V, CTrl+C, nothing happens. ...
    (microsoft.public.vc.mfc)
  • ctrl+V in CComboBox
    ... I have used a CCombox in a toolbar. ... click, I get menu show Copy, cut and paste etc in the context menu. ... But thru keyboard when I do Ctrl+V, CTrl+C, nothing happens. ...
    (microsoft.public.vc.mfc)