C# Class Zhwang.SuperNotifyIcon.Taskbar

Afficher le fichier Open project: rzhw/SuperNotifyIcon Class Usage Examples

Méthodes publiques

Méthode Description
GetTaskbarEdge ( ) : TaskbarEdge

Gets the edge of the screen that the taskbar is docked to.

GetTaskbarLocation ( ) : Point

Gets the location, in screen coordinates of the taskbar.

GetTaskbarRectangle ( ) : Rectangle

Gets the rectangle of the taskbar.

GetTaskbarSize ( ) : Size

Gets the size, in pixels of the taskbar.

GetTaskbarState ( ) : TaskbarState

Gets the current state of the taskbar.

SetTaskBarState ( TaskbarState state ) : void

Sets the state of the taskbar.

Private Methods

Méthode Description
CreateAppBarData ( ) : NativeMethods.APPBARDATA

Creats an APPBARDATA struct with its hWnd member set to the task bar window.

GetTaskBarData ( ) : NativeMethods.APPBARDATA

Gets an APPBARDATA struct with valid location, size, and edge of the taskbar.

Method Details

GetTaskbarEdge() public static méthode

Gets the edge of the screen that the taskbar is docked to.
public static GetTaskbarEdge ( ) : TaskbarEdge
Résultat TaskbarEdge

GetTaskbarLocation() public static méthode

Gets the location, in screen coordinates of the taskbar.
public static GetTaskbarLocation ( ) : Point
Résultat Point

GetTaskbarRectangle() public static méthode

Gets the rectangle of the taskbar.
public static GetTaskbarRectangle ( ) : Rectangle
Résultat System.Drawing.Rectangle

GetTaskbarSize() public static méthode

Gets the size, in pixels of the taskbar.
public static GetTaskbarSize ( ) : Size
Résultat System.Drawing.Size

GetTaskbarState() public static méthode

Gets the current state of the taskbar.
public static GetTaskbarState ( ) : TaskbarState
Résultat TaskbarState

SetTaskBarState() public static méthode

Sets the state of the taskbar.
public static SetTaskBarState ( TaskbarState state ) : void
state TaskbarState The new state.
Résultat void