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. SendInput delay :(

SendInput delay :(

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
2 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.
  • G Offline
    G Offline
    Goa
    wrote on last edited by
    #1

    hello! i have a problem with SendInput function... i need to simulate the Ctrl+C... and after it i'm getting the text string from Clipboard... but there is a delay between the SendInput is called and the keys are simulated... :( and when i'm getting the text from Clipboard, i'm getting the old Clipboard data... what should i do? maybe i need to use some delay function after SendInput?... if you know any delay functions, please tell me...

    M 1 Reply Last reply
    0
    • G Goa

      hello! i have a problem with SendInput function... i need to simulate the Ctrl+C... and after it i'm getting the text string from Clipboard... but there is a delay between the SendInput is called and the keys are simulated... :( and when i'm getting the text from Clipboard, i'm getting the old Clipboard data... what should i do? maybe i need to use some delay function after SendInput?... if you know any delay functions, please tell me...

      M Offline
      M Offline
      Michael Dunn
      wrote on last edited by
      #2

      Install a clipboard viewer, and you'll know exactly when the contents of the clipboard change. See my article ClipSpy in the clipboard section, which demonstrates a clipboard viewer. --Mike-- http://home.inreach.com/mdunn/ "Not our fault we are intellectually superior to the rest of the office." -- Paul Watson in the Lounge, 12/12/2001 Sonork - 100.10414 AcidHelm

      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