Thread: Forcing buttons...

  1. #1
    Registered User
    Join Date
    May 2002
    Posts
    100

    Forcing buttons...

    Hey,

    How is it possible to force keyboard/mouse buttons down... not physicaly, obviously. But how (in Win32) can I force mouse/keyboard buttons down?

    Thanks

  2. #2
    Registered User
    Join Date
    Sep 2004
    Posts
    719
    See WinAPI -
    SendMessage()
    PostMessage()
    i seem to have GCC 3.3.4
    But how do i start it?
    I dont have a menu for it or anything.

  3. #3
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    The following messages should be what you're looking for.
    WM_KEYPRESS
    WM_LBUTTONDOWN
    WM_LBUTTONUP
    WM_RBUTTONDOWN
    WM_RBUTTONUP

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 1
    Last Post: 04-09-2009, 02:31 AM
  2. Ownerdraw buttons (2)
    By maes in forum Windows Programming
    Replies: 7
    Last Post: 09-11-2003, 05:50 AM
  3. Radio Buttons in Visual C++ 6
    By Ripper1 in forum Windows Programming
    Replies: 22
    Last Post: 05-16-2003, 07:54 AM
  4. (Ken Fitlike) buttons
    By jdinger in forum C++ Programming
    Replies: 4
    Last Post: 03-15-2002, 01:21 PM
  5. Grouping radio buttons
    By Bazz in forum Windows Programming
    Replies: 1
    Last Post: 08-28-2001, 07:15 AM