View previous topic :: View next topic |
Author |
Message |
rhosking
Joined: 21 Aug 2006 Posts: 14 Location: UK
|
Posted: Mon Jan 29, 2007 4:18 pm Post subject: Notifyicon: minimize not working in latest snapshot |
|
|
Since upgrading today to the latest DMD and the latest DFL snapshot, calling minimize on NotifyIcon does not work. You can also see this effect on the Tray.d example.
Steps to reproduce:-
1) Run makeall.bat in the examples directory
2) Run the tray.exe example.
3) Click the Hide button
The program does not 'minimize' to the tray. |
|
Back to top |
|
|
Chris Miller
Joined: 27 Mar 2004 Posts: 514 Location: The Internet
|
Posted: Mon Jan 29, 2007 5:20 pm Post subject: Re: Notifyicon: minimize not working in latest snapshot |
|
|
Ensure typing dfl -ver doesn't warn you about lib files. I believe this is the issue.
However, there is a bug with the tray.d example but it's unrelated to tray icons. Removing
(cast(Button)sender).image = this.icon;
in the button click event or first clearing the button's text are fixes. |
|
Back to top |
|
|
rhosking
Joined: 21 Aug 2006 Posts: 14 Location: UK
|
Posted: Tue Jan 30, 2007 3:01 am Post subject: |
|
|
Many thanks... recompiling dfl did the trick! |
|
Back to top |
|
|
|