Windows Declare Book - Updated to Version 3.2

“I Wish I Knew How To…Implement API Declares with Xojo on Windows” book has been updated to version 2.0.

New to Version 3.2 — May 2019
• Create a UUID/GUID with Example 26-3 using UuidCreate, UuidToStringA, UuidToStringW, RpcStringFreeA, and RpcStringFreeW. This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems.
• Added RPC return value constants in Appendix CC.
• Added Example 5-9 to detect if a window is active (has focus or not). This required the GetActiveWindow and modified FindWindow API. This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems.
• Added Example 5-10 to detect if a window is active (has focus or not) and relates it also to the Z-order value. This required the GetForegroundWindow and modified FindWindow API. This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems.
• Added HiDPi chapter for working with various screen resolutions with the program and Operating System
• Added IsProcessDPIAware function to determine the OS’s ability to resize controls based on screen resolution in Example 28-1. This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems.
• Added PROCESSDPIAWARENESS and common HRESULT constant values in Appendix CD and Appendix CE for Example 28-2 on Process DPI Awareness.
• Added DPI monitor scaling percent and retrieving other HiDPI settings using GetDpiForMonitor, and MonitorFromWindow functions in Example 28-3. This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems.
• Added MONITORDPITYPE, and MONITOR enumerations in Appendix CF and CG.
• Added Standard Clipboard Format constants in Appendix CH
• Added Chapter 29 to send text to the clipboard (Example 29-1) and get text from the clipboard (Example 29-2). This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems.

This is a free upgrade to those who have purchased versions 3.x of this book. All example are 32-bit, 64-bit, ANSI, and Unicode compatible.

There are 29 chapters and contains over 1000 pages with over 150 example programs. Examples include creating controls, a new window, GDI, Pens, brushes, Structures, Files, LoWord, audio players, more controls, and much more. Many screenshots have been added to show the results of the code with an index to help find topics quickly.

This is one of many books at xDevLibrary. This book can be purchased at http://XojoLibrary.com where many great Xojo resources are available. The table of contents can be viewed at my website: https://scispec.ca