What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Question] Interop object and Call to Shell_NotifyIcon

[Question] Interop object and Call to Shell_NotifyIcon
Author: Message:
unknown1506
New Member
*


Posts: 4
Joined: May 2005
O.P. [Question] Interop object and Call to Shell_NotifyIcon
Hello, I know that the Interop object has  a function named Call wich allows us to call functions from external dll's. I want to call the Shell_NotifyIcon function wich is used to create an icon on the systray. The thing is that I don't know exactly how to invoke the fuction since it is called:

Shell_NotifyIcon(NIM_ADD,&niData);

where NIM_ADD is the message &H0
and niData is a variable of structure NOTIFYICONDATA defined as follows:

Type NOTIFYICONDATA
   cbSize As Long
   hWnd As Long
   uID As Long
   uFlags As Long
   uCallbackMessage As Long
   hIcon As Long
   szTip As String * 128
   dwState As Long
   dwStateMask As Long
   szInfo As String * 256
   uTimeoutAndVersion As Long
   szInfoTitle As String * 64
   dwInfoFlags As Long
   guidItem As GUID
End Type

Hope someone can help,
Thanks in advance.

This post was edited on 06-25-2006 at 05:06 PM by unknown1506.
06-25-2006 04:40 PM
Profile E-Mail PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Question] Interop object and Call to Shell_NotifyIcon - by unknown1506 on 06-25-2006 at 04:40 PM
RE: [Question] Interop object and Call to Shell_NotifyIcon - by matty on 06-29-2006 at 02:11 AM
RE: [Question] Interop object and Call to Shell_NotifyIcon - by unknown1506 on 07-15-2006 at 10:42 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On