Recent

Author Topic: Windows Ink?  (Read 446 times)

katronix

  • Jr. Member
  • **
  • Posts: 53
Windows Ink?
« on: May 15, 2019, 02:05:23 am »
Hi all,

Was curious how hard it would be to make a Windows app that supports Windows Ink in Lazarus?

Thanks!

PascalDragon

  • Hero Member
  • *****
  • Posts: 719
  • Compiler Developer
Re: Windows Ink?
« Reply #1 on: May 15, 2019, 08:58:48 am »
You can find the API documentation here.
To get the corresponding unit you also need to import the type library. For this ensure that the LazActiveX package is installed, then you can use the Import Type Library entry in the Tools menu. There select the Microsoft Tablet PC Type Library and do the import which should result in a msinkautlib_1_0_tlb unit (don't forget to save it).

katronix

  • Jr. Member
  • **
  • Posts: 53
Re: Windows Ink?
« Reply #2 on: May 15, 2019, 11:11:53 am »
Thanks!