* Added Chapter 29 to send text to the clipboard (Example 29-* and get text from the clipboard (Example 29-*. * Added Standard Clipboard Format constants in Appendix CH * Added MONITOR_DPI_TYPE, and MONITOR enumerations in Appendix CF and CG. This is compatible with 32-bit, 64-bit, ANSI, and Unicode Operating Systems. * Added DPI monitor scaling percent and retrieving other HiDPI settings using GetDpiForMonitor, and MonitorFromWindow functions in Example 28-3. * Added PROCESS_DPI_AWARENESS and common HRESULT constant values in Appendix CD and Appendix CE for Example 28-2 on Process DPI Awareness. * Added IsProcessDPIAware function to determine the OS’s ability to resize controls based on screen resolution in Example 28-1. * Added HiDPi chapter for working with various screen resolutions with the program and Operating System This required the GetForegroundWindow and modified FindWindow API. * 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 GetActiveWindow and modified FindWindow API. * Added Example 5-9 to detect if a window is active (has focus or not). * Added RPC return value constants in Appendix CC. * Create a UUID/GUID with Example 26-3 using UuidCreate, UuidToStringA, UuidToStringW, RpcStringFreeA, and RpcStringFreeW. * Updated Appendix A with C++ to Xojo Data Type conversions (Thanks Julian) > * `SOCKET_ADDRESS` structures for 32-bit and 64-bit apps > * `IP_ADAPTER_ANYCAST_ADDRESS_XP` structures for 32-bit and 64-bit apps > * `IP_ADAPTER_UNICAST_ADDRESS_LH` structures for 32-bit and 64-bit applications > * `IP_ADAPTER_ADDRESSES_LH` Structures for 32-bit and 64-bit applications > * Get Adapter Address Flags (Appendix CP) * Added GetAdaptersAddresses to retrieve addresses and data from adapters in Example 30-4 and include other data: * Added get MemoryBlock from pointer in example 24-12 > * Three variations (union overloading) of `in_addr1`, `in_addr2`, and `in_addr3` > * Address Info flag constants (Appendix CM) > * Socket Protocol constants (Appendix CL) > * Address family type constants (Appendix CJ) * Added GetAddrInfo function for ANSI, Unicode, 32-bit, and 64-bit compatibility with the following structures, constants, and functions in Example 30-3 for multiple numerical IP addresses from a string http address: This is an ANSI function that does not exist with Unicode. * Added GetHostByName function with HOSTENT structure for 32-bit and 64-bit versions in Example 30-2. * Added WSAStartup, GetHostName, WSACleanup in Example 30-3. * Get a MemoryBlock from a pointer snippet (Example 24-12) * Added `GROUP_USERS_INFO_0` structure (Example 31-2) * Added `LOCALGROUP_USERS_INFO_0` structure (Example 31-1) * Added NetUserGetGroups example for getting user global privileges (Example 31-2) * Added NetUserGetLocalGroups for getting user local privileges (Example 31-1) There are 25 chapters and contains over 900 pages with over 140 example programs. 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. Although there are many Visual Basic examples that can be converted, vb declare example are becoming outdated, have different parameters, or contain misinformation. This book provides many examples that are converted from C++ functions to Xojo. This is written for intermediate and advanced programmers of Xojo.Īll examples have been converted to 32-bit, 64-bit, ANSI, and Unicode versions. With the ability to change anything with the program or operating system, improper code also provides the ability of a crash. 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. Xojo has many helpful functions, and declares add to this existing toolbox. Xojo provides a RAD (Rapid Application Development) environment because it protects the user from the Operating System. Xojo Windows Declare Version 3.2 has just been finished with more examples, more constants, more data, more explanations, updates from ANSI to Unicode, all Windows 10 compatible, both 32-bit and 64-bit compatible, and updated to Xojo 2018 r3.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |