Link to home
Start Free TrialLog in
Avatar of dragosh
dragosh

asked on

CDialogBar & CComboBox

hi

I have a DialogBar with a combo box (dropdown) ... I want to catch Ctrl+C(copy) and Ctrl+V(paste) events for the combo's inner edit control .. to copy content and to paste content in combo when the focus is there

how can I do that ??

rgds
ASKER CERTIFIED SOLUTION
Avatar of Roshan Davis
Roshan Davis
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dragosh
dragosh

ASKER

hi roshmon

i don't think i understand .. how this will help me to copy/paste text from combo box ??

10x
derive a class from CEdit.
declare the object of CEdit derived class in the dialog class.
subclass as per the above code

In ur derived class map the onKey down , syskey down etc,

from there u can check the key strokes

GOOD LUCK
Avatar of dragosh

ASKER

hi

i got it .. let me try it and i'll come back later

10x again
Okay
Try it

GOOD LUCK
Avatar of dragosh

ASKER

hi

10x for your tips .. the points are yours

rgds