| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Jan 26, 2009 9:31 am    Post subject: |   |  
				| 
 |  
				|  	  | Slugsnack wrote: |  	  | i would guess it's just a case of enumerating windows + getasynckeystate + showwindow(hWnd, SW_HIDE) and storing the handles somewhere else for showwindow(hWnd, SW_SHOW) 
 yes just checked, as i thought, GetForegroundWindow, GetWindowText, GetAsyncKeyState, ShowWindow, IsWindowVisible, FindWindow, GetWindow
 | 
 
 True
  , how would you do it? O.o |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Slugsnack Grandmaster Cheater Supreme
 
 ![]() Reputation: 71 
 Joined: 24 Jan 2007
 Posts: 1857
 
 
 | 
			
				|  Posted: Mon Jan 26, 2009 11:17 am    Post subject: |   |  
				| 
 |  
				| probably much the same way or did you want a code snippet to look at ? |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Anden100 Grandmaster Cheater
 
 ![]() Reputation: 0 
 Joined: 20 Apr 2007
 Posts: 668
 
 
 | 
			
				|  Posted: Mon Jan 26, 2009 2:23 pm    Post subject: |   |  
				| 
 |  
				|  	  | Slugsnack wrote: |  	  | probably much the same way or did you want a code snippet to look at ? | 
 
 Not really
  , just wanted to know if there was another better way doing it |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Slugsnack Grandmaster Cheater Supreme
 
 ![]() Reputation: 71 
 Joined: 24 Jan 2007
 Posts: 1857
 
 
 | 
			
				|  Posted: Mon Jan 26, 2009 4:13 pm    Post subject: |   |  
				| 
 |  
				| there might be a better way of enumerating windows but as far as i know that is pretty much the only way to hide a window. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| nwongfeiying Grandmaster Cheater
 
 ![]() Reputation: 2 
 Joined: 25 Jun 2007
 Posts: 695
 
 
 | 
			
				|  Posted: Mon Jan 26, 2009 8:15 pm    Post subject: |   |  
				| 
 |  
				| I made one a while back that hides the topmost window. |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |