Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. CWnd::CreateControl copy/paste problem

CWnd::CreateControl copy/paste problem

Scheduled Pinned Locked Moved C / C++ / MFC
comhelpdockerlounge
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    Johan O
    wrote on last edited by
    #1

    I'm having a problem with the CreateControl method of the CWnd object. I can create the ActiveX but it seems that the Ctrl-c and Ctrl-v is not forwarded to the Active X but all the general key press works. When i insert the ActiveX in the OLE test container the Ctrl-c and Ctrl-v works fine. Please help me. Thanks

    R 1 Reply Last reply
    0
    • J Johan O

      I'm having a problem with the CreateControl method of the CWnd object. I can create the ActiveX but it seems that the Ctrl-c and Ctrl-v is not forwarded to the Active X but all the general key press works. When i insert the ActiveX in the OLE test container the Ctrl-c and Ctrl-v works fine. Please help me. Thanks

      R Offline
      R Offline
      Ryan Binns
      wrote on last edited by
      #2

      Johan Odin wrote: I can create the ActiveX but it seems that the Ctrl-c and Ctrl-v is not forwarded to the Active X but all the general key press works. Have you got an accelerator table loaded which has those combinations as a shortcut? If so, you'll have to disable it or remove the combinations you want the control to handle.

      Ryan

      "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

      J 1 Reply Last reply
      0
      • R Ryan Binns

        Johan Odin wrote: I can create the ActiveX but it seems that the Ctrl-c and Ctrl-v is not forwarded to the Active X but all the general key press works. Have you got an accelerator table loaded which has those combinations as a shortcut? If so, you'll have to disable it or remove the combinations you want the control to handle.

        Ryan

        "Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"

        J Offline
        J Offline
        Johan O
        wrote on last edited by
        #3

        A very big thanks to you Ryan, now it works!

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups