Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


IconHider2.2

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Jul 30, 2007 7:27 pm    Post subject: IconHider2.2 Reply with quote

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



The Extension 'rar' was deactivated by an board admin, therefore this Attachment is not displayed.



Last edited by appalsap on Mon Sep 10, 2007 5:10 pm; edited 3 times in total
Back to top
View user's profile Send private message
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Mon Jul 30, 2007 7:57 pm    Post subject: Reply with quote

Neat. My desktop is full with zip's.
_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Mon Jul 30, 2007 8:17 pm    Post subject: Reply with quote

It should let you choose what you want to hide. But its still awesome and I love it Very Happy
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Wed Aug 01, 2007 2:51 pm    Post subject: Reply with quote

Right Click -> Arrange Icons By -> Uncheck "Show Desktop Icons". Confused
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Aug 01, 2007 2:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Aug 01, 2007 3:03 pm    Post subject: Reply with quote

How can i make something like this in delphi? you said ic1 was made in delphi, did they release the source ?
Back to top
View user's profile Send private message MSN Messenger
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Aug 01, 2007 3:08 pm    Post subject: Reply with quote

Nope.
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Wed Aug 01, 2007 3:10 pm    Post subject: Reply with quote

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? Embarassed

edit: found a 1 line code that works.
Back to top
View user's profile Send private message MSN Messenger
Flyte
Peanuts!!!!
Reputation: 6

Joined: 19 Apr 2006
Posts: 1887
Location: Canada

PostPosted: Wed Aug 01, 2007 3:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Mon Aug 13, 2007 4:33 pm    Post subject: Reply with quote

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 Smile) 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
View user's profile Send private message
smartz993
I post too much
Reputation: 2

Joined: 20 Jun 2006
Posts: 2013
Location: USA

PostPosted: Mon Aug 13, 2007 6:19 pm    Post subject: Reply with quote

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? Embarassed

edit: found a 1 line code that works.


If you want to hide everything, do this:
Code:

ShowDesktop(true);


For showing everything:
Code:

ShowDesktop(false);
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites