L
L
Laborant6662020-07-02 18:12:02
C++ / C#
Laborant666, 2020-07-02 18:12:02

How to find the right child window?

Sub-question to one of the topics I created (I think it's right to share)

How to find the child window handle when using Spy++. For example, how to understand which window receives data about mouse clicks in Paint. Paint has the main MSPaintApp window and its lowest child window, which receives messages about clicks or swipes of the mouse stripes, is MSPaintView. The
usual FindWindow could only find the MSPaintApp window handle, but I can’t figure out how to find its child window, I seem to have found FindWindowEx and entered it the parameters are correct, but the descriptor gave out 0000000, that is, there is an error somewhere. Can someone show an example of how this is done correctly?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Ananiev, 2020-07-02
@Laborant666

EnumChildWindows

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question