<button value="Click me" οnclick="window.navigate('app:command&arg1=1&arg2=2')" />
void OnBeforeNavigate2Explorer1(LPDISPATCH pDisp, VARIANT FAR* URL, VARIANT FAR* Flags, VARIANT FAR* TargetFrameName, VARIANT FAR* PostData, VARIANT FAR* Headers, BOOL FAR* Cancel)
{
// TODO: Add your control notification handler code here
CString strUrl = URL->bstrVal;
OutDbgStr("网址:%s",strUrl);
if( strUrl.Find("app:")==0 )
{
*Cancel = TRUE;
}
}