Esempio n. 1
0
 public void GetHostInfo(ref DOCHOSTUIINFO pInfo)
 {
     if (this.m_defaultUIHandler != null)
     {
         this.m_defaultUIHandler.GetHostInfo(ref pInfo);
     }
 }
Esempio n. 2
0
 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);
 }
Esempio n. 3
0
 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;
     }
 }
Esempio n. 4
0
 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);
 }
Esempio n. 6
0
 int IDocHostUIHandler.GetHostInfo(ref DOCHOSTUIINFO info)
 {
     info.dwFlags       = (int)Flags;
     info.dwDoubleClick = 0;
     return(VSConstants.S_OK);
 }