February 2006 build
=============
IMPORTANT: FWH has been build with the most recent Harbour/xHarbour CVS code. This FWH will not work with previous January Harbour/xHarbour builds!
* Enhancement: GetCPU() function is properly working on new computers.
* Enhancement: FiveWin for CA-Clipper (16 bits) no longer needs COMMCTRL.DLL. If you plan to use ImageLists, then you should have it available, though the EXE will start normally even if it is not present.
* New: Class TWindow DATA nExStyle. It is automatically managed to use extended styles. Actually it is used from Class TGet and Class TMultiGet to properly manage borders when using XP themes.
* Enhancement: Class TImage has been modified to use FreeImage.dll (http://freeimage.sourceforge.net) instead of nview*.dll. You may review samples\TestImg.prg to review that the sample source code is the same but now it properly works with many different graphics formats and without errors. The sample has been improved to stretch or not the image and to save it to disk. Many thanks to Enrico for his great help.
Simply change nview*.dll into freeimage.dll in your apps, and everything may work as expected. You don't need to make any source code changes in your application.
* New: Class TButtonBmp Method Enable() and Disable(), now invoke ::Refresh() automatically.
* New: More Shell Common dialogs and functions:
SHExitWindows( hWnd )
It is the dialog when you select Shut Down from the Start menu. There is no return value for the function, so you have no way of knowing what the user selected or whether the operativon was canceled.
Parameter: hWnd. Dialog or window handle.
SHRestartWindows( hWnd )
It is the dialog when changes are made to the system that require a shutdown or restart before they can take effect. The return value is IDYES if the user choose to perform the shutdown. It is IDNO if the operation was canceled.
Parameter: hWnd. Dialog or window handle.
SHAbout( hWnd, cApp, cText, hIcon )
It is the standard dialog "About".
Parameters:
hWnd. Dialog or window handle.
cApp. Text that the function displays in the title bar of the Shell About dialog box.
cText. Text that the function displays in the dialog box after the version and copyright informacion.
hIcon. Identifies the handle of an icon that the function displays in the dialog box.
SHFileProperty( hWnd, cFile )
It is the standard dialog "File properties".
Parameters:
hWnd. Dialog or window handle.
cFile. Name of the file.
SHPrnProperty( hWnd, cPrinter )
It is the standard dialog "Printer properties".
Parameters:
hWnd. Dialog or window handle.
cPrinter. Name of the printer.
Please review samples\shtest.prg
* New: Class TGet DATA bPostKey. It lets you evaluate a codeblock after a keystroke has been pressed and the GET buffer has changed. You may review samples\TestGet6.prg for a working sample.
* Enhancement: FWPPC, Class TGet using READONLY clause shows normal colors, not disabled ones, and the window color as the background color.
* Fix: FWPPC, Class TBitmap properly displays transparent bitmaps. Please review samples\TestBmp.prg
* Fix: POPUP menus where not properly disabling menuitems with WHEN .f.. Now it is ok.
* Fix: Class TCBrowse, colors management minor fix. DATA aActions support. Please review samples\Enrico.prg
* Fix: Class TControl, VK_ESCAPE management moved from Method KeyChar() to Method KeyDown().
* New: Function TimeZone() to return the local timezone.
* Enhancement: Class TBitmap minor fix when painting transparent on windows and mdi windows.
* New: Class TActiveX Method Redefine(). Please review samples\WebExp2.prg working sample. New REDEFINE ACTIVEX ... command.
* Fix: MsgInfo() and Msg... functions were not properly displaying 32 bits longs (numbers). Now it is ok.
* Enhancement: cWinVersion() now also detects Windows Vista. Better support for Windows Millenium detection. New IsWinVista() function.
* New: FWPPC, new Class TProgress (Win32 Progress Bars support).
Please review samples\TestProg.prg
* Enhancement: Class TImageList Method ReadBitmap( cFileName, nWidth, nImages, nClrTransparent ) lets you create an imagelist with a single bitmap that contains multiple images of nWidth each one.
* Enhancement: Minor fix on cGetFile() to avoid readonly selection by default.
* Fix: Minor fix on GetDlgItem() to support negative IDs.
* Enhancement: Class TProgress minor changes.
* Fix: Class TWindow Method SetBrush() was not increasing the brush nCount DATA.
* New: DialogBoxes transparency. Now you can use your own bitmaps as the background of your dialogboxes and the controls will look transparent over it. To use it is as simple as this:
DEFINE BRUSH oBrush RESCOURCE "Sky" // name of a bitmap from resources
DEFINE DIALOG oDlg RESOURCE "Test" BRUSH oBrush transparent
...
You may review samples\TestFldB.prg for a working sample with folders.
* Fix: checkboxes and radiobuttons on XP themed folders were not properly showing themed dotted line on focus gain and lost. Now it is ok.
* Enhancement: Class TBitmap now properly support ADJUST and TRANSPARENT clauses together.
* Fix: Class TFolder Method KeyDown() has been removed.
* New: Class TMci Method PlayFull() to reproduce in full screen. Also added to Class TVideo. Thanks to Enrico.
* Fix: Class Menu checked items don't look inset. Thanks to Enrico.
* Enhancement: Class TListBox properly process VK_RETURN. Thanks to Enrico.
* Enhancement: Better default colors use in Mdi windows. Improvements on the icons use. Thanks to Enrico.