| View previous topic :: View next topic |
| Author |
Message |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Mon Jul 30, 2007 7:27 pm Post subject: IconHider2.2 |
|
|
I use my desktop as a dump for what I am currently working on and as such it gets cluttered with many icons. They can get distracting at times, especially when working with programs that do not fill the whole screen space (ex: The GIMP).
To help remedy this problem, I used KellySoftware's iconhider. I grew accustomed to its many quirks, and it did its job.
While minor things like not notifying you if it couldn't register its hotkey, its secondary functions not working, and constant advertisements didn't bother me as much, the biggest turn off was that it didn't close properly when Windows was shutting down (so shutdown would stop), I had to exit manually every time!
Thus, IconHider2 was born. It shares many things, the UI, core functionality, command line switches, but with many improvements and none of the annoyances. Additionally, ic2 was made in C, not delphi, so its memory usage and size (9 kb vs 472 kb) is vastly improved.
Links:
Attachment
Original IconHider
Last edited by appalsap on Mon Sep 10, 2007 5:10 pm; edited 3 times in total |
|
| Back to top |
|
 |
UnLmtD Grandmaster Cheater
Reputation: 0
Joined: 13 Mar 2007 Posts: 894 Location: Canada
|
Posted: Mon Jul 30, 2007 7:57 pm Post subject: |
|
|
Neat. My desktop is full with zip's.
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Mon Jul 30, 2007 8:17 pm Post subject: |
|
|
It should let you choose what you want to hide. But its still awesome and I love it
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Aug 01, 2007 2:51 pm Post subject: |
|
|
Right Click -> Arrange Icons By -> Uncheck "Show Desktop Icons".
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Wed Aug 01, 2007 2:53 pm Post subject: |
|
|
Flyte:
1) It's hard to use. Can't put it on hotkey, toggle it quickly-
2) It's very slow. Takes about 5 seconds. Sometimes you need it done quick, and sometimes you don't want to even look at the desktop before its clean. You also run the risk of accidentally right clicking on an icon.
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Wed Aug 01, 2007 3:03 pm Post subject: |
|
|
| How can i make something like this in delphi? you said ic1 was made in delphi, did they release the source ?
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Wed Aug 01, 2007 3:08 pm Post subject: |
|
|
| Nope.
|
|
| Back to top |
|
 |
Kevin Grandmaster Cheater Supreme
Reputation: 0
Joined: 07 Mar 2007 Posts: 1139 Location: Spiderman-World
|
Posted: Wed Aug 01, 2007 3:10 pm Post subject: |
|
|
I found this code on the Intrahnetz (www.delphi.about.com)
| Code: |
procedure ShowDesktop(const YesNo : boolean) ;
var h : THandle;
begin
h := FindWindow('ProgMan', nil) ;
h := GetWindow(h, GW_CHILD) ;
if YesNo = True then
ShowWindow(h, SW_SHOW)
else
ShowWindow(h, SW_HIDE) ;
end;
|
but how do i use it?
edit: found a 1 line code that works.
|
|
| Back to top |
|
 |
Flyte Peanuts!!!!
Reputation: 6
Joined: 19 Apr 2006 Posts: 1887 Location: Canada
|
Posted: Wed Aug 01, 2007 3:20 pm Post subject: |
|
|
| appalsap wrote: | Flyte:
1) It's hard to use. Can't put it on hotkey, toggle it quickly-
2) It's very slow. Takes about 5 seconds. Sometimes you need it done quick, and sometimes you don't want to even look at the desktop before its clean. You also run the risk of accidentally right clicking on an icon. |
I stand corrected, it is quite fast compared to the other method. The only thing I can think of to improve this is to make the GUI a little less ugly (even though minimizing to the tray solves that problem).
One thing I noticed about the code you do: What is up with all the structs? Is that just to organize your code? It just seems superfluous.
|
|
| Back to top |
|
 |
appalsap Moderator
Reputation: 0
Joined: 27 Apr 2006 Posts: 6753 Location: Pakistan
|
Posted: Mon Aug 13, 2007 4:33 pm Post subject: |
|
|
changes for 2.1
-improved command line parsing, can do -sm etc
-using balloon tooltips to show hotkey error message instead of msgboxes
-removed own hand cursor, uses standard hand cursor (makes it smaller too)
-safer subclassing, no chance of executing nonexistent data
-better compatibility with lower shell32.dll versions
changes for 2.2
Most of the changes in 2.2 aren't viewable to the end user (except for the obvious font change to tahoma, looks much better now ) but the sourcefile looks much nicer, organized, and the monolithic structure/main have been broken down into functions and there is no more static title text dependency.
Last edited by appalsap on Mon Sep 10, 2007 5:22 pm; edited 1 time in total |
|
| Back to top |
|
 |
smartz993 I post too much
Reputation: 2
Joined: 20 Jun 2006 Posts: 2013 Location: USA
|
Posted: Mon Aug 13, 2007 6:19 pm Post subject: |
|
|
| Kevinnn wrote: | I found this code on the Intrahnetz (www.delphi.about.com)
| Code: |
procedure ShowDesktop(const YesNo : boolean) ;
var h : THandle;
begin
h := FindWindow('ProgMan', nil) ;
h := GetWindow(h, GW_CHILD) ;
if YesNo = True then
ShowWindow(h, SW_SHOW)
else
ShowWindow(h, SW_HIDE) ;
end;
|
but how do i use it?
edit: found a 1 line code that works. |
If you want to hide everything, do this:
For showing everything:
| Code: |
ShowDesktop(false);
|
|
|
| Back to top |
|
 |
|