exe icons in win7 x64

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Antieve
Posts: 90
Joined: 02 Apr 2016 20:52

Re: exe icons in win7 x64

Post by Antieve »

Solved!
It was IconPackager bug

Trying to fix the other one.

admin
Site Admin
Posts: 66672
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: exe icons in win7 x64

Post by admin »

Nice to know. :biggrin:

Antieve
Posts: 90
Joined: 02 Apr 2016 20:52

Re: exe icons in win7 x64

Post by Antieve »

All fixed now BTW, I have found that buggy transparent bg image :)
Another question now about "wrong" folder Icons, exe icons (without own icon), unregistered icons etc

Image

Also as you may notice, list header color stay black somehow
There is bugs with fonts settings ("apply to" checkboxes issue), but it's not so important.

admin
Site Admin
Posts: 66672
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: exe icons in win7 x64

Post by admin »

Icons: Untick "Configuration | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing"

List header color: I'm aware of this. I see what I can do...


UPDATE: Well, I'm trying to get this color right for more than 7 years now. But themes in Windows is buggy and scarcely documented. Just tried again. No chance. In theory it's super simple, in reality it simply does not work. :(

Antieve
Posts: 90
Joined: 02 Apr 2016 20:52

Re: exe icons in win7 x64

Post by Antieve »

Untick "Configuration | Refresh, Icons, History | Icons | Use generic icons for super-fast browsing"
I never used this feature.
I'm trying to get this color right for more than 7 years
On my screenshot you can see that my system header color is not black!
That's mean you already change this color to permanent black :mrgreen:

Don't know, maybe this helps:
1. The column headers are displayed by child control of the list view -- a Header control

Header Control
https://msdn.microsoft.com/en-us/librar ... s.85).aspx

2. You can get a handle to the header control using the LVM_GETHEADER message or the ListView_GetHeader macro, but...

3. As WM_NOTIFY messages are sent to a control's parent, it's the list view's WndProc which will be receiving the NM_CUSTOMDRAW notifications you need to handle. So you will need to subclass the list view (SetWindowSubclass, etc) so you can get at the message (either handle it in the subclass proc, or maybe forward it on to the list view's parent for handling there.)

4. Custom draw for Header controls works with the NMCUSTOMDRAW structure, not the NMLVCUSTOMDRAW.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx

This doesn't allow you to just specify the colours (using clrText, clrTextBk, clrFace) you want and then leave it to the control to do the drawing. But you can use SetTextColor and SetBkColor to set the color the display context will use, which will change the colour of the text and button face, but not the button edges.

Antieve
Posts: 90
Joined: 02 Apr 2016 20:52

Re: exe icons in win7 x64

Post by Antieve »

So what about
"wrong" folder Icons
Image
As I said, "generic icons" not checked.


And about my "header suggestion" - it's work.
Check out this form (working example) I have compiled for you as a proof.

admin
Site Admin
Posts: 66672
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: exe icons in win7 x64

Post by admin »

Untick "Show custom file icons" for a try. Maybe you defined EXE icons to show the vanilla icon.

Antieve
Posts: 90
Joined: 02 Apr 2016 20:52

Re: exe icons in win7 x64

Post by Antieve »

Nope it's not working.
But looks like I found the problem.
XYplorer reads

Code: Select all

HKLM\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons
and the valid path is

Code: Select all

HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: exe icons in win7 x64

Post by highend »

That's how Windows manages redirection inside the registry (for x86 applications)...
One of my scripts helped you out? Please donate via Paypal

Antieve
Posts: 90
Joined: 02 Apr 2016 20:52

Re: exe icons in win7 x64

Post by Antieve »

Nope.
Second one is system default - for both x64 and x32
First one is only for 32 bit apps running on 64bit system.

highend
Posts: 14996
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: exe icons in win7 x64

Post by highend »

Andere that's why I wrote: for x86 applications^^
One of my scripts helped you out? Please donate via Paypal

Post Reply