SchulieBug KiXforms Supporter


Joined: 06 Mar 2003 Posts: 60 Location: Netherlands
|
Posted: Mon Mar 12, 2007 12:58 pm Post subject: Base64 code for notifyicon |
|
|
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 |
|