[Lazarus] using WM_USER const and TMessage to press escape to minimize form.

2010-12-27 Thread 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 found WM_USER type [...] private { Private de

Re: [Lazarus] using WM_USER const and TMessage to press escape to minimize form.

2010-12-27 Thread Roberto Padovani
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

Re: [Lazarus] using WM_USER const and TMessage to press escape to minimize form.

2010-12-27 Thread Benito van der Zander
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