home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / qa0396 / chgicon.bas next >
Encoding:
BASIC Source File  |  1995-10-26  |  849 b   |  23 lines

  1. Attribute VB_Name = "Module1"
  2. '-- Used by Shell_NotifyIconA
  3. Type NOTIFYICONDATA
  4.     cbSize              As Long
  5.     hWnd                As Long     '-- Handle of the window that receives notification messages
  6.     uID                 As Long     '-- App-defined identifier of the taskbar icon
  7.     uFlags              As Long     '-- Flags
  8.     uCallbackMessage    As Long     '-- App-defined message identifier
  9.     hIcon               As Long     '-- Handle to an icon
  10.     szTip               As String * 64  '-- Tool text display message
  11. End Type
  12.     
  13. Global Const NIM_ADD = 0
  14. Global Const NIM_MODIFY = 1
  15. Global Const NIM_DELETE = 2
  16.  
  17. Global Const NIF_MESSAGE = 1
  18. Global Const NIF_ICON = 2
  19. Global Const NIF_TIP = 4
  20.  
  21. Declare Function Shell_NotifyIconA Lib "shell32" (ByVal dwMessage As Long, lpData As NOTIFYICONDATA) As Integer
  22.  
  23.