beckhoff — 7.2.1.8 DisableScrollbars

Event HMI [out, retval] pointer to VARIANT_BOOL variable that receives the enable/disable state of the context menu. It's visible if the variable is VARINAT_TRUE (TRUE) and invisible if the variable is VARIANT_FALSE (FALSE). Return Values S_OK Function was successfully called E_POINTER pVal was no valid pointer Property set HRESULT put_DisableContextMenu([in] VARIANT_BOOL newVal); Parameters newVal [in] A variable that sets the enable/disable state of the context menu. It's visible if the variable is VARINAT_TRUE (TRUE) and invisible if the variable is VARIANT_FALSE (FALSE).

Return Values S_OK Function was successfully called Visual Basic sample code Option Explicit ' add the Beckhoff TcEvent View Library to the components ' place a TcEventView on the form, and assign the name TcEventView1 Private Sub Form_Load() TcEventView1.DisableContextMenu = True End Sub 7.2.1.8 DisableScrollbars ITcEventView [ } 68] This property sets or returns whether the list view uses Scrollbars. Property get HRESULT get_DisableScrollbars([out, retval] long* pVal); Parameters pVal [out, retval] pointer to variable that receives the enable/disable state. Return Values S_OK TcEventLogger 75 Version: 1.1