C# 클래스 ManagedWin32.Api.NotifyIconData

파일 보기 프로젝트 열기: MathewSachin/ManagedWin32 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
BalloonFlags BalloonFlags
CallbackMessageId uint
CustomBalloonIconHandle System.IntPtr
IconHandle System.IntPtr
IconState IconState
StateMask IconState
TaskbarIconGuid System.Guid
TaskbarIconId uint
ValidMembers IconDataMembers
VersionOrTimeout uint
WindowHandle System.IntPtr
cbSize uint

공개 메소드들

메소드 설명
CreateDefault ( IntPtr handle ) : NotifyIconData

Creates a default data structure that provides a hidden taskbar icon without the icon being set.

메소드 상세

CreateDefault() 공개 정적인 메소드

Creates a default data structure that provides a hidden taskbar icon without the icon being set.
public static CreateDefault ( IntPtr handle ) : NotifyIconData
handle System.IntPtr
리턴 NotifyIconData

프로퍼티 상세

BalloonFlags 공개적으로 프로퍼티

Adds an icon to a balloon ToolTip, which is placed to the left of the title. If the BalloonTitle member is zero-length, the icon is not shown.
public BalloonFlags BalloonFlags
리턴 BalloonFlags

CallbackMessageId 공개적으로 프로퍼티

Application-defined message identifier. The system uses this identifier to send notifications to the window identified in hWnd.
public uint CallbackMessageId
리턴 uint

CustomBalloonIconHandle 공개적으로 프로퍼티

Windows Vista (Shell32.dll version 6.0.6) and later. The handle of a customized balloon icon provided by the application that should be used independently of the tray icon. If this member is non-NULL and the BalloonFlags.User flag is set, this icon is used as the balloon icon.
If this member is NULL, the legacy behavior is carried out.
public IntPtr,System CustomBalloonIconHandle
리턴 System.IntPtr

IconHandle 공개적으로 프로퍼티

A handle to the icon that should be displayed. Just Icon.Handle.
public IntPtr,System IconHandle
리턴 System.IntPtr

IconState 공개적으로 프로퍼티

State of the icon. Remember to also set the StateMask.
public IconState IconState
리턴 IconState

StateMask 공개적으로 프로퍼티

A value that specifies which bits of the state member are retrieved or modified. For example, setting this member to IconState.Hidden causes only the item's hidden state to be retrieved.
public IconState StateMask
리턴 IconState

TaskbarIconGuid 공개적으로 프로퍼티

Windows XP (Shell32.dll version 6.0) and later.
- Windows 7 and later: A registered GUID that identifies the icon. This value overrides uID and is the recommended method of identifying the icon.
- Windows XP through Windows Vista: Reserved.
public Guid,System TaskbarIconGuid
리턴 System.Guid

TaskbarIconId 공개적으로 프로퍼티

Application-defined identifier of the taskbar icon. The Shell uses hWnd and uID to identify which icon to operate on when Shell_NotifyIcon is invoked. You can have multiple icons associated with a single hWnd by assigning each a different uID. This feature, however is currently not used.
public uint TaskbarIconId
리턴 uint

ValidMembers 공개적으로 프로퍼티

Flags that indicate which of the other members contain valid data. This member can be a combination of the NIF_XXX constants.
public IconDataMembers ValidMembers
리턴 IconDataMembers

VersionOrTimeout 공개적으로 프로퍼티

Mainly used to set the version when Shell32.Shell_NotifyIcon is invoked with NotifyCommand.SetVersion. However, for legacy operations, the same member is also used to set timouts for balloon ToolTips.
public uint VersionOrTimeout
리턴 uint

WindowHandle 공개적으로 프로퍼티

Handle to the window that receives notification messages associated with an icon in the taskbar status area. The Shell uses hWnd and uID to identify which icon to operate on when Shell_NotifyIcon is invoked.
public IntPtr,System WindowHandle
리턴 System.IntPtr

cbSize 공개적으로 프로퍼티

Size of this structure, in bytes.
public uint cbSize
리턴 uint