C# Class Windawesome.ProgramRule

Exibir arquivo Open project: kocubinski/windawesome Class Usage Examples

Public Methods

Method Description
ProgramRule ( string className = ".*", string displayName = ".*", string processName = ".*", System.NativeMethods styleContains = (NativeMethods.WS)0, System.NativeMethods styleNotContains = (NativeMethods.WS)0, System.NativeMethods exStyleContains = (NativeMethods.WS_EX)0, System.NativeMethods exStyleNotContains = (NativeMethods.WS_EX)0, CustomMatchingFunction customMatchingFunction = null, CustomMatchingFunction customOwnedWindowMatchingFunction = null, bool isManaged = true, int tryAgainAfter = -1, int windowCreatedDelay = -1, bool redrawDesktopOnWindowCreated = false, bool showMenu = true, bool updateIcon = false, OnWindowCreatedOrShownAction onWindowCreatedAction = OnWindowCreatedOrShownAction.SwitchToWindowsWorkspace, OnWindowCreatedOrShownAction onHiddenWindowShownAction = OnWindowCreatedOrShownAction.SwitchToWindowsWorkspace, OnWindowCreatedOnWorkspaceAction onWindowCreatedOnCurrentWorkspaceAction = OnWindowCreatedOnWorkspaceAction.MoveToTop, OnWindowCreatedOnWorkspaceAction onWindowCreatedOnInactiveWorkspaceAction = OnWindowCreatedOnWorkspaceAction.MoveToTop, int showOnWorkspacesCount, IEnumerable rules = null ) : System

Private Methods

Method Description
DefaultOwnedWindowMatchingFunction ( IntPtr hWnd ) : bool
IsMatch ( IntPtr hWnd, string cName, string dName, string pName, System.NativeMethods style, System.NativeMethods exStyle ) : bool

Method Details

ProgramRule() public method

public ProgramRule ( string className = ".*", string displayName = ".*", string processName = ".*", System.NativeMethods styleContains = (NativeMethods.WS)0, System.NativeMethods styleNotContains = (NativeMethods.WS)0, System.NativeMethods exStyleContains = (NativeMethods.WS_EX)0, System.NativeMethods exStyleNotContains = (NativeMethods.WS_EX)0, CustomMatchingFunction customMatchingFunction = null, CustomMatchingFunction customOwnedWindowMatchingFunction = null, bool isManaged = true, int tryAgainAfter = -1, int windowCreatedDelay = -1, bool redrawDesktopOnWindowCreated = false, bool showMenu = true, bool updateIcon = false, OnWindowCreatedOrShownAction onWindowCreatedAction = OnWindowCreatedOrShownAction.SwitchToWindowsWorkspace, OnWindowCreatedOrShownAction onHiddenWindowShownAction = OnWindowCreatedOrShownAction.SwitchToWindowsWorkspace, OnWindowCreatedOnWorkspaceAction onWindowCreatedOnCurrentWorkspaceAction = OnWindowCreatedOnWorkspaceAction.MoveToTop, OnWindowCreatedOnWorkspaceAction onWindowCreatedOnInactiveWorkspaceAction = OnWindowCreatedOnWorkspaceAction.MoveToTop, int showOnWorkspacesCount, IEnumerable rules = null ) : System
className string
displayName string
processName string
styleContains System.NativeMethods
styleNotContains System.NativeMethods
exStyleContains System.NativeMethods
exStyleNotContains System.NativeMethods
customMatchingFunction CustomMatchingFunction
customOwnedWindowMatchingFunction CustomMatchingFunction
isManaged bool
tryAgainAfter int
windowCreatedDelay int
redrawDesktopOnWindowCreated bool
showMenu bool
updateIcon bool
onWindowCreatedAction OnWindowCreatedOrShownAction
onHiddenWindowShownAction OnWindowCreatedOrShownAction
onWindowCreatedOnCurrentWorkspaceAction OnWindowCreatedOnWorkspaceAction
onWindowCreatedOnInactiveWorkspaceAction OnWindowCreatedOnWorkspaceAction
showOnWorkspacesCount int
rules IEnumerable
return System