❔ problem changing the opacity of desktop icons via windows api
I have a code thath i made using information on internet and it works but some times the desktop get blacks depending on the opacity of the icons
31 Replies
code in peaces
im sory if its a bunch of code but idk what else can i do
the error happends randomly on even win 10 or win 11
pls halp
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.
no
what's the issue?
the windows desktop backgorunds turns black
in what circumstance
after a time i change the opacity of the icons
after what time, what do you change the opacity to
come on
provide even the least amount of info
the time i dont know more than 10 minutes
maybie its random
and its like a timer it starts when you change the opacity
if you put the opacity to 50% it is 50% black and the other 50% the background if you put the opacity of the icons to 0% the desktop shows nice
and if you put the opacity to 100% it just all black
like if the desktop icons background becoming black instead of transparent for no reason aftrer x period of time
very weird iusse
i wouldnt have expected anyone to do this
weird issue you have <:PES_Think:639363477458255874>
i might take a better look at the code tmr
I sended the whole class
if you want it on file i can send
sory if the code is bad
im not pro
id say make sure you are editing the correct window. does this have to be in c#? i think this would be easier to do in c
so you just force explorer to be a layered window
i cant imagine any world where that would work reliably
yeah the desktop background is made up of a few windows and the icons is one of them
you can pretty reliably make windows layered
well, it depends on the app
i think the issue might be that these windows are child windows and those dont always behave the same as normal windows
but i imagine explorer assumes that no one will play around with the styles
and it does some pretty not normal stuff
with that assumption
maybe for notepad or something, sure it could be reliable
ive been messing with explorer windows, its probably "ok"
but tbf ive never messed around with explorer
it can also be that the explorer windows change their own styles now and then and thus overwrite your changes
i have, bcuz im writing another program to modify my desktop
well if it works it works
i think this
GetDesktopHwnd
could maybe be improvedyea but it works for now
but if you want to make some suggestions go ahead
this when desktop gets bugged and i put opacity to 100%
this with 50%
and this with 0%
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.no
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.