Implement API2 Declares With Xojo on Windows (XDL-0013)
Xojo Windows Declare Version 4.2 has just been finished with updates to Xojo 2019 r3.1 that has implemented Xojo-API2.<p>Xojo provides a RAD (Rapid Application Development) environment because it protects the user from the Operating System. Xojo has many helpful functions, and declares add to this existing toolbox.
Tapping into the Operating System directly with Declares opens up almost all of the options available for a program - but you are also out of the protection of the safe IDE (Integrated Development Environment) of Xojo. With the ability to change anything with the program or operating system, improper code also provides the ability of a crash. This is written for intermediate and advanced programmers of Xojo.
All examples have been converted to 32-bit, 64-bit, ANSI, and Unicode versions.
This book provides many examples that are converted from C++ functions to Xojo. Although there are many Visual Basic examples that can be converted, vb declare example are becoming outdated, have different parameters, or contain misinformation. For these reasons converting from C++ to Xojo is a long-lasting alternative and which this book provides many descriptions, reasons, references, and working examples for Xojo declares.
There are 31 chapters and contains over 1050 pages with over 150 example programs.
Updates:
Version 4.4: This version has a focus on the Windows Clipboard API's. This is a start of the many declares and there is much more content that can be created.
New to Version 4.4 -- February 2022
* Updated clipboard constant CF_DIBVS to CF_DIBV5
* Added CF_HTML Clipboard Format Type
* Added CF_RICHTEXT Clipboard Format Type
* Added GetClipboardformat to retrieve clipboard data (Example 29-3)
* Added EmptyClipboard example (Example 29-4)
* Added Generic Cut, Copy, and Paste (Example 29-5)
* Added Load a BMP picture file to the clipboard (Example 29-6)
* View clipboard picture data (Example 29-7)
* Added tagBITMAPINFOHEADER structure
* Added CF_DIB picture from clipboard to display (Example 29-8)
* Added CountClipboardFormats Structure
* Added EnumClipboardFormats Structure
* Added GetClipboardFormatName for both ANSI and Unicode
* Added the ability to retrieve clipboard formats (Example 29-9)Explai
Version 4.2: Fixed example 15-1 where it wouldn’t compile on 64-bit machines and updated for Xojo API 2.
New to Version 4.3 -- July 2021
- Explained Stucture Union in Chapter 33
- Add SendInput for a keyboard Virtual Key (Example 33-1)
- Add SendInput for a Mouse key (Example 33-2)
- Added Virtual Key Code constants (Appendix CR)
- Added MouseFlag Code constants (Appendix CS)
- Added tagINPUT structure description and MB equivalent for 32-bit and 64-bit compatibility
- Added SendInput function for completeness and 32-bit and 64-bit compatibility