CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    May 1999
    Location
    FRANCE
    Posts
    1

    HELP : key accelerator

    Hi,

    I have create a menuitem in which I am able to copy/paste data in a static box. Now I would like to associate copy/paste with key combinaison ctrl+c/ctrl+v. I have tried to key accelerator nvertheless I don't know How to associate the id of the key accelerators created with my functions that copy/paste data.
    In fact How can i detect when a user press ctrl+c or ctrl+v ?

    Thanks in advance.

    [email protected]


  2. #2
    Join Date
    May 1999
    Posts
    30

    Re: HELP : key accelerator

    override the OnKey() method and in there you can find out what keys are pressed.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured