C# Class CairoDesktop.Startup

Handles the startup of the application, including ensuring that only a single instance is running.
Show file Open project: RevolutionSmythe/cairoshell Class Usage Examples

Public Properties

Property Type Description
MenuBarPtr System.IntPtr
TaskBarPtr System.IntPtr
WM_SHELLHOOKMESSAGE int

Public Methods

Method Description
ShellWinProc ( System msg ) : void

Private Methods

Method Description
InitializeParentWindow ( ) : void

Initializes a new hidden toolwindow to be the owner for all other windows. This hides the applications icons from the task switcher.

Main ( ) : void
SingleInstanceCheck ( ) : bool

Checks that a single instance of the application is running, and if another is found it notifies the user and exits.

Method Details

ShellWinProc() public static method

public static ShellWinProc ( System msg ) : void
msg System
return void

Property Details

MenuBarPtr public static property

public static IntPtr,System MenuBarPtr
return System.IntPtr

TaskBarPtr public static property

public static IntPtr,System TaskBarPtr
return System.IntPtr

WM_SHELLHOOKMESSAGE public static property

public static int WM_SHELLHOOKMESSAGE
return int