1

Topic: ListBox select item

It would be necessary to subscribe for what event what to receive the notification message about what CHOICE that of an item.

I.e. not after the item has been already selected and at the moment of its choice.

For example if to select  a mouse that only after released the mouse it is possible to receive notification messages (SelectedIndexChanged)

And it is necessary for me during that moment when selected.

2

Re: ListBox select item

To intercept MouseDown, to take coordinates from argument and used IndexFromPoint (Point) to receive Item.

I doubt that there is a method easier

3

Re: ListBox select item

Hello, nen777w, you wrote:

N> it would be necessary to subscribe For what event what to receive the notification message about what CHOICE that of an item.
N> I.e. not after the item has been already selected and at the moment of its choice.
N> For example if to select  a mouse that only after released the mouse it is possible to receive notification messages (SelectedIndexChanged)
N> and me it is necessary during that moment when selected.

You confuse something. While I did not release the mouse, unambiguously to say that I selected it is impossible. What task we solve and for what technology?

4

Re: ListBox select item

Hello, MxKazan, you wrote:

MK> You confuse something. While I did not release the mouse, unambiguously to say that I selected it is impossible. What task we solve and for what technology?


How much I understood, any event of type BeforeSelectedIndexChanged is required.

But standard methods I personally do not know as it to reach.

There is an assumption that it is necessary to dance with . To do kastom-kontrol with blobs WinAPI.