How to get the handle of the sub window of the online game spy can only get the handle of the main w

Updated on technology 2024-04-01
11 answers
  1. Anonymous users2024-02-07

    I'm afraid this can't be done.,According to what you said,The online game you play is written in DirectX.,The architecture in Direct is completely different from that of Windows Windows.,It's difficult enough to just pop up a window in Direct.,Not to mention operating what's inside.。

    Many game modification software say that it can pop up windows in Direct, but only Kingsoft actually does it, which is also the result of the accumulation of years of direct programming experience by the engineer team, which is difficult to do with personal strength.

    However, there should be a shortcut key to hide the small map in the online game.,The shortcut key for hiding and displaying the map in general online games is m.,You try it.,If it doesn't work, press all the keys on the keyboard and try it.,Maybe you can find it.。

    These so-called windows don't have a handle because they don't belong to the WinSDK architecture, and many online games have developed a completely new set of architectures and game engines, and the commonly used APIs don't work for them at all.

    The landlord's original intention was to modify the attributes of the items or characters in the online game, right? Your idea is wrong, the modification of the online game is not achieved through the handle, nor is it the operation of the game's memory address, but by modifying the network packet, the means of communication between the online game client and the server is the packet, if you can program to intercept these packets, modify them into the data you want and then send it to the server, you can achieve the purpose of arbitrarily modifying the game.

  2. Anonymous users2024-02-06

    Hehe. I'm okay with that, too.

    In fact. That's not really a child window.

    It's all painted.

    You can take advantage of:

    Shortcut key. Activate the appropriate window.

  3. Anonymous users2024-02-05

    I haven't used the big talk about Journey to the West, tell me what I think.

    It may be that the main window is encapsulated in a frame, and you use spy++ to get the handle to that frame (if, if it is actually encapsulated in a frame), and then switch to the tab tab in spy++ (spy++, remove it)."The window is visible"Check this box to strip the wrapper of the frame, and then you can continue to use SPY++ to get the handle to its internal controls.

    This is generally the way to do it,QQ login box is also like this,The number box, password box and soft keyboard are sealed in the frame,As long as it is hidden in that frame,The controls inside are invisible。

    To get the handle of a form control you first use spy++ to get its class name, such as the taskbar class name"shell_traywnd", and then use FindWindow to get its handle, such as a taskbar handle.

    hwnd=findwindow("shell_traywnd", vbnullstring)

    The same is true for other forms, as long as you use SPY++ to select the form (or parent form) class name, you can use FindWindow or FindWindowex to get its handle step by step.

  4. Anonymous users2024-02-04

    Hehe, I'm okay with that, too.

    Actually, it's not really a sub-window, it's all painted.

    You can use the shortcut keys to activate the corresponding window.

  5. Anonymous users2024-02-03

    You open the plus sign in front of the main window and see if there is a plus sign underneath it!

  6. Anonymous users2024-02-02

    Some games have self-drawn child windows, with only one main window having a handle.

  7. Anonymous users2024-02-01

    If the window is an existing program, use the SPY++ that comes with VS to get the information about the window, and then use WinAPI to get the handle, for details, please refer to how to use SPY++ and how to use WinAPI.

    findwindow(

    lpclassname,lpwindowname: pchar

    hwnd;

    findwindowex has two more handle arguments than findwindow:

    findwindowex(

    parent: hwnd;

    child: hwnd;

    classname: pchar;

    hwnd;

    If the window is dynamically generated by your program, use the following statement form form=new form();

    intptr _p = _;

    p is the window handle you instantiate.

  8. Anonymous users2024-01-31

    SPY++ is hexadecimal.

    The findwindow function finds the decimal one, and you convert the two handles to equal the values.

  9. Anonymous users2024-01-30

    The position of the hok seems to be the messageid of the button (or the position of the 1, I forgot.)

    Anyway, there is a window of hwnd.

  10. Anonymous users2024-01-29

    SPY++ in the vc++ tool

    There's a findwindow function in it.,Then move it directly to the sub-window.,You'll see the class name of the sub-window.。

  11. Anonymous users2024-01-28

    cwnd has a member function.

    hwnd getsafehwnd( )const;

    It is used in the member function of the dialog class.

    hwnd hwnd = getsafehwnd();

    The resulting hwnd is the handle.

Related questions
6 answers2024-04-01

1. Observation method: through meetings, in-depth on-site, participation in production and operation, on-site sampling, on-site observation and accurate recording (including surveying and mapping, audio and video, photography, transcripts, etc.) of the investigation. >>>More

9 answers2024-04-01

set ie=createobject("")"about:blank"

str="text") >>>More

11 answers2024-04-01

I suggest you take a look at the blog post above.

11 answers2024-04-01

1. Turn off public Wi-Fi connections: When using a public Wi-Fi connection, your IP address may be easily found by others, so it's best not to use a public Wi-Fi connection, especially if you need to protect your privacy. >>>More

4 answers2024-04-01

I'll write in detail and remember the plus.

Medium Maximize and minimize button evaporation: >>>More