大约有 45,000 项符合查询结果(耗时:0.0402秒) [XML]
nsis安装、卸载时如何判断程序是否正在运行 并提示关闭? - 更多技术 - 清...
... 【取消】取消卸载' \
"终止" "取消"
Pop $0
${If} $0 == 1
KillProcDLL::KillProc "Test.exe"
${Elseif} $0 == 2
Abort
${EndIf}
;--------------------------------------------------------------
!include logiclib.nsh 不可少,引入后才能写${If}等逻辑判...
C# 多线程、并行处理全攻略(持续更新) - 更多技术 - 清泛网 - 专注C/C++及内核技术
...委托主线程执行
private void Proxy(ProxyInvoker invoke)
{
if (invoke == null)
return;
if (this.InvokeRequired)
{
this.Invoke(invoke);
return;
}
invoke();
}
#endregion
那么为什么需...
Linux/Windows批量删除.svn文件夹(svn delete) - 更多技术 - 清泛网 - 专注C/C++及内核技术
...cho on
@rem 删除SVN版本控制目录
@rem for /r . %%a in (.) do @if exist "%%a\.svn" @echo "%%a\.svn"
@for /r . %%a in (.) do @if exist "%%a\.svn" rd /s /q "%%a\.svn"
@echo completed
@pause
方法二:右键菜单“Delete SVN Folders”删除指定目录下的.svn文件夹,需...
扩展jQuery的功能限制只能输入数字 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...isabled';
});
};
/* 正则校验 */
function regNum(number) {
if (/^[0-9]+(\.[0-9]+)?$/.test(number))
return true;
else
return false;
}
这里通过正则校验来确定允许输入的格式,例中是进行数字的校验,用户可以输入小数,用户第...
layer弹窗 绑定回车关闭事件 - 更多技术 - 清泛网 - 专注C/C++及内核技术
...ess: function(layero, index){
this.enterEsc = function(event){
if(event.keyCode === 13){
layer.close(index);
return false; //阻止系统默认回车事件
}
};
$(document).on('keydown', this.enterEsc); //监听键盘事件,关闭层
}
,end: fun...
两种js滑动门(tab切换)效果 - 源码下载 - 清泛网 - 专注C/C++及内核技术
...tyle>
<script type="text/javascript">
function nTabs(thisObj,Num){
if(thisObj.className == "active")return;
var tabObj = thisObj.parentNode.id;
var tabList = document.getElementById(tabObj).getElementsByTagName("li");
for(i=0; i <tabList.length; i++)
{
if (i == Num)
{
th...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网 - 专注IT技能提升
... = NULL;
HRESULT hResult;
hResult = pDoc2->get_Script(&pDispScript);
if(FAILED(hResult))
{
return S_FALSE;
}
DISPID dispid;
CComBSTR objbstrValue = strFunctionName;
BSTR bstrValue = objbstrValue.Copy();
OLECHAR *pszFunct = bstrValue ;
hResult = pDispScript->GetIDsOfNam...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
... = NULL;
HRESULT hResult;
hResult = pDoc2->get_Script(&pDispScript);
if(FAILED(hResult))
{
return S_FALSE;
}
DISPID dispid;
CComBSTR objbstrValue = strFunctionName;
BSTR bstrValue = objbstrValue.Copy();
OLECHAR *pszFunct = bstrValue ;
hResult = pDispScript->GetIDsOfNam...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
... = NULL;
HRESULT hResult;
hResult = pDoc2->get_Script(&pDispScript);
if(FAILED(hResult))
{
return S_FALSE;
}
DISPID dispid;
CComBSTR objbstrValue = strFunctionName;
BSTR bstrValue = objbstrValue.Copy();
OLECHAR *pszFunct = bstrValue ;
hResult = pDispScript->GetIDsOfNam...
CDHtmlDialog的基本使用(C++调用JS函数的实现) - C/C++ - 清泛网移动版 -...
... = NULL;
HRESULT hResult;
hResult = pDoc2->get_Script(&pDispScript);
if(FAILED(hResult))
{
return S_FALSE;
}
DISPID dispid;
CComBSTR objbstrValue = strFunctionName;
BSTR bstrValue = objbstrValue.Copy();
OLECHAR *pszFunct = bstrValue ;
hResult = pDispScript->GetIDsOfNam...
