Hi All,
I am trying to port some Delphi 5 or 7 (cannot recall which) to Lazarus.
What do I change WM_USER to? I am getting Identifier not found.
Here is the code:
main.pas
const
WM_USER_APPLICATION_MINIMIZE = WM_USER+1;
// identifier not found WM_USER
type
[...]
private
{ Private de
2010/12/27 Peter Williams :
> Hi All,
>
> I am trying to port some Delphi 5 or 7 (cannot recall which) to Lazarus.
>
> What do I change WM_USER to? I am getting Identifier not found.
>
> Here is the code:
>
> main.pas
>
> const
> WM_USER_APPLICATION_MINIMIZE = WM_USER+1;
>
> // identifier not fou
What do I change WM_USER to? I am getting Identifier not found.
LM_USER from unit LMessages, if you want to become platform independent
(wm_user is also in that unit and defined as wm_user=lm_user).
--
___
Lazarus mailing list
Lazarus@lists.lazarus