KiXforms Forum Index KiXforms
The Forum for the KiXforms Community
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Quick Links 
Site News
Downloads
Documentation
Donations
Script Archive
Tracking Systems

Base64 code for notifyicon

 
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic
View previous topic :: View next topic  
Author Message
SchulieBug
KiXforms Supporter
KiXforms Supporter


Joined: 06 Mar 2003
Posts: 60
Location: Netherlands

PostPosted: Mon Mar 12, 2007 12:58 pm    Post subject: Base64 code for notifyicon Reply with quote

Hi,

I'm trying to use Base64 code to custom add icons. When using a regular form it displays the selected icon, but i'm not able to select an image for the notifyicon using the same method. As a sample i looked at a base64 sample script Shawn posted some time ago. I'm using KiXform 2.x (latest build).

Code:

$ImageList.AddStrip($System.Bitmap.FromBase64String(fnBitmapStrip()))
$MessengerClient = System.Form()
$MessengerClient .Icon = $ImageList(1)
$MessengerClient.Show()

$NotifyIcon = $System.NotifyIcon()
$NotifyIcon.Icon = $ImageList(1)
$NotifyIcon.Text = $Caption
$NotifyIcon.Icon = $MessageClientImageList.Images(1)
$NotifyIcon.Visible = 1

While MessengerClient.Running
   $=Execute($MessengerClient.DoEvents())
Loop


_________________
Kind regards
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KiXforms Forum Index -> Starters Code Clinic All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group