2004-12-19, 09:34 AM
im trying to add a menu bar to "my music" which will contain the buttons for play,pause,stop,next,previous. since you cannot call these methods currently in gbpvr for audio (well stop you can, and play to play a file, but not to resume from pause). is there anyway i can emulate the remote buttons. ive tried
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this.OnKeyDown(new KeyEventArgs(Keys.Right | Keys.Control));[/QUOTE]
which is passed to onkeydown in my plugin, i set handled to false, but no joy.
anyone have any ideas how to get this to work, or will this be impossible?
otherwise i have to ask sub to add a few more methods.
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">this.OnKeyDown(new KeyEventArgs(Keys.Right | Keys.Control));[/QUOTE]
which is passed to onkeydown in my plugin, i set handled to false, but no joy.
anyone have any ideas how to get this to work, or will this be impossible?
otherwise i have to ask sub to add a few more methods.