|
Readme |
ctl32 - Readme CHANGES 2008-08-25 NOTE: _VFP.AUTOYIELD is set to FALSE in the ctl32_controlbase class! Now the classes use vfp2c32.fll from http://www.vfp2c.com This fll makes possible to subclass the windows controls for example, or provide a callback function for the GetOpenFileName and SaveFileName API calls. Also the ctl32_structure class now uses the functions of the fll to read/write structure data. The API timer used to detect the TAB, SHIFT-TAB or ENTER keys while a windows common control has the keyboard focus, has been eliminated. Now the vfp2c32 fll is used to set up a callback function to the window procedure of each windows control, so we can check keys there. Also the handling of the mousewheel is subclassed in the ctl32_trackbar, so the Windows bugs are fixed, now up means up, and down means down for a vertical trackbar. Also the change ratio of the wheel mouse is fixed at 1. New ctl32_openfiledialog and ctl32_savefiledialog classes, that handle the native Windows open and save dialogs. License: No boring legal stuff here, this classes are free to use. Please give back with your ideas and improvements. If you PC blows up when you use this classes, don't blame me. ctl32.h The ctl32.h file is included in every class. This file is divided in three sections:
The Custom section includes some general constants, some constants that are missing from foxpro.h, and constants for use by the classes. The constants used by the ctl32 classes all start with the "CON_" prefix. The Windows API section includes all constants used by the classes from the Windows API, copied from Microsoft sources. The Visual FoxPro section is a subset of the foxpro.h file in the VFP install folder. Properties, Events, Methods All public custom PEMs of the ctl32 classes start with the prefix "ctl". New versions of ctl32_statusbar and ctl32_statusbar have changed all its custom PEMs to adhere to this standard. This is to prevent conflict with native PEMs and reserved words. You should use Code References in the Tools menu to change all the references to this PEMs in your code. This change had to me made, there where some problems with existing names. |
Carlos Alloatti |
|
|