Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 24

Thread: RR should unset the hover state of buttons after a timeout.

  1. #11
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    Quote Originally Posted by guino
    This is EXACTLY WHY those calls are there -- to prevent labels from flashing.
    That's what I discovered. Hence, in my previous change there's a missing ValidateRect() call for the new code to unset the button on hover out in order to stop flashing in that scenario. However, those calls to ValidateRect() shouldn't be necessary. I'll keep digging to see if I can work out why they are needed with the current code since it intrigues me.
    Quote Originally Posted by guino
    This is VB -- there's NOTHING fast about it.. probably the PaintPicture procedure is at fault (specialy when scaling is being used).. I just didn't want to go throgh the trouble of using API calls when the result was fairly decent as it is.. honestly I don't know what all the fuss about speed/cpu usage is.. you've always had the option to turn off those things and save your 2% CPU extra usage..
    Well, after reviewing the cpu usage actually on my Car PC, I'm more inclined to agree with you. I see 2-5% cpu usage with the flashing mute button versus 8-25% on my Tablet PC! My Car PC is faster (AMD1900+ vs P3-866) but I wouldn't have expected such a big difference in perf. My Tablet PC does have a really crappy video chip so that could be contributing. 2% is a much more reasonable amount of cpu usage for what's happening.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  2. #12
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    The Empty screen
    So that's what it's for! I had been wondering. I can see why people wouldn't bother - hiding the buttons would make a skin really ugly. Better to have them present but unclickable in my opinion.

    I have been wondering about adding options in the skin definition files for adjustable button lists so you can easily alter the contents and still have it look good.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  3. #13
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    Quote Originally Posted by archimense
    I addition to this problem, I have found that it is possible to place the cursor between two buttons, and have RR flicker back and forth between them.
    My fix above basically stops this too as a side effect even with a badly set up skin.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  4. #14
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    Quote Originally Posted by Arathranar
    That's what I discovered. Hence, in my previous change there's a missing ValidateRect() call for the new code to unset the button on hover out in order to stop flashing in that scenario. However, those calls to ValidateRect() shouldn't be necessary. I'll keep digging to see if I can work out why they are needed with the current code since it intrigues me.
    The reason is simple: VB Invalidates the WHOLE window when you draw something on it.. that causes all objects in it to redraw/flash... as I mentioned in my message, VB sucks..
    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. #15
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    Where do the labels / slider thumb get drawn? I'm struggling to work those out.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  6. #16
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    the labels are created with the addlbl sub.. they're then adjusted after the skin is loaded and ready to be shown in "dolabels" .. their contents is updated in UpdateScreen... the list objects have their own methods...

    Sliders are updated in UpdateSliders and are drawn in the same fashion as the buttons..
    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. #17
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    I found the code to update the text content / slider position. What I don't understand is how they get drawn. For e.g. I can disabled the UpdateSliders sub and the thumb stops moving but does still get drawn. I'm trying to work out how to prevent it drawing so I can get a better handle on how VB works.
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  8. #18
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    the pointer is loaded into an image container when the slider is defined.. that's why it is "drawn".. updateslider just moves the image around when it needs to..
    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. #19
    FLAC
    Join Date
    Sep 2004
    Posts
    1,577
    Light dawns...
    Progress: 80% - Permanent install left.
    Motion LS800 Tablet PC and dock.
    Vista, Bu-535 GPS, RoadRunner, MPT2006.

  10. #20
    FLAC mauri's Avatar
    Join Date
    Jan 2004
    Posts
    1,039
    After install the 19/3 update,one problem:

    Launch the Radio, this work ok, but after I open the Audio player, hide all my Playlist (settings correctly in the RR config).
    This only after the update 19/3.

    Mauri

Page 2 of 3 FirstFirst 123 LastLast

Similar Threads

  1. I-BUS sterring buttons now working for RR
    By CdRsKuLL in forum Road Runner
    Replies: 51
    Last Post: 06-19-2007, 08:13 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
  •