"setting" instead of "getting"

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dayne

    "setting" instead of "getting"

    I know I can get the user's last input info with the win32 function
    "GetLastInputIn fo", but how do I set this value without any physical input
    from the user? Any idea?

    DT


  • Mike Labosh

    #2
    Re: "setting&q uot; instead of "getting&q uot;

    >I know I can get the user's last input info with the win32 function[color=blue]
    > "GetLastInputIn fo", but how do I set this value without any physical input
    > from the user? Any idea?[/color]

    Use SendMessage to send the keyboard events to your form's hWnd so as to
    pretend the user input something?

    --
    Peace & happy computing,

    Mike Labosh, MCSD
    "I have no choice but to believe in free will."


    Comment

    • Mike Labosh

      #3
      Re: "setting&q uot; instead of "getting&q uot;

      >I know I can get the user's last input info with the win32 function[color=blue]
      > "GetLastInputIn fo", but how do I set this value without any physical input
      > from the user? Any idea?[/color]

      Use SendMessage to send the keyboard events to your form's hWnd so as to
      pretend the user input something?

      --
      Peace & happy computing,

      Mike Labosh, MCSD
      "I have no choice but to believe in free will."


      Comment

      • Herfried K. Wagner [MVP]

        #4
        Re: "setting&q uot; instead of "getting&q uot;

        "Dayne" <d_jermaine_t@h otmail.com> schrieb:[color=blue]
        > [...][/color]

        Why not stay in the old thread?

        --
        Herfried K. Wagner [MVP]
        <URL:http://dotnet.mvps.org/>

        Comment

        • Herfried K. Wagner [MVP]

          #5
          Re: &quot;setting&q uot; instead of &quot;getting&q uot;

          "Dayne" <d_jermaine_t@h otmail.com> schrieb:[color=blue]
          > [...][/color]

          Why not stay in the old thread?

          --
          Herfried K. Wagner [MVP]
          <URL:http://dotnet.mvps.org/>

          Comment

          Working...