This repository has been archived by the owner on Oct 12, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Window Flags and Custom Window Creation Styles
softoille@gmail.com edited this page Nov 29, 2019
·
1 revision
- Different Winapi window creation and placement flags can be set in configuration.
- Also custom style for Winapi can be set.
var config = ChromelyConfiguration
.Create()
.....
.WithHostFlag(HostFlagKey.CenterScreen, true | false - default true)
.WithHostFlag(HostFlagKey.Frameless, true | false - default false)
.WithHostFlag(HostFlagKey.KioskMode, true | false - default false)
.WithHostFlag(HostFlagKey.NoResize, true | false - default false)
.WithHostFlag(HostFlagKey.NoMinMaxBoxes, true | false - default false)
.....
var windowStyle = new WindowCreationStyle();
windowStyle.WindowStyles = WindowStyles.WS_OVERLAPPEDWINDOW | WindowStyles.WS_CLIPCHILDREN |
WindowStyles.WS_CLIPSIBLINGS;
windowStyle.WindowExStyles = WindowExStyles.WS_EX_APPWINDOW | WindowExStyles.WS_EX_WINDOWEDGE;
var config = ChromelyConfiguration
.Create()
.....
.WithHostCustomStyle(windowStyle)
.....
On window's creation a custom style will overwrite flags.
Chromely
Getting Started
The Basics
Digging Deeper
- Sub-Process
- Infrastructure
- Restful Resources
- Register Resource Assemblies
- Custom Local Resource Handling
- Custom Scheme Handling
- Expose .NET class to JavaScript
- Generic Message Routing
- Real-time with Websocket
- External Url Registration
Angular - React - Vue