_SendM |
首页 后退 前进 |
将指定的消息发送到窗口.
_SendM(hWnd,iMsg[,wParam=0[,lParam=0]])
参数
返回值
注释: SendMessage函数的标准名称.
该函数可以通过命令调用 exect exect=_SendM(WinGetHandle('[CLASS:AkelPad4]'),273,4157,0) ;; 选择所有在AkelPad
exect=$var_h=_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,1,0)||_ViewValues('$var_h') ;; 得到左文件面板的描述符(TC9及以上)
exect=$var_h='0x'&Hex(_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,1,0))||_ViewValues('$var_h') ;; 获取左文件面板的十六进制描述符(TC9及以上)
exect=$var_h=_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,2,0)||_ViewValues('$var_h') ;; 获取正确的文件面板的手柄(TC9及以上)
exect=$var_h='0x'&Hex(_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,2,0))||_ViewValues('$var_h') ;; 获取正确文件面板的十六进制文件描述符(TC9及以上)
exect=$var_h=_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,3,0)||_ViewValues('$var_h') ;; 获取活动文件面板的描述符(TC9及以上)
exect=$var_h='0x'&Hex(_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,3,0))||_ViewValues('$var_h') ;; 获取活动文件面板的十六进制描述符(TC9及以上)
exect=$var_h=_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,4,0)||_ViewValues('$var_h') ;; 获取非活动文件面板的句柄(TC9及以上)
exect=$var_h='0x'&Hex(_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,4,0))||_ViewValues('$var_h') ;; 获取Hex非活动文件面板(TC9及以上)
exect=$var_h=_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,5,0)||_ViewValues('$var_h') ;; 获取左文件面板的标题的句柄(TC9及以上)
exect=$var_h='0x'&Hex(_SendM(WinGetHandle('[CLASS:TTOTAL_CMD]'),1074,5,0))||_ViewValues('$var_h') ;; 获取左文件面板的十六进制句柄描述符(TC9及以上)
exect=$var_h=WinGetHandle('[CLASS:AkelPad4]')||$var_n=Number(_SendM(Eval('var_h'),1222,153,0))||$var_i=$var_n=1?_SendM(Eval('var_h'),273,4256,0):0 start=%%COMMANDER_PATH%%\AkelFiles\Tools\AkelPadMin\AkelPadMin.exe||%P%N||&&procwait exect=$var_i=$var_n=1?_SendM(Eval('var_h'),273,4256,0):0 ;; 在AkelPadMin下的光标下打开文件,忽略已经运行AkelPad的设置"程序的一个副本" © Аверин Андрей для Total Commander Image Averin-And@yandex.ru |