Skip to content

Commit

Permalink
WinForms - Add example to xml doc of CreateBrowserWindowInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
amaitland committed Mar 21, 2019
1 parent a7a73dc commit f3d4fe8
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions CefSharp.WinForms/ChromiumWebBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -643,6 +643,13 @@ protected override void OnHandleCreated(EventArgs e)
/// </summary>
/// <param name="handle">Window handle for the Control</param>
/// <returns>Window Info</returns>
/// <example>
/// To re-enable Window Activation then remove WS_EX_NOACTIVATE from ExStyle
/// <code>
/// const uint WS_EX_NOACTIVATE = 0x08000000;
/// windowInfo.ExStyle &= ~WS_EX_NOACTIVATE;
///</code>
/// </example>
protected virtual IWindowInfo CreateBrowserWindowInfo(IntPtr handle)
{
//TODO: If we start adding more consts then extract them into a common class
Expand Down

0 comments on commit f3d4fe8

Please sign in to comment.