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 


Window Visibility

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DMan132
How do I cheat?
Reputation: 0

Joined: 30 Oct 2007
Posts: 5

PostPosted: Thu Nov 01, 2007 3:16 pm    Post subject: Window Visibility Reply with quote

How do you change a windows visibility in code once you have the handle.
Back to top
View user's profile Send private message
appalsap
Moderator
Reputation: 0

Joined: 27 Apr 2006
Posts: 6753
Location: Pakistan

PostPosted: Thu Nov 01, 2007 3:18 pm    Post subject: Reply with quote

Is that a question or a statement? It sounds like a question, but you used a period.
_________________
Back to top
View user's profile Send private message
Deine Mutter
Expert Cheater
Reputation: 1

Joined: 05 Apr 2006
Posts: 181

PostPosted: Thu Nov 01, 2007 3:53 pm    Post subject: Reply with quote

ShowWindow()


Code:
#include <iostream>
#include <windows.h>
using namespace std;

int main() {
  HWND hwnd = FindWindow(NULL, NULL); //Window class/name
  ShowWindow(hwnd, SW_HIDE); 
}

_________________
Back to top
View user's profile Send private message
HomerSexual
Grandmaster Cheater Supreme
Reputation: 5

Joined: 03 Feb 2007
Posts: 1657

PostPosted: Thu Nov 01, 2007 4:09 pm    Post subject: Reply with quote

take away iostream and namespace std please

its not needed and will just make it crappy

_________________
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