Results 1 to 6 of 6

Thread: Make Win 98 Icon Text Backcolor Transparent

  1. #1

    Thread Starter
    Lively Member Brian M.'s Avatar
    Join Date
    Nov 2006
    Location
    Moberly MO
    Posts
    94

    Make Win 98 Icon Text Backcolor Transparent

    Hello. I was perusing planetsourcecode and I found this interesting piece of code that turns the desktop icon backgrounds in 98 and before to transparent, like win xp does. The only problem with it is it doesn't persist. Can one of you api gurus take a look at the code and help me to make it so it will stay transparent. I am already coming up with a flag system in a text file to record the state of the icons, I just need some help with the api to make it persist when refreshed or rebooted. When you refresh or reboot, you loose the transparency. I made an exe that I run when I reboot and such, but I would much rather make it stick the first time. I have uploade the zip with the project in it as I got it from planet source code. Its a nice piece of work. I have been wanting this ever since I started using 98. So any help will be appreciated.
    Attached Files Attached Files
    Last edited by Brian M.; Jul 8th, 2007 at 10:14 AM.

  2. #2
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Make Win 98 Icon bg Transparent

    You can make transparent icons with Imagedit.exe, its on the VB6 CD.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  3. #3

    Thread Starter
    Lively Member Brian M.'s Avatar
    Join Date
    Nov 2006
    Location
    Moberly MO
    Posts
    94

    Re: Make Win 98 Icon bg Transparent

    Its not the icons that are the problem. With 98 where the text under the icons is the desktop color, so when you put a nice desktop picture it is marred by blocks of color under the icon text. The above code makes the text with a transparent backcolor. But after a refresh or reboot, it goes back to normal, with the text's backcolor the color you have the desktop set as. I want to make the above code a permanent addition to my operating system. Any ideas? This only pertains to win 98 operating systems or older, as xp and above allow you to make your icon text backcolor transparent. While we are on the subject, if anyone can come up with a way to change the icon text color too, that would be great. There is a way to do this I know it, but I don't know how.
    Last edited by Brian M.; Jul 8th, 2007 at 10:16 AM.

  4. #4
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: Make Win 98 Icon Text Backcolor Transparent

    The text under an icon is the short-cut name, nothing to do with how you show the icon. I still use Win98 and I don't suffer with this problem.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  5. #5

    Thread Starter
    Lively Member Brian M.'s Avatar
    Join Date
    Nov 2006
    Location
    Moberly MO
    Posts
    94

    Re: Make Win 98 Icon Text Backcolor Transparent

    Ok, the code above changes d1 to d2(see attachments below). Can you show me how to make that permanent? Also, is there a way to change the text color on the desktop icon description? Thanks.
    Attached Images Attached Images   

  6. #6

    Thread Starter
    Lively Member Brian M.'s Avatar
    Join Date
    Nov 2006
    Location
    Moberly MO
    Posts
    94

    Re: Make Win 98 Icon Text Backcolor Transparent

    Can't anyone help me with this?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width