• Announcements

    • xper

      MSFN Sponsorship and AdBlockers!   07/10/2016

      Dear members, MSFN is made available via subscriptions, donations and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, become a site sponsor and ads will be disabled automatically and by subscribing you get other sponsor benefits.
alexanrs

Daedalus Service - Alpha Blending Icons for NT4/2000

34 posts in this topic

Hi, I'm here to present a nice little project I developed with the guys at winprj.net :rolleyes:

It is Daedalus, a project was meant to introduce 32-bit Alpha-Blended icons support in Windows NT 4, and later expanded to work on Windows 2000 too. It is implemented as a service, therefore can be started/stopped on demand, which can be useful in case some conflict arises, though ideally that should never happen :whistle:

Instructions, the changelog and the download can be found at the winprj.net's topic right here:

http://www.winprj.net/board/viewtopic.php?f=13&t=399

Screenshot (combined with NT4 Visual Update 3 Beta 2):

daedalusntud3.th.jpg

Edited by alexanrs
0

Share this post


Link to post
Share on other sites

Pretty neat. And it's in Delphi! Woohoo! :thumbup

One little nitpick: you have to use -d to uninstall, not -u. Some icons also come up blank when I run it, unfortunately. That said, even though I don't have MadCHook, I'm tempted to integrate it with SmoothText and try to fix the issues in it since SmoothText also overrides API calls.

0

Share this post


Link to post
Share on other sites

Windows 2000, right? And what icons, from ICO files or EXEs and DLLs?

0

Share this post


Link to post
Share on other sites

The problem icons are all in the system tray:

- Sage TV 5

- Norton Internet Security 2002

- Palm Hotsync Manager

0

Share this post


Link to post
Share on other sites

Hi, it works well. But it has some problems.

1. It prevents from load 16 colors icon.

post-194613-1235387773_thumb.jpg

2. Can't display 32bit icons example

Edited by win2000
0

Share this post


Link to post
Share on other sites
Can't display 32bit icons example

I don't wish to be rude, but you should read the official thread on WPC where it says that it can't sometimes load 32-bit icons from pure .ico file.

0

Share this post


Link to post
Share on other sites

Wold this help?

IconViewer 1.4

I originally wrote it to remove the alpha-blending from icons so they wouldn't have the black halos on Win2k, but perhaps you could use the part that loads the icon files.

Edited by WildBill
0

Share this post


Link to post
Share on other sites

Does Daedalus suffer from the same drawbacks as Tihiy's RPL2K.DLL?

Such as reverting to 16 colour icons when:

- Active Desktop is on

- NetMeeting's Remote Desktop is on

- Places Bar on certain file open/save dialogs.

EDIT:

It apparently will not freak out when Active Desktop is on.

It does cause floating point errors in many programs.

- A bit of weird behavior that was remedied by a re-install.

Same red tinged alphas while dragging icons.

Alt+Tab is also not 32bit.

It seems like 98 is now better than 2000 at 32-bit icons.

Edited by Colonel O'Neill
0

Share this post


Link to post
Share on other sites

Major bug:

When the Daedalus Service is Started (services.msc) MS Word 2003 will crash and ask to recover my work and restart word. This will happen no matter what. Sometimes it will open to a new blank window, and further interaction with it causes the error. This is fixed by Stopping the Daedalus service from Services.msc.

Anyone else having the same problem?

0

Share this post


Link to post
Share on other sites

File cannot be downloaded:

"You do not have the required permissions to view the files attached to this post."

0

Share this post


Link to post
Share on other sites

You can't download if you are not registered, same as all other boards.

0

Share this post


Link to post
Share on other sites

Daedalus is great !

The only bug I have found is that IconTweaker will not start (or run properly) if the Deadalus service is running.

So when I want to use IconTweaker, I must stop the service first, make the icon changes, and then re-start the service (and sometimes the shell icon cache needs to be cleared).

This happens on Windows 2000 Professional and Windows 2000 Server.

Apologies if this problem has already been reported: seeing as IconTweaker is what many use to update their system icons, I though I'd mention this issue.

Edited by bob2000
0

Share this post


Link to post
Share on other sites

It appears to do the same thing to Office 2003 applications... :(

0

Share this post


Link to post
Share on other sites

Hello, folks :hello: I've been working intensely on the next version of SmoothText, and I've run into a situation where I really need support for 32-bit icons. So, I've download the Daedalus source and after a lot of Googling I've manged to find the files I need to get it to recompile. I have it running, though so far all I've done is perform a MASSIVE cleanup of the code (and add things like try...finally blocks to try to make it more bulletproof). I don't have much experience with Daedalus but I know that there are some issues with it. If some kind soul would care to put together a concise list of the issues and what I would have to do to reproduce them, maybe I can improve it a bit. I'm still trying to understand how the code works, but now that it's all cleaned up I hope to be able to do something with it.

Why do I need it for SmoothText? I want to add support for custom Explorer toolbar icons, and the ones I want to test with use alpha blending. So this is something I have to deal with.

0

Share this post


Link to post
Share on other sites

Just as an FYI, I've found a couple of bugs in daedalus:

1. In the override for ImageList_Create, the line that changes the flags should read:

Flags := (Flags And (Not ILC_COLORDDB)) Or ILC_COLOR32;

This is because you can use only one ILC_COLORx flag at a time.

2. In TOOLBAR_DrawGrayImage, the line that reads "DeleteObject($FFFFFF);" should read "DeleteObject(timl);".

I'm still tracking down other issues, but fixing those fixed some problems with Windows Explorer.

0

Share this post


Link to post
Share on other sites

Thanks for updating this great (and almost dead) project. I'm running this last version right now and I see none of the old bugs. No more corrupted icons in "Places Bar". That's nice. :thumbup

0

Share this post


Link to post
Share on other sites

In using it I found myself running into the memory leak that people have mentioned that arises when both Daedalus and SmoothText are running. I made another change to Daedalus that I hope will fix the problem. It certainly sped it up considerably. Here's hoping that the leak is gone for good :rolleyes:

http://www.mediafire.com/download.php?12jzifkyyjn

0

Share this post


Link to post
Share on other sites

It's much faster now. Thanks!

I'd like to point out two bugs i've found.

1) If both 32-bit AND 8-bit images are present inside an icon, Places Bar prefers the 8-bit version no matter what.

2) Title bars in MDI appz like Adobe Photoshop show messed-up icons.

0

Share this post


Link to post
Share on other sites

Would you mind posting screenshots?

0

Share this post


Link to post
Share on other sites

Would you mind posting screenshots?

Here they are:

screenshotbugs.png

1) Places bar showing 8-bit icons only.

2) Corrupted child window icon in an MDI app (Photoshop in this case)

3) Folder icons looking weird in taskbar. So far this is the only icon that shows up wrong the whole time, but sometimes icons in taskbar lose their alpha channels for a less than a second when you click them.

0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.