MSW: window ids limited to 16 bits?
Harry
harry dot news at armadillo dot fr
Tue Apr 15 07:26:51 PDT 2008
You're right - it seems like in general control ids are limited to 16
bits (as in WM_COMMAND).
I still feel that causing a fail message for all ids gt 32 bits may be a
bit of an overkill,
but not strongly enough to push for a change in the code.
Regards
Harry
Vadim Zeitlin wrote:
> On Tue, 15 Apr 2008 09:49:34 +0200 Harry <"harry dot news at armadillo dot fr"@riobu.com> wrote:
>
> H> wxWindowBase::CreateBase() limits window ids to 16 bits, claiming that
> H> "ids are limited to 16 bits under MSW".
> H>
> H> As far as I know, MSW window ids are 32 bits, and this has been the case
> H> for quite a long time.
>
> This is incorrect, many windows messages use the low word of WPARAM (32
> bit quantity) to pass the ids.
>
> Regards,
> VZ
>
>
More information about the wx-users
mailing list