|
-
Dec 14th, 2005, 07:01 PM
#1
Thread Starter
Hyperactive Member
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??
-
Dec 15th, 2005, 02:07 AM
#2
Addicted Member
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...
-
Dec 17th, 2005, 11:12 PM
#3
Thread Starter
Hyperactive Member
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.
-
Dec 18th, 2005, 06:49 AM
#4
Member
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:
Private Sub Button1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button1.KeyDown
If e.KeyValue = Keys.Down Then Me.Button2.Focus()
End Sub
Private Sub Button2_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Button2.KeyDown
If e.KeyValue = Keys.Down Then Me.Button3.Focus()
End Sub
//etc...

Wish me a good start!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Last edited by frix199; Dec 18th, 2005 at 06:53 AM.
-
Dec 18th, 2005, 05:03 PM
#5
Thread Starter
Hyperactive Member
-
Dec 18th, 2005, 05:18 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|