public void GetHostInfo(ref DOCHOSTUIINFO pInfo) { if (this.m_defaultUIHandler != null) { this.m_defaultUIHandler.GetHostInfo(ref pInfo); } }
int IDocHostUIHandler.GetHostInfo(ref DOCHOSTUIINFO info) { //Default, selecttext+no3dborder+flatscrollbars+themes(xp look) //Size has be set info.cbSize = (uint)Marshal.SizeOf(info); info.dwDoubleClick = (uint)m_DocHostUiDbClkFlag; info.dwFlags = (uint)m_DocHostUiFlags; //info.pchHostCss = "BODY {background-color:#ffcccc}"; return(Hresults.S_OK); }
void IDocHostUIHandler.GetHostInfo(ref DOCHOSTUIINFO pInfo) { pInfo.dwFlags = DOCHOSTUIFLAG.DOCHOSTUIFLAG_DPI_AWARE; if (!ScrollBarsEnabled) { pInfo.dwFlags = pInfo.dwFlags | DOCHOSTUIFLAG.DOCHOSTUIFLAG_SCROLL_NO | DOCHOSTUIFLAG.DOCHOSTUIFLAG_NO3DOUTERBORDER; } if (!string.IsNullOrEmpty(CustomCss)) { pInfo.pchHostCss = CustomCss; } }
public int GetHostInfo(DOCHOSTUIINFO info) { return(1); }
public override void GetHostInfo(ref DOCHOSTUIINFO pInfo) { // NOTE: this does not seem to be working for web pages we navigate to by url pInfo.dwFlags |= (DOCHOSTUIFLAG.NO3DBORDER | DOCHOSTUIFLAG.NO3DOUTERBORDER); }
int IDocHostUIHandler.GetHostInfo(ref DOCHOSTUIINFO info) { info.dwFlags = (int)Flags; info.dwDoubleClick = 0; return(VSConstants.S_OK); }