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 


to the toolbar?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
oib111
I post too much
Reputation: 0

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

PostPosted: Wed Oct 10, 2007 9:12 pm    Post subject: to the toolbar? Reply with quote

How do programs like msn and aim go to the toolbar when you close them as opposed to actually terminating the program.
_________________


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
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Wed Oct 10, 2007 9:15 pm    Post subject: Reply with quote

By doing the icon stuff in WM_CLOSE then returning 0 in their wndproc to signify that the default handler need not be invoked.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 205

Joined: 25 Jan 2006
Posts: 8587
Location: 127.0.0.1

PostPosted: Thu Oct 11, 2007 6:20 am    Post subject: Reply with quote

If you mean the tray icons, you need use to Shell_NotifyIcon.

Just google that, or minimize to tray, and you should find tons of examples.

Edit, whoops just reread that Mad use CloseWindow to minimize it inside the WM_CLOSE param:

Code:
case WM_CLOSE:
   CloseWindow( hWnd );


You might also have to handle the WM_NCLBUTTONDOWN call for the X button which would be done like this:

Code:
      case WM_NCLBUTTONDOWN:
         switch( wParam )
         {
         case HTCLOSE:
            CloseWindow( hWnd );
            break;
         }
Back to top
View user's profile Send private message Visit poster's website
Symbol
I'm a spammer
Reputation: 0

Joined: 18 Apr 2007
Posts: 5094
Location: Israel.

PostPosted: Thu Oct 11, 2007 2:12 pm    Post subject: Reply with quote

Don't really know how but if its delphi you can check out rEaKw0n's smuggle program source, I think its at the bypassing section.
It has also a pop-up menu in the tool bar.
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