Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call the Shell_NotifyIcon function in VFP6
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00585078
Message ID:
00585104
Views:
29
Hi!

This file comes for free, as far as I know.

Well, you can call it from VFP, but this will be hard, indeed.
You will need to create an Icon from the file to get the hIcon handle. Then prepare a structure for this function and pass it as a parameter to VFP function... A lot of mess.

If you have a ready VB code for that, it is probably good idea just to convert it to VFP, unless it contains AddressOf() function. When AddressOf() is used and handling events from the tray icon is required, this is not possible to do in VFP without any additional ActiveX or FLL. This is because VFP has no way to define the call-back functions.


>I want to do this using NO third-party products,
>I want to use standard windows funcionality.
>
>Thanks anyway,
>Jacques Herweijer
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform