| View previous topic :: View next topic |
| Author |
Message |
Wiw3K Grandmaster Cheater
Reputation: 0
Joined: 09 Jul 2006 Posts: 762 Location: Poland.
|
Posted: Thu Dec 18, 2008 5:38 am Post subject: [C#]FindWindow("WindowClass"<? (Solved) |
|
|
| 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 |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Thu Dec 18, 2008 5:44 am Post subject: |
|
|
Get WinSniper, and target the window you want to get the class name for, easy as that.
_________________
CLICK TO HAX MAPLESTORAY ^ !!!! |
|
| Back to top |
|
 |
Innovation Grandmaster Cheater
Reputation: 12
Joined: 14 Aug 2008 Posts: 617
|
Posted: Thu Dec 18, 2008 5:47 am Post subject: |
|
|
You could leave it NULL or put in this:
|
|
| Back to top |
|
 |
Wiw3K Grandmaster Cheater
Reputation: 0
Joined: 09 Jul 2006 Posts: 762 Location: Poland.
|
Posted: Thu Dec 18, 2008 5:57 am Post subject: |
|
|
| inoobzx wrote: | You could leave it NULL or put in this:
|
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 |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Thu Dec 18, 2008 6:00 am Post subject: |
|
|
| Wiw3K wrote: | | inoobzx wrote: | You could leave it NULL or put in this:
|
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 |
|
 |
Slugsnack Grandmaster Cheater Supreme
Reputation: 71
Joined: 24 Jan 2007 Posts: 1857
|
Posted: Thu Dec 18, 2008 6:00 am Post subject: |
|
|
WinSpector 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)
Last edited by Slugsnack on Thu Dec 18, 2008 6:02 am; edited 1 time in total |
|
| Back to top |
|
 |
Wiw3K Grandmaster Cheater
Reputation: 0
Joined: 09 Jul 2006 Posts: 762 Location: Poland.
|
Posted: Thu Dec 18, 2008 6:01 am Post subject: |
|
|
| 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. |
| Slugsnack wrote: | WinSpector 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 |
|
 |
Spawnfestis GO Moderator
Reputation: 0
Joined: 02 Nov 2007 Posts: 1746 Location: Pakistan
|
Posted: Thu Dec 18, 2008 6:02 am Post subject: |
|
|
| 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. |
 |
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#..
_________________
CLICK TO HAX MAPLESTORAY ^ !!!! |
|
| Back to top |
|
 |
|