Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.03 KB

Shell_NotifyIcon.md

File metadata and controls

48 lines (33 loc) · 1.03 KB

Home

Function name : Shell_NotifyIcon

Group: Shell Functions - Library: shell32


Sends a message to the taskbar"s status area.


Code examples:

Displaying icons in the system tray (VFP9)
Using FoxTray ActiveX control: System Tray Icon and menu attached to VFP form

Declaration:

BOOL Shell_NotifyIcon(
    DWORD dwMessage,
    PNOTIFYICONDATA lpdata
);
  

FoxPro declaration:

DECLARE INTEGER Shell_NotifyIcon IN shell32;
	INTEGER dwMsg,;
	STRING @lpdata  

Parameters:

dwMessage [in] Variable of type DWORD that specifies the action to be taken.

lpdata [in] Address of a NOTIFYICONDATA structure. The content of the structure depends on the value of dwMessage.


Return value:

Returns TRUE if successful or FALSE otherwise.