|
-
May 22nd, 2025, 05:57 PM
#10
Fanatic Member
CommandButtonW DroppedDown bug
 Originally Posted by Krool
Update released.
DroppedDown property improved in the CommandButtonW control to raise the DropDown event when set to True.
Basically prior to this update the DroppedDown property was kind of useless because it just used BCM_SETDROPDOWNSTATE which does not raise BCN_DROPDOWN.
Now it raises the event properly and ensure the button is redrawn before and after the event. Also it checks for BST_DROPDOWNPUSHED to not allow recursive entry.
The property makes nothing when BS_SPLITBUTTON is not defined.
There is still a bug when using the DropDown property:
Clicking fast on the DropDown arrow triggers the DropDown event AND the Click Event. A click with "normal speed" triggers only the DropDown event.
That is really annyoing if for example the Click Event opens a message box and the user only clicks on the DropDown arrow...
Can this be fixed? for example: IF DropDown arrow click THEN dont raise the Click Event
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|