A
A
anonymous2017-03-03 16:03:23
C++ / C#
anonymous, 2017-03-03 16:03:23

How to catch a button in WM_COMMAND handler without its ID?

I create buttons in a vector (because a different number depending on the conditions)
How to catch a button in a handler when it is pressed, without knowing its ID and perform some changes on it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Rou1997, 2017-03-03
@anonymouss

I wonder what exactly is being added to you vectorand why, if the identification of the button still remains impossible? If hWnd, then it can also be identified by it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question