Click to See Complete Forum and Search --> : menuitems is not working when clicking on shockwave


mark103
November 9th, 2009, 07:13 PM
Hi guys,

I have a form with contextmenu where you can get the menu items on shockwave. I uses the menu items event to get the method of working when clicking them on shockwave by using right-mouse button. When I debug the project and when I clicked on testmenu item, nothing have happens.



Form Code:


Public Class Form1

Private Sub testmenu_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles testmenu.Click
MessageBox.Show("this is the test!")
End Sub
End Class




Class Library:


Code:


Public Class ShockwaveMenu
Inherits AxShockwaveFlashObjects.AxShockwaveFlash
Private Const WM_RBUTTONDOWN As Integer = &H204

Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message)
Select Case m.Msg
Case WM_RBUTTONDOWN
Form1.ContextMenu1.Show(Me, PointToClient(Cursor.Position))
m.Result = New IntPtr(1)
Return
End Select
MyBase.WndProc(m)
End Sub
End Class




Please can you tell me why it doesn't do anything when I click on testmenu item?? And please can you help me to get this fix by when I click the point on shockwave to get the contextmenu items then click them to get the menuitems fully in working order??




Thanks,
Mark

mark103
November 10th, 2009, 10:18 AM
Please can someone help me to get this fix?????????

mark103
November 10th, 2009, 05:25 PM
Nobody?????????????????

dglienna
November 10th, 2009, 06:55 PM
You've asked before, and we've answered...

mark103
November 11th, 2009, 09:32 AM
No, this is the NEW THREAD and this is a different method I am working on so can you help??????????????

dglienna
November 11th, 2009, 03:00 PM
I don't have ShockWave, and didn't write the call that sub-classes it. That's pretty advanced stuff, and I can't help. If anyone was an EXPERT, they'd have answered all of your threads. The answer is SILVERLIGHT, if you want my opinion

mark103
November 11th, 2009, 06:22 PM
Look, don't be rude to me on here as I am asking you nicely if you do know how to fix the testmenu clicking event or not. There is no point telling me that there is options on silverlight, as it didn't make any different and I wouldn't like to do the work all over again. As I found out that they doesn't have much support of protocols. Now I am stick with shockwave, however please can you help me with the testmenu clicking event, as when I clicked the testmenu event, nothing have happens. Do you know why and do you know how to fix it??




Thanks,
Mark

dglienna
November 11th, 2009, 11:45 PM
No, no, and no. Sorry.