IPCBIWindow Events

Events

PCBIActiveLayerChanged Occurs when a layer change his state (activate- or deactivatelayer).
PCBIAttributeAddedOrChanged Occurs when a attribute is added or changed to the parent IObject.
PCBIChangeButton This event occur if a button should change the check state. E.g. if a dialog is shown it should be checked.
PCBIChangeEnable This event occur if a button should change the enable state.
PCBIChangeVisible This event occur if a control should change the visible state.
PCBICloseAllWindows Occurs if user click button close all windows
PCBIComponentLayerAdded The event handler for changes in matrix, there is an cmp layer added.
PCBIDrawOnlySelectedValueCMPChanged The event handler for changes in drawonlyselected transparency.
PCBIDrawOnlySelectedValueFeaturesChanged The event handler for changes in drawonlyselected transparency.
PCBIElementsDeleted Occurs when elements are deleted from active project data.
PCBIFormClosing Occurs wheneverthe form closes, before the form has been closed and specifies the close reason.
PCBIFormDisposing Occurs wheneverthe form closes, before the form has been closed and specifies the close reason.
PCBIFormGotFocus Occurs when the form got the focus.
PCBIFormGraphicPaneDrawing Occurs when main window draw a new image.
PCBIFormKeyDown Occurs when a key is first pressed.
PCBIFormKeyPress Occurs when the form has focus and the user presses and releases a key.
PCBIFormKeyUp Occurs when a key is released.
PCBIFormLostFocus Occurs when the form lost the focus.
PCBIFormMouseWheel Handle mouse wheel of layerlist and main form.
PCBIFormResize Occurs when the form is resized.
PCBIJobClosed Is called if a job closes.
PCBIJobClosing Is called if a job is closing.
PCBIJobMatrixChanged The event handler for changes in matrix.
PCBIJobMatrixSaved The event handler for saving matrix.
PCBIJobSaved The event handler for after saving ocb++ job.
PCBIMainViewChanged Occurs if user change view e.g. from 2D to 3D view.
PCBIMouseDownInGraphicPane Occurs when user click in the graphic pane, the location has to be transformed in job coordinates (use ClientToWorld).
PCBIMouseMoveInGraphicPane Event will be raise if the mouse is moveing in grahic pane.
PCBIMouseToolChanged The event handler for changes in drawonlyselected transparency.
PCBIMouseUpInGraphicPane Occurs when user click in the graphic pane, the location has to be transformed in job coordinates (use ClientToWorld).
PCBINewJobOpend The event if a job opens.
PCBIOnGetBackgroundImage Occurs when the main window wants to draw a new image. User has the possibility to draw a background image first. Normal CAD Drawing are then drawn onto this image. This only works, when "IAutomation.RealTimeDrawing" is off.
PCBIOnNoteDragEnd This event handler is called, when an INoteBase is droped by the user
PCBIOnNoteDragStart This event handler is called, when an INoteBase is started to be dragged by the user The event hander can return a function with available Anchor Points during dragging
PCBIPluginLoadingFinisehd This event handler is called after loading all plugins.
PCBIPropertyAddedOrChanged Occurs when a property is added or changed to the parent IObject.
PCBISelectionChanged Occurs when the selection change.
PCBIStepAndRepeatChanged 
PCBIStepChanged The event handler for changes of active step.
UIActionExecuteRequest Event for action execute request.

See Also