View Single Post
  #10 (permalink)  
Old 03-25-2006, 01:54 PM
codersguru's Avatar
codersguru codersguru is offline
Senior Member
 
Join Date: Oct 2005
Posts: 987
codersguru has a spectacular aura aboutcodersguru has a spectacular aura aboutcodersguru has a spectacular aura about
Thumbs up MSN Style Pop Alert!

How to install the package:


The package contains 4 files and you have to put each of them in the proper folder:

Pop.exe and Popup.dll
You have to copy them to C: drive.
Pop.mqh
Copy this file to /experts/include folder.
Pop_Demo.mq4
This is a script to demonstrate how to use the program. Copy it to /experts/script folder.

Note: If you want to copy Pop.exe and Popup.dllto another folder and not the C: root you have to change the directory in the code of calling the Pop function.

How to use the program:

The script Pop_Demo.mq4 is an example of using the program.
To call the alert you use this line:

pop ( string msg , string installed_dir)

For example: if you installed Pop.exe and Popup.dll to C: drive and want to pop the text “Hi world!” you can use this line of code in your mql4 program:
pop (“Hi world!”, "c:");
__________________
Hope it helps !
Coders' Guru
Senior MQL programmer:
www.xpworx.com/custom.htm
Reply With Quote