trayicons
Posted: Sat May 09, 2009 2:48 pm
I am totally new to these mad tools so forgive me.
I am on windows XP sp3
I have delphi 2009.
I downloaded the latest madcollection.
I recomplied and installed the components.
I added this code to my project
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, AdvSmoothDock,shellapi, AdvSmoothButton, StdCtrls, Spin, jpeg, ExtCtrls, Menus, ExtDlgs,madkernel;
trayicons();
MessageBox(0, pchar('we have ' + IntToStr(TrayIcons.ItemCount) + ' tray icons'), 'info', 0);
If I run outside the IDE I get zero icons
If I run inside the IDE I get an exception 'Could no load module for this target'
if I continue on past the exceptions I still get zero icons, I currently have 8 in the tray
What am I doing wrong?
I am on windows XP sp3
I have delphi 2009.
I downloaded the latest madcollection.
I recomplied and installed the components.
I added this code to my project
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, AdvSmoothDock,shellapi, AdvSmoothButton, StdCtrls, Spin, jpeg, ExtCtrls, Menus, ExtDlgs,madkernel;
trayicons();
MessageBox(0, pchar('we have ' + IntToStr(TrayIcons.ItemCount) + ' tray icons'), 'info', 0);
If I run outside the IDE I get zero icons
If I run inside the IDE I get an exception 'Could no load module for this target'
if I continue on past the exceptions I still get zero icons, I currently have 8 in the tray
What am I doing wrong?