資源簡介
Wince6下能調出WIFI設置界面的好東西。是單獨的一個EXE文件。用代碼打開他就行了。代碼用這個就行了。void IDD_AllSetting1::RunExe(LPTSTR filename)
{
SHELLEXECUTEINFO ShExecInfo = {0};
ShExecInfo.cbSize = sizeof(SHELLEXECUTEINFO);
ShExecInfo.fMask = SEE_MASK_NOCLOSEPROCESS;
ShExecInfo.hwnd = this->m_hWnd;
ShExecInfo.lpVerb = L"open";
ShExecInfo.lpFile = filename;
ShExecInfo.lpParameters = NULL;
ShExecInfo.lpDirectory = NULL;
ShExecInfo.nShow = SW_SHOW;
ShExecInfo.hInstApp = NULL;
ShellExecuteEx(&ShExecInfo);
/*HWND hWnd;
hWnd=ShExecInfo.hwnd;*/
/* CWnd *wnd;
wnd->Attach(hWnd);*/
// WINUSERAPI::SetWindowPos(hWnd,HWND_TOPMOST,0,0,0,0,SWP_NOMOVE&SWP_NOSIZE&SWP_SHOWWINDOW);
WaitForSingleObject(ShExecInfo.hProcess,INFINITE);
}

代碼片段和文件信息
評論
共有 條評論