Click or drag to resize
CfxWindowInfo Class

[This is preliminary documentation and is subject to change.]

Class representing window information.
Inheritance Hierarchy
SystemObject
  ChromiumCfxObject
    ChromiumCfxStructure
      ChromiumCfxWindowInfo

Namespace: Chromium
Assembly: ChromiumFX (in ChromiumFX.dll)
Syntax
public class CfxWindowInfo : CfxStructure

The CfxWindowInfo type exposes the following members.

Constructors
  NameDescription
Public methodCfxWindowInfo
Initializes a new instance of the CfxWindowInfo class
Top
Properties
  NameDescription
Public propertyExStyle
Standard parameters required by CreateWindowEx()
Public propertyHeight
Public propertyMenu
Public propertyParentWindow
Public propertyStyle
Public propertyTransparentPaintingEnabled
Set to true (1) to enable transparent painting in combination with windowless rendering. When this value is true a transparent background color will be used (RGBA=0x00000000). When this value is false the background will be white and opaque.
Public propertyWidth
Public propertyWindow
Handle for the new browser window. Only used with windowed rendering.
Public propertyWindowlessRenderingEnabled
Set to true (1) to create the browser using windowless (off-screen) rendering. No window will be created for the browser and all rendering will occur via the CfxRenderHandler interface. The |parentWindow| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parentWindow| is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. In order to create windowless browsers the CfxSettings.WindowlessRenderingEnabled value must be set to true.
Public propertyWindowName
Public propertyX
Public propertyY
Top
Methods
  NameDescription
Public methodSetAsChild
Create the browser as a child window.
Public methodSetAsDisabledChild
Create the browser as a disabled child window.
Public methodSetAsPopup
Create the browser as a popup window.
Public methodSetAsWindowless(Boolean)
Create the browser using windowless (off-screen) rendering. No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. The main screen monitor will be used as parent and some functionality that requires a parent window may not function correctly. If |transparent| is true a transparent background color will be used (RGBA=0x00000000). If |transparent| is false the background will be white and opaque. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true.
Public methodSetAsWindowless(IntPtr, Boolean)
Create the browser using windowless (off-screen) rendering. No window will be created for the browser and all rendering will occur via the CefRenderHandler interface. The |parent| value will be used to identify monitor info and to act as the parent window for dialogs, context menus, etc. If |parent| is not provided then the main screen monitor will be used and some functionality that requires a parent window may not function correctly. If |transparent| is true a transparent background color will be used (RGBA=0x00000000). If |transparent| is false the background will be white and opaque. In order to create windowless browsers the CefSettings.windowless_rendering_enabled value must be set to true.
Top
Remarks
See Also