Esempio n. 1
0
        /***************************************************************************/
        public void ChangeExStyle(USER32.WindowStylesEx eAddedStyles, USER32.WindowStylesEx eRemovedStyles)
        {
            USER32.WindowStylesEx eExtendedStyle = (USER32.WindowStylesEx)USER32.GetWindowLong(m_hWin32Window, USER32.GWL_EXSTYLE);

            eExtendedStyle |= eAddedStyles;
            eExtendedStyle &= ~(eRemovedStyles);

            USER32.SetWindowLong(m_hWin32Window, USER32.GWL_EXSTYLE, (int)eExtendedStyle);
            return;
        }