Change WebBrowser's appearance problem

xiaoxiao2021-03-06  202

Http://community.9cbs.net/expert/topic/2642/2642102.xml?temp=.5055048

Get iaxwinambientdispatch from the container

CComPtr spHost; hResult = QueryHost (IID_IAxWinAmbientDispatch, (LPVOID *) & spHost); if (SUCCEEDED (hResult)) {spHost-> put_AllowContextMenu (VARIANT_FALSE); spHost-> put_DocHostFlags (DOCHOSTUIFLAG_FLAT_SCROLLBAR | DOCHOSTUIFLAG_DIALOG | DOCHOSTUIFLAG_NO3DBORDER | DOCHOSTUIFLAG_DISABLE_HELP_MENU);}

转载请注明原文地址:https://www.9cbs.com/read-128710.html

New Post(0)