[lazarus] Determining Crossplatform functions
Could anybody tell me if GetKeyState (and family) is cross platform or not ? - if not, is there a cross platform equivalent? I know that it is ultimately connected to the winapi, but does fpc/laz redirect to suit platforms ? On this note, is it at all possible to know which functions are x-platform and those not ? - ie if they pass thru 'this' unit/chain, they are ok, else not. Thanks _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] Determining Crossplatform functions
GetKeyState is in LclIntf unit, available on all platforms. Look in LclIntf for cross-platform equivalents of Win API functions. Thanks. -Phil -Original Message- From: SteveG [mailto:[EMAIL PROTECTED] Sent: Fri 2/1/2008 7:50 AM To: lazarus@miraclec.com Subject: [lazarus] Determining Crossplatform functions Could anybody tell me if GetKeyState (and family) is cross platform or not ? - if not, is there a cross platform equivalent? I know that it is ultimately connected to the winapi, but does fpc/laz redirect to suit platforms ? On this note, is it at all possible to know which functions are x-platform and those not ? - ie if they pass thru 'this' unit/chain, they are ok, else not. Thanks _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives winmail.dat
Re: [lazarus] Determining Crossplatform functions
SteveG wrote: Could anybody tell me if GetKeyState (and family) is cross platform or not ? - if not, is there a cross platform equivalent? I know that it is ultimately connected to the winapi, but does fpc/laz redirect to suit platforms ? On this note, is it at all possible to know which functions are x-platform and those not ? - ie if they pass thru 'this' unit/chain, they are ok, else not. IIRC getkeystate is part of the winapi emulation, so we try to keep our implementation crossplatform. However keep in mind that not all exotic windows keys are supported on all platforms. Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Determining Crossplatform functions
Thanks guys - this smooths things out for me a lot Hess, Philip J wrote: GetKeyState is in LclIntf unit, available on all platforms. Look in LclIntf for cross-platform equivalents of Win API functions. Thanks. -Phil -Original Message- From: SteveG [mailto:[EMAIL PROTECTED] Sent: Fri 2/1/2008 7:50 AM To: lazarus@miraclec.com Subject: [lazarus] Determining Crossplatform functions Could anybody tell me if GetKeyState (and family) is cross platform or not ? - if not, is there a cross platform equivalent? I know that it is ultimately connected to the winapi, but does fpc/laz redirect to suit platforms ? On this note, is it at all possible to know which functions are x-platform and those not ? - ie if they pass thru 'this' unit/chain, they are ok, else not. Thanks _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at http://www.lazarus.freepascal.org/mailarchives