创建鼠标事件结构体参数,
创建鼠标事件结构体参数,
控制键状态
命令ID
虚拟键码
结构体指针地址
触发事件节点
控制键状态
按键状态
在onMouseWheel事件中表示滚轮数据
命令ID
指针
正在被拖放的节点,节点要在CSS属性draggable中启用拖动
该节点不为空值是,isdragging为真
拖动类型,
1 _HL_DRAGGING_MOVE 或 _HL_DRAGGING_COPY
是否位于图标上,
这里指的是前景图片,并具有 no-repeat 样式
是否正在拖动,无论节点CSS是否指定draggable属性
结构体指针地址
节点坐标
文档坐标
触发事件节点
websciterObject.onActiveChild = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onAnimation = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onApplicationEvent = function (scTarget,scOwner,reason,behaviorParams) {
/*postEvent或sendEvent发出一大于0x100的消息*/
}
websciterObject.onAttach = function( scOwner ){
return true
}
websciterObject.onAttributeChange = function (scTarget,scOwner,name,value) {
/*属性变更*/
}
websciterObject.onButtonClick = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onButtonPress = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onButtonStateChanged = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onClosePopup = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onContextMenuRequest = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onContextMenuSetup = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onCustomEvent = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onDataArrived = function(scTarget,scOwner,data,dataType,status,url){
return true;/*返回true撤消数据不显示内容*/
}
websciterObject.onDetach = function( scOwner ){
return true
}
websciterObject.onDisabledStateChanged = function (scTarget,scOwner,reason,behaviorParams) {
}
onDocumentParsed = function (scTarget,scOwner,reason,behaviorParams) {
/*页面已完成DOM解析,在onDocumentReady以前触发*/
}
onDocumentReady = function (scTarget,scOwner,reason,behaviorParams) {
/*文档脚本等已加载完成并准备就绪*/n
}
websciterObject.onDragEnter = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onDragLeave = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onDragRequest = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onDrawBackground = function(scOwner,hdc,rc){
}
websciterObject.onDrawContent = function(scOwner,hdc,rc){
}
websciterObject.onDrawForeground = function(scOwner,hdc,rc){
}
websciterObject.onDrop = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onEditValueChanged = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onEditValueChanging = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onElementCollapsed = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onElementControlCreated = function (scTarget,scOwner,reason,behaviorParams) {
var ltCtrl = scOwner.getCtrl();/*自定义控件已创建*/
}
websciterObject.onElementExpanded = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onFocusGot = function (scTarget,scOwner,focusParams) {
}
websciterObject.onFocusLost = function (scTarget,scOwner,focusParams) {
}
websciterObject.onFormReset = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onFormSubmit = function (scTarget,scOwner,reason,behaviorParams) {
var formData = behaviorParams.data.getValue();
}
websciterObject.onFrameDocumentComplete = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onGesturePan = function (scTarget,scOwner,scGestureParams) {
/*平移*/
}
websciterObject.onGestureRequest = function (scTarget,scOwner,scGestureParams) {
scGestureParams.flags = 0xFFFF/*_HL_GESTURE_FLAGS_ALL*/
return true;
}
websciterObject.onGestureRotate = function (scTarget,scOwner,scGestureParams) {
/*旋转*/
}
websciterObject.onGestureTap1 = function (scTarget,scOwner,scGestureParams) {
/*单击*/
}
websciterObject.onGestureTap2 = function (scTarget,scOwner,scGestureParams) {
/*双击*/
}
websciterObject.onGestureZoom = function (scTarget,scOwner,scGestureParams) {
/*缩放*/
}
websciterObject.onHyperlinkClick = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onInitDataView = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onKeyChar = function (scTarget,scOwner,keyCode, altState, scKeyParams) {
}
websciterObject.onKeyDown = function (scTarget,scOwner,keyCode, altState, scKeyParams) {
}
websciterObject.onKeyUp = function (scTarget,scOwner,keyCode, altState, scKeyParams) {
}
websciterObject.onMenuItemActive = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onMenuItemClick = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onMouseClick = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseDblClick = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseDown = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseEnter = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseIdle = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseLeave = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseMove = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseTick = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseUp = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onMouseWheel = function (scTarget,scOwner,x,y,scMouseParams) {
}
websciterObject.onPopupDismissed = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onPopupDismissing = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onPopupReady = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onPopupRequest = function (scTarget,scOwner,reason,behaviorParams) {
var ltPopupOwner = ..web.sciter.element( behaviorParams.he )
}
websciterObject.onRequestTooltip = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onRowsDataRequest = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onScrollEnd = function (scTarget,scOwner,pos,scrollParams) {
}
websciterObject.onScrollHome = function (scTarget,scOwner,pos,scrollParams) {
}
websciterObject.onScrollPageMinus = function (scTarget,scOwner,pos, scrollParams) {
}
websciterObject.onScrollPagePlus = function (scTarget,scOwner,pos, scrollParams) {
}
websciterObject.onScrollPos = function (scTarget,scOwner,pos, scrollParams) {
}
websciterObject.onScrollStepMinus = function (scTarget,scOwner,pos, scrollParams) {
}
websciterObject.onScrollStepPlus = function (scTarget,scOwner,pos, scrollParams) {
}
websciterObject.onSelectSelectionChanged = function (scTarget,scOwner,reason,behaviorParams) {
var ltOption = ..web.sciter.element( behaviorParams.he )
}
function (scTarget,scOwner,reason,behaviorParams) {
var ltOption = ..web.sciter.element( behaviorParams.he )
__
}
websciterObject.onSize = function (scOwner) {
}
websciterObject.onSliderRelease = function (scTarget,scOwner,pos, scrollParams) {
}
websciterObject.onTableHeaderClick = function (scTarget,scOwner,cellIndex,behaviorParams) {
}
websciterObject.onTableRowClick = function (scTarget,scOwner,rowIndex,behaviorParams) {
}
websciterObject.onTableRowDblClick = function (scTarget,scOwner,rowIndex,behaviorParams) {
}
websciterObject.onTimer = function (scOwner,timerId) {
}
websciterObject.onUiStateChanged = function (scTarget,scOwner,reason,behaviorParams) {
}
websciterObject.onVisualStateChanged = function (scTarget,scOwner,shown,behaviorParams) {
}
_SC_DD_MODE_COPY=1
_SC_DD_MODE_COPY_OR_MOVE=3
_SC_DD_MODE_LINK=4
_SC_DD_MODE_MOVE=2
_SC_DD_MODE_NONE=0