I want to invert an event selection.
In V7 I use: tempEvent.Selected = !tempEvent.Selected;
But it doesn’t seem to work in V8.
Is there any change ?
TIA
I get the following error:
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Défaillance irrémédiable (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Sony.Vegas.IEventCOM.SetSelected(UInt32 trackID, Int64 eventID, Boolean value)
at Sony.Vegas.TrackEvent.set_Selected(Boolean value)
at Goto_Event.FormName.videoListView1_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
In V7 I use: tempEvent.Selected = !tempEvent.Selected;
But it doesn’t seem to work in V8.
Is there any change ?
TIA
I get the following error:
************** Exception Text **************
System.Runtime.InteropServices.COMException (0x8000FFFF): Défaillance irrémédiable (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))
at Sony.Vegas.IEventCOM.SetSelected(UInt32 trackID, Int64 eventID, Boolean value)
at Sony.Vegas.TrackEvent.set_Selected(Boolean value)
at Goto_Event.FormName.videoListView1_MouseClick(Object sender, MouseEventArgs e)
at System.Windows.Forms.Control.OnMouseClick(MouseEventArgs e)
at System.Windows.Forms.ListView.WmReflectNotify(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)