Results 1 to 6 of 6

Thread: Media Center

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Posts
    331

    Media Center

    I am trying to make an app like Media Center on Windows XP. I have everythign done exept the cool buttons. I have regular buttons that I cannot control by pressing the down/up keys. How do I get them to work??

  2. #2
    Addicted Member Phreak's Avatar
    Join Date
    Oct 2005
    Location
    Netherlands
    Posts
    132

    Re: Media Center

    What do you actually want that the buttons do if you press the
    up/down button ? Want to switch to another button on the form ?

    I never used Media Center, so thats why i ask
    If i gave you good code/help, then dont forget to RATE
    Dont forget to mark your thread [Resolved] with the tools from the menu above...

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Posts
    331

    Re: Media Center

    Yeah so basically lets say I have 5 buttons on my form. When I load it up I want one of them to be selected, then when I press down it selects the button below it.

  4. #4
    Member frix199's Avatar
    Join Date
    Dec 2005
    Location
    Thessaloniki, Greece iamthebest: True
    Posts
    59

    Re: Media Center



    hey yaall!!!!
    this is my forst post in this forums

    ok enough with theese. lets start helping.
    -----------------------------------------
    make a button with a cool img or a customcontrol with imports from button, and some additional features.
    then:
    VB Code:
    1. Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown
    2.         If e.KeyValue = Keys.Down Then Me.Button2.Focus()
    3.     End Sub
    4.  
    5.  Private Sub Button2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button2.KeyDown
    6.         If e.KeyValue = Keys.Down Then Me.Button3.Focus()
    7.     End Sub
    8.  
    9. //etc...



    Wish me a good start!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
    Last edited by frix199; Dec 18th, 2005 at 06:53 AM.

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2005
    Posts
    331

    Re: Media Center

    Yes, thanks it works!

  6. #6
    PowerPoster
    Join Date
    Aug 2005
    Location
    College Station, TX
    Posts
    4,521

    Re: Media Center

    Remember to mark your threads as resolved under the thread tools

Posting Permissions

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



Click Here to Expand Forum to Full Width