can someone help(PCSX2's ClassName)
#1
when i ues the tools software which name is spy++ to get the ClassName of PCSX2 , then return value is "wxWindowClassNR" , but how can i sure it is the right one ,because all of the window of PCSX2 seem have a same ClassName ,that is called "wxWindowClassNR" , can anybody help me ?
sorry for my poor english and thanks.
Reply

Sponsored links

#2
Which window you want to be active\exist before executing your code...the main window,the console or the Game window?
Reply
#3
thank you for your reply , i want to know the game window's ClassName.
Reply
#4
You mean like this? If so, try the following steps.

[attachment=52157]

1. Find all parent window handles having the "wxWindowClassNR" class name.
2. In this case, you can find three window handles: 0015065A, 0002077A and 000A0764.
3. Compare the leftmost window text of them with a string "GSdx".
4. It's what you want. In this case, the window handle is 0015065A.
Reply
#5
sourcecode...

Quote:wc.lpszClassName = "GSWndDX";

???
Reply
#6
It depends on which language you are using.
For AutoHotkey,you can use for example

#IfWinActive,GSdx |
~F3::
Keywait,F3
Msgbox,Loading Save state
Return
Reply
#7
thanks for all replies of yours , i will try it. thank you again.
Reply




Users browsing this thread: 1 Guest(s)