Source language: Translate to:

please , anyone can help me with making sys tray

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

please , anyone can help me with making sys tray

Postby Neo.0.0.0 » Thu Jun 01, 2006 2:54 pm

assalamu alaikom

please if anyone can help me with making system tray for my program

but the systray icon not as the original icon

and please with the full code to make sys tray b/c this is the first time i want to make systray , need full discription please

thaks alot
Neo.0.0.0
 
Posts: 9
Joined: Wed May 31, 2006 9:33 pm

Postby SpiritHorse_ » Thu Jun 01, 2006 4:05 pm

Howdy and welcome to the forum .... in neobook v.5 ... there is a command called "LoadIcon" that will change the systems tray icon for ya.

from the neobook 5 help file:

Code: Select all
LoadIcon

Purpose:
Load a new application or tray icon. Leave the icon file field blank to restore the publication's original icon (specified in Book Properties).
 
Category:
Control
 
Syntax:
LoadIcon "file name" "which icon"

file name

A Windows format icon (ico) file.

which icon

One of the following:

 

MainIcon
Replace the publication’s main icon.

Example:
LoadIcon "C:\Samples\Busy.ico" "MainIcon"

TrayIcon
Replace the publication’s system tray icon. This is only valid for System Tray Applications.
 
Example:
LoadIcon "C:\Samples\Busy.ico" "TrayIcon"
 

User avatar
SpiritHorse_
 
Posts: 32
Joined: Thu Mar 31, 2005 11:11 pm
Location: New Mexico,USA


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest

cron