🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: microsoft.public.vb.winapi
Article #19

Re: Need info on Shell_NotifyIcon / Demande des infos sur Shell_NotifyIcon

#19
From: Geoffrey Evelyn
Date: Sat, 31 Aug 1996 00:00
53 lines
2326 bytes
bpardo@imaginet.fr (Bernard PARDO) wrote:

>can anyone send me some information about 
>Shell_NotifyIcon()
>thanks in advance...
>bpardo@imaginet.fr

>Quelqu'un pourrait'il me renseigner sur l'utilisation de la
>fonction de l'API de Windows 95
>Shell_NotifyIcon

>Merci par avance

>bpardo@imaginet.fr


Hiya.

You can use the Shell_NotifyIcon function in a Visual Basic
application to modify the Windows 95 taskbar. To use this function,
you must include the following Declare statement in the General
Declarations section of your form:
  
Declare Function Shell_NotifyIcon Lib "shell32.dll" Alias
"Shell_NotifyIconA" 
   (ByVal dwMessage As Long, lpData As NOTIFYICONDATA) As Long
  
The Shell_NotifyIcon function requires only two arguments. The first
argument is one of the following three messages you want to send to
the Windows 95 taskbar:

NIM_ADD	Add a new icon to the taskbar.
NIM_DELETE	Remove (delete) an icon from the taskbar.
NIM_MODIFY	Modify an existing icon on the taskbar.

For more information on this, check out the article:

Tip 156: Adding New Icons to the Windows 95 Taskbar
on MSDN or article How to Use Icons with the Windows 95 System Tray   
PSS ID Number: Q149276 on MSDN or www.microsoft.com/kb



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
'Technology is both a blessing and a burden'
'Make things as simple as possible - but no simpler'
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Best Regards!
Geoffrey Evelyn
Author of PROGCREA and X_Finder
Email: Geoff_E@msn.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Technical Details
Message-ID: <1996Aug31.2121420223.86.223@UPPSSNEWSPUB04>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <32232d88.751549@news.imaginet.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 104093,c09a7d3833e64d67
X-Google-Attributes: gid104093,public
X-Google-Thread: 11090e,c09a7d3833e64d67
X-Google-Attributes: gid11090e,public
X-Google-Thread: 1120e8,c09a7d3833e64d67
X-Google-Attributes: gid1120e8,public
From: geoffe@msn.com (Geoffrey Evelyn)
Subject: Re: Need info on Shell_NotifyIcon / Demande des infos sur Shell_NotifyIcon
Date: 1996/08/31
Message-ID: <1996Aug31.2121420223.86.223@UPPSSNEWSPUB04>
X-Deja-AN: 177701828
references: <32232d88.751549@news.imaginet.fr>
x-auth-login-name: <user>
reply-to: geoffe@msn.com
newsgroups: microsoft.public.vb.winapi,fr.comp.windows.divers,fr.comp.windows.ms