src/Misc/EFTools/DesignXmlCore/VisualStudio/VSEventBroadcaster.cs
/// <summary>
///     Watches for system color and font change event from Visual Studio
/// </summary>
/// <param name="msg"></param>
/// <param name="wParam"></param>
/// <param name="lParam"></param>
/// <returns></returns>
Watches for system color and font change event from Visual Studio
Watches for system color and font change event from Visual Studio
public int OnBroadcastMessage(uint msg, IntPtr wParam, IntPtr lParam)
        {
            if (msg == NativeMethods.WM_SYSCOLORCHANGE)
            {
                if (OnFontChanged != null)
                {
                    OnFontChanged(this, EventArgs.Empty);
                }
            }
            return VSConstants.S_OK;
        }
public int OnBroadcastMessage ( uint msg , IntPtr wParam , IntPtr lParam ) { if ( msg == NativeMethods . WM_SYSCOLORCHANGE ) { if ( OnFontChanged != null ) { OnFontChanged ( this , EventArgs . Empty ) ; } } return VSConstants . S_OK ; }
Watches for system color and font change event from Visual Studio
Watches for system color and font change event from Visual Studio
None
msg
uint
None
wParam
IntPtr
None
lParam
IntPtr
None