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 


[C#]FindWindow("WindowClass"<? (Solved)

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

Joined: 09 Jul 2006
Posts: 762
Location: Poland.

PostPosted: Thu Dec 18, 2008 5:38 am    Post subject: [C#]FindWindow("WindowClass"<? (Solved) Reply with quote

Quote:
WindowHandle = FindWindow("WindowClass", "MapleStory");

What should be in WindowClass, on MSDN is nothing about it -.-


Last edited by Wiw3K on Thu Dec 18, 2008 6:10 am; edited 2 times in total
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Dec 18, 2008 5:44 am    Post subject: Reply with quote

Get WinSniper, and target the window you want to get the class name for, easy as that.
_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Innovation
Grandmaster Cheater
Reputation: 12

Joined: 14 Aug 2008
Posts: 617

PostPosted: Thu Dec 18, 2008 5:47 am    Post subject: Reply with quote

You could leave it NULL or put in this:

Code:
MapleStoryClass
Back to top
View user's profile Send private message
Wiw3K
Grandmaster Cheater
Reputation: 0

Joined: 09 Jul 2006
Posts: 762
Location: Poland.

PostPosted: Thu Dec 18, 2008 5:57 am    Post subject: Reply with quote

inoobzx wrote:
You could leave it NULL or put in this:

Code:
MapleStoryClass

like that?
Quote:
WindowHandle = FindWindow("NULL", "MapleStory");



Spawnfestis wrote:
Get WinSniper, and target the window you want to get the class name for, easy as that.

Cant download WinSniper, all links broken on google.

Downloaded Windows Sniper - i think it isnt the same.
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Dec 18, 2008 6:00 am    Post subject: Reply with quote

Wiw3K wrote:
inoobzx wrote:
You could leave it NULL or put in this:

Code:
MapleStoryClass

like that?
Quote:
WindowHandle = FindWindow("NULL", "MapleStory");



Spawnfestis wrote:
Get WinSniper, and target the window you want to get the class name for, easy as that.

Cant download WinSniper, all links broken on google.

Downloaded Windows Sniper - i think it isnt the same.


For maplestory (sigh..)...
WindowHandle = FindWindow(NULL, "MapleStory");

First param: window class
Second param: window title

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Thu Dec 18, 2008 6:00 am    Post subject: Reply with quote

WinSpector Smile or if you know window name (you probably do, this is a program i coded a while back that can help you get the class name. edit as required)


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



Last edited by Slugsnack on Thu Dec 18, 2008 6:02 am; edited 1 time in total
Back to top
View user's profile Send private message
Wiw3K
Grandmaster Cheater
Reputation: 0

Joined: 09 Jul 2006
Posts: 762
Location: Poland.

PostPosted: Thu Dec 18, 2008 6:01 am    Post subject: Reply with quote

Spawnfestis wrote:
For maplestory (sigh..)...
WindowHandle = FindWindow(NULL, "MapleStory");

First param: window class
Second param: window title

Quote:
The name 'NULL' does not exist in the current context.

Confused

Slugsnack wrote:
WinSpector Smile or if you know window name (you probably do, this is a program i coded a while back that can help you get the class name. edit as required)

ty, problem solved.


Last edited by Wiw3K on Thu Dec 18, 2008 6:03 am; edited 1 time in total
Back to top
View user's profile Send private message
Spawnfestis
GO Moderator
Reputation: 0

Joined: 02 Nov 2007
Posts: 1746
Location: Pakistan

PostPosted: Thu Dec 18, 2008 6:02 am    Post subject: Reply with quote

Wiw3K wrote:
Spawnfestis wrote:
For maplestory (sigh..)...
WindowHandle = FindWindow(NULL, "MapleStory");

First param: window class
Second param: window title

Quote:
The name 'NULL' does not exist in the current context.

Confused

So don't null it then..
WindowHandle = FindWindow("MapleStoryClass", "MapleStory");
...

Also check the link in my sig if you want an example for a trainer in C#.. Confused

_________________

CLICK TO HAX MAPLESTORAY ^ !!!!
Back to top
View user's profile Send private message Send e-mail MSN Messenger
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