Recent

Author Topic: Automatically replace WM_ with LM_  (Read 5009 times)

DelphiFreak

  • Sr. Member
  • ****
  • Posts: 255
    • Fresh sound.
Automatically replace WM_ with LM_
« on: April 17, 2007, 09:23:28 am »
How about automatically replace WM_ with LM_ when converting a Delphi Package to Lazarus Package ?

Would that be a good idea ?
I could try to do it but first I would like to hear some comments?
Linux Mint 20.3, Lazarus 2.3, Windows 10, Delphi 10.3 Rio, Delphi 11.1 Alexandria

antonio

  • Hero Member
  • *****
  • Posts: 605
RE: Automatically replace WM_ with LM_
« Reply #1 on: May 06, 2007, 10:17:14 pm »
If you guess it's useful, try to do it, why not?

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2584
RE: Automatically replace WM_ with LM_
« Reply #2 on: May 09, 2007, 10:35:17 am »
only a limited amount of WM_ messages are supported. In general it is better to use exiting methods than to hack with messages. So autoconverting might lseem nice, there is no guarantee that it will work.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018