|
|
ファイルやフォルダのプロパティシートを表示
|
(2001.04.28) |
BOOL ShowPropertyPage(HWND hWnd, LPCTSTR pszFileName )
{
ASSERT(pszFileName);
SHELLEXECUTEINFO sei;
ZeroMemory(&sei,sizeof(sei));
sei.cbSize = sizeof(sei);
sei.hwnd = hWnd;
sei.lpFile = pszFileName;
sei.lpVerb = _T("properties");
sei.fMask = SEE_MASK_INVOKEIDLIST;
int nResult = ShellExecuteEx(&sei);
if (nResult < 32)
{
return FALSE;
}
return TRUE;
}
|
|
 |
| © 2003 WAC.com All Right Reserved. |
 |
|