Win32 C: Detect a right-click on the item of a combobox dropdown list

David L 161 Reputation points
2022-09-26T08:05:08.027+00:00

Hello
As written in the title, I would like to know how to detect the right-click on an item of a dropdown list of a combobox (CBS_DROPDOWNLIST style), please?
And get the item position in the list to trigger something for that item, if that's possible?
Thanks
Cathy

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,527 questions
0 comments No comments
{count} votes

2 additional answers

Sort by: Most helpful
  1. David L 161 Reputation points
    2022-09-26T08:37:20.77+00:00

    Perfect! I am going to look this way. Thanks Castorix31

    0 comments No comments

  2. David L 161 Reputation points
    2022-09-26T11:46:10.917+00:00

    It works like a charm, thanks again @Castorix31 !

    0 comments No comments