mirror of
https://github.com/reactos/reactos.git
synced 2026-09-09 10:50:37 +08:00
However, as usual, wine's code (in comctl32) is incomplete/buggy, and the necessary message `PSM_GETCURRENTPAGEHWND` (and also `PSM_IDTOINDEX` with ID == 0) doesn't work when being invoked from e.g. `PSN_SETACTIVE` notification handler. This is due to the fact the `active_page` propsheet variable is artificially invalidated (to -1) before the notification is sent. See also: -08afc1a5ed("Lots of bug fixes and new features in property sheets.") -517b85f989-2a8463b558And this: - https://devblogs.microsoft.com/oldnewthing/20111021-00/?p=9323