Results 1 to 9 of 9

Thread: help plugin

  1. #1
    Newbie
    Join Date
    Sep 2008
    Posts
    7

    help plugin

    hello sorry for my english.

    how i detect the keydown and the mouseclick in my plugin?
    can i detect the button click?

  2. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by elektro2000 View Post
    hello sorry for my english.

    how i detect the keydown and the mouseclick in my plugin?
    can i detect the button click?
    This really depends on the language you're using. If you're using VB6, there should be mousedown and keypress events for the objects you want to monitor.

    In mostly any language you can use GetAsyncKeyState (API call) to get the keyboard/mouse state. It all depends on what you're trying to do.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  3. #3
    Newbie
    Join Date
    Sep 2008
    Posts
    7

    re

    i use vb6.
    i want detect when a button in skin is select.how i can it?

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Are you using the extension plugin interface ? or what ?

    You may want to read those if you haven't yet:
    http://www.mp3car.com/vbulletin/rr-f...interface.html (This is the recommended way)
    http://www.mp3car.com/vbulletin/rr-f...cation-rr.html
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  5. #5
    Newbie
    Join Date
    Sep 2008
    Posts
    7

    re

    I use ExtPlug.zip I want to know as I make to intercept from visual basic the selection of a button in the screen of riderunner?

  6. #6
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by elektro2000 View Post
    I use ExtPlug.zip I want to know as I make to intercept from visual basic the selection of a button in the screen of riderunner?
    That's what the extension plugin interface does for you. Every time a user clicks on a button or executes a command RR will call the ProcessCommand() function in your extension plugin -- this allows you to view/monitor and even CHANGE the action of buttons pressed in RR.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  7. #7
    Newbie
    Join Date
    Sep 2008
    Posts
    7

    re

    when i press ok
    but when i move the mouse on the button how i detect?
    and how i say who is the screen at this time?

  8. #8
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by elektro2000 View Post
    when i press ok
    but when i move the mouse on the button how i detect?
    and how i say who is the screen at this time?
    There's no "mouse move" event in the RR interface, it processes the images for the buttons on its own.

    You can get the position of the mouse on the screen using the getcursorpos() API call if you need that for whatever reason, but you should avoid executing things when the mouse is moved.

    To get the current screen in RR you can use RRSDK.GetInfo("RRSCREEN")
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

  9. #9
    Newbie
    Join Date
    Sep 2008
    Posts
    7

    re

    ok thank you guino

Similar Threads

  1. music defaults to first song on open
    By soundman98 in forum Road Runner
    Replies: 18
    Last Post: 11-23-2009, 02:36 AM
  2. Replies: 13
    Last Post: 05-28-2009, 03:18 PM
  3. Replies: 63
    Last Post: 03-10-2009, 07:49 PM
  4. pc reboot on sd startup
    By duanes7 in forum StreetDeck
    Replies: 3
    Last Post: 12-14-2007, 08:55 AM
  5. IRMAN plugin
    By knyarko in forum StreetDeck
    Replies: 3
    Last Post: 01-05-2007, 08:26 PM

Bookmarks

Posting Permissions

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