Recent

Author Topic: Message methods: ho wto share code between VCL and LCL?  (Read 6515 times)

Anonymous

  • Guest
Message methods: ho wto share code between VCL and LCL?
« on: June 03, 2004, 09:51:19 pm »
For instance "WMEraseBkgnd(var Message: TWMEraseBkgnd)"  is required in VCL, but in LCL it will require a TLMEraseBkgnd.
Any hints on being able to share code *without* $ifdef or $include?

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
Message methods: ho wto share code between VCL and LCL?
« Reply #1 on: June 03, 2004, 10:47:15 pm »
Add lmessage to your program and use TLMEraseBkgnd.

 

TinyPortal © 2005-2018