Re: [1/3] comdlg32: Implement SetControlItemState for menu controls.
Aug. 19, 2015
1:49 a.m.
Vincent Povirk <madewokherd(a)gmail.com> wrote:
This required some rethinking because menus and combo boxes don't provide a way to "hide" items, just remove them, and native always shows items in the order they were added even when hidden and shown.
You can always add an item at a particular position. That should allow implementing hide/show for menus and combo/listboxes pretty easily using standard functionality. -- Dmitry.
August 2015
1:51 a.m.
New subject: [1/3] comdlg32: Implement SetControlItemState for menu controls.
You can always add an item at a particular position. That should allow implementing hide/show for menus and combo/listboxes pretty easily using standard functionality.
Yes, that's what I did, but it means we have to keep track of the hidden items separately, which we weren't doing before.
3872
Age (days ago)
3872
Last active (days ago)
1 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Vincent Povirk