![]() |
| Products & Services | News | Support | Downloads | Purchase | Links | About Fivetech |
WhatsNew in FWH 8.04 version, April 2008
* Enhancement:
Class TWindow Method MeasureItem() returns wider sizes for
menuitems.
* Fix: Class TControl has been modified to properly process
WM_UPDATEUISTATE message.
This was causing some controls not to be seen when pressing Alt
in Vista.
* New: Help CHM files support, using the same syntax and commands
used with HLP files.
Please review samples\TestHlp2.prg. We appreciate your tests
feedback.
* Enhancement: New Class TGraph version by Alfredo Arteaga:
DATA nMaxVal to set the maximum value
DATA nMinVal lo set the minimum value,
DATA lLine sets a yellow line over bar graphics,
DATA lFull to fill the entire surface
New parameters nType and l3D in AddSerie():
AddSerie( aDat, cLegend, nColor, nType, l3D )
This allows to specify the type of graphic for each data serial
* Class TXBrowse enhancements and fixes:
1. Multi select works with MARQSTYLE_HIGHLCELL also. On
Shift-Click, multi select is
automatically activated and style is temporarily changed two
MARQSTYLE_HIGHLROWMS.
On normal click, the original style is restored.
2. ADD [<oCol>] TO <oBrw> is improved providing
facilty to insert the column at a desired
position optionally. Now ADD [<ocol>] TO <oBrw> AT
nPos inserts the new coumn at nPos.
Optionally instead of nPos a Column object also can be specified.
ADD [<oCol>] TO oBrw AT oOtherCol inserts the new column at
the position of the
oOtherCol. If AT <onAt> is not specified, the new column is
added at the end as usual.
3. @ <row>, <col> XBROWSE and REDEFINE XBROWSE
commands providing for sort orders also
inline.
4. Bitmaps in the Data are now painted transparently over the
brushed background.
5. Bitmaps were not correctly algned center earlier. Now Bitmaps
are correctly centered
when bStrData is nil.
6. Bitmap painting on Header and Footer is improved.
7. Text data with trailing spaces was not correctly centered or
right aligned properly
with alignments AL_CENTER and AL_RIGHT. Now alignment works
correctly.
8. Report Method: (a) If multiple rows are selected, only the
rows selected are printed.
Otherwise all rows are printed. This makes it convinient to
select the rows to be
printed.
(b) An array of column objects or visible column numbers can be
specified in the
addiional parameter aGroupBy for grouping the report.
9. ToExcel method:a) If multiple rows are selected, only the rows
selected are exported.
Otherwise all rows are exported. This makes it convinient to
select the rows to be
exported.
(b) By specifying a sorted column number as the new last
parameter, it is poossible
to have collapsible sub-group totals and grand totals.
(c) Multilingual formula support for French, Spanish, Italain,
German and Portugese.
10. Improved support for ADT table data types.
11. New Method: SetTree for setting FWH trees. It is also
possible to link navigation
of tree to extrenal database. Review the sample TestXbr3.prg
under menu ADO->Tree.
12. TXBrwColumn New Data: lBmpStretch. If set to .t., and if
bStrData is nil, the bitmap
is stretched to fill the cell.
13. TXBrwColumn New Data: oBrush: If specified, this brush is
used to paint the background
of the column. Codeblock also can be specified evaluating to a
valid brush object or nil.
14. TXBrwColumn New Data: bPopUp: A codeblock can be specified to
return a Popup Menu object
when evaluated. On right click on the cell, this popup menu is
executed.
* Class TReport enhancement:
Text data with trailing spaces was not correctly centered or
right aligned properly
with alignments AL_CENTER and AL_RIGHT. Now alignment works
correctly.
* Class TRichEdit new methods and functions:
METHOD GetBullet() -> Returns the state of bullets at the
beginning of the current paragraph
METHOD GetNumbering() -> Returns the state of numbering at the
beginning of the current paragraph
METHOD SetBullet() -> Sets bullets at the beginning of the
selected paragraphs or in the insertion point
METHOD SetNumbering() -> Sets numbers at the beginning of the
selected paragraphs or in the insertion point
METHOD ScrollCaret() -> Scrolls the caret into view in a rich
edit control
METHOD InsertRTF() -> Insert a string with RTF codes
New function REGetDateTime() -> Retrieves an array with
Date/Time in all available formats
Please review samples\Testrtf.prg using the new methods.
* Enhancement: Class TMdiFrame searches for a "Window"
menuitem, and if found and other
item has been specified, it is used to display the opened
mdichild windows.
* Enhancement: Class TBtnBmp Method LButtonUp(). Now it is
possible to use a popup menu
with a btnbmp button placed on a dialog. Please review
samples\TestBtnM.prg
* New: samples\TestPag3.prg shows using pages inside a main
dialog box.
* Fix: Class TWBrowse is properly displaying the headers if
Windows XP or Vista use the
"classic" look.
* Fix: function TimeFromStart() was failing when an init
procedure was generating an error.
Now it is ok.
* New: Class TGif provides support for animated GIFs without the
need for external DLLs.
Please review samples\TestGif.prg. This is still a work in
development, as not all GIFs
are properly supported, and we plan to provide a better
integration in next FWH builds.
March 2008
==========
* Enhancement: Class TMsgBar, the hand cursor is only shown when
a MsgItem contains an
action to be fired.
* Enhancement: The recent added function GetGuiResources() has
been modified to be
dynamically linked. This fixes an uncompatibility problem with
Windows NT.
* New: command REDEFINE XBROWSE already available for Class
TXBrowse. This will help to
Class TWBrowse and similars to migrate to Class TXBrowse.
* Enhancement: Class TXBrowse scrolling and painting.
* Enhancement: Class TGet proper support for '@!' and spanish and
other countries
special chars like "ñ", etc.
* Fix: Class TOutLook Method EndPaint() minor fix.
* New: Class TComboBox Method End() to properly hide and destroy
the dropdown editable
comboboxes.
* Enhancement: Class TTabs allows to set bRClicked to disable the
default shown popup menu.
* New: FiveWin.ch support for TRY ... CATCH ... END for Harbour.
Not needed for xHarbour
users.
* Enhancement: function aOData( <oObject> ) --> aData
returns the proper DATA names if
Harbour/xHarbour are used.
* Enhancement: Tooltips can now have user defined header, icon
and colors, by specifying the tooltip as an array in the format {
cToolTipText, [cHeader, [nIcon]], [nForeColor], [nBackColor] }.
If the tooltip is specified as a codeblock, it can evaluate to a
character value or an array.
* Enhancement: Improved XBrowse Commands:
Commands for xbrowse and xbrowse columns are greatly improved to
provide compatibility
with the commands for TWBrowse and TCBrowse and at the same time
providing greater
enhanced functionality. We favor using commands over the earlier
detailed coding because
the commands extremely simplify complex tasks, greatly reduce
coding effort and provide
easier maintenance of the code.
@ row, col XBROWSE and REDEFINE XBROWSE are comapatible with
LISTBOX commands.
* Enhancement: for XBrowse commands:
In FIELDS <expressionlist,...>, the expressions need not
evaluate to character value and
can evaluate their native data type. This is recommended over the
earlier practice of
providing expressions to return character values. Browse object
will automatically justify
and format the values depending on the data type appropriately.
Optionally PICTURES <picturelist,...> and JUSTIFY
<ajust,...> can be specified in line
overriding default formatting and justification.
When the fields list does not involve complex expressions,
COLUMNS <namesoffields,...> can
also be used. For arrays COLUMNS <columnnumbers,...> can be
given.
Arrays, recordsets and oDbf can be specified inline as ARRAY
aData or RECORDSET oRs or
OBJECT oDbf in the place of ALIAS cAliasName. There is no need to
call SetArray, SetAdo,
SetOdbf methods separately.
Examples:
RDD.1
@ 10, 10 XBROWSE oBrw ; // or REDEFINE XBROWSE oBrw ID 101
COLUMNS "First", "Age". "HireDate"
;
ALIAS "CUST"
oBrw:CreateFromCode() // oBrw:CreateFromResource(nID) is not
required if REDEFINE is used.
ACTIVATE WINDOW / DIALOG ....
RDD.2
@ r, c XBROWSE oBrw ;
COLUMNS "First", "Age" ;
FIELDS (cAlias)->Salary + 1000 ; // both columns and fields
are shown
PICTURES nil, "99", "9999999.99" ; //
optional
HEADERS nil, nil, "NewSalary" ; // where nil, column
names are default headers
JUSTIFY .F., AL_CENTER, .T. ; // logical values or numbers can be
used
ALIAS "CUST" ;
AUTOSORT // Auto sorting if index exists on column name
Simple columns can be specified with COLUMNS and complex
expressions can be specified
with FIELDS.
oBrw:oCol( "NewSalary" ):cSortOrder :=
"SALARY" // for sorting the third column
RDD.3
REDEFINE XBROWSE oBrw ALIAS cAlias AUTOCOLS AUTOSORT
Arrays.1:
REDEFINE XBROWSE oBrw ;
COLUMNS 3, 2, 5 ; // optional if only these three columns are to
be browsed ;
HEADERS "Third", "Second", "Fifth"
;
ARRAY aData ;
AUTOSORT
Arrays.2
@ 10,10 XBROWSE oBrw ARRAY aData AUTOSORT AUTOCOLS
ADO RecordSets:
ADO.1
@ 10,10 XBROWSE oBrw RECORDSET oRs AUTOCOLS AUTOSORT
ADO.2
REDEFINE XBROWSE oBrw ;
COLUMNS "First", "Last", "Salary",
"HireDate" ;
[ HEADERS, PICTURES, JUSTIFY can also be used to override
defaults ] ;
RECSET oRs ;
AUTOSORT
Note: Now browsing of blank recordsets is supported.
DataBase objects like TDataBase (FWH) or any object having
navigational methods
compatible with TDataBase.
ODBF:
@ 10,10 XBROWSE oBrw ;
[ COLUMNS "First", "Salary", ... ] ;
[ FIELDS oDbf:Age, oDbf:City ] ;
OBJECT oDbf
Autosort and AutoCols are not supported for database objects.
In addition, columns can also be added with ADD TO oBrw command
similar to TCBrowse
commands:
Examples:
ADD TO oBrw DATA <expr> PICTURE <pic> etc.
Editable and bOnPostEdit can be specified inline.
ADD TO oBrw ARRAY ELEMENT 4 PICTURE .... etc
* TXBrowse Enhancements: (please review samples\TestXBr3.prg)
a) bStrData: Deprecated, Users are advised to assign a codeblock
returning the data in
its native type ( 'N', "C", "D",
"L" ) and optionally assigining the picture to
oCol:cEditPicture. Browse class will automatically derive the
bStrData from the
bEditValue and cEditPicture, if specified, and in addition the
Browse can
appropriately handle the values for alignment, formatting, copy /
export to
excel and reports.
b) Transparent Browse: Specifying oBrw:lTransparent := .t. and
oBrw:oBrw
:= oBrush will paint the browse transparently over the
background.
c) New Method: ToExcel( [bProgress] )
Exports data in the visible columns to Excel. The method works
with Excel 2003.
The columns are formatted justified according to the data types
and totalled
of the new data lTotal of the TXBrwColumn object is set to true.
If specified,
bProgress codeblock is evaluated with nCompletedRows, nTotalRows.
d) Improved: SetArray: Improved to specify individual columns in
user
specified order.
Syntax:
oBrw:SetArray(aData, lAutoOrder, nInitialORder, aCols )
Example:
oBrw:SetArray( aData, .t., 1, { 3, 2, 6, 1 } )
The browse will show only columns 3,2,6 and 1 of the array in
that order.
e) Improved: SetRDD( [lAddColumns], [lAutoSort], [aFldNames] )
If lAutoSort parameter is set to True, the browse will sort the
data on the
index order having the same name as the fieldname on LeftClick on
the
header. It is not necessary to specify the codeblock
oCol:bLClickHeader
unlike earlier.
If an array containing the field names is given in the parameter
aFldNames,
only those fields are added to the browse.
Example: oBrw:SetRDD( .t., .t., { "First",
"Last", "Salary" } )
f) Improved: SetADO( oRs, [lAddColumns], [lAutoSort], [aFldNames]
).
Functionality is similar to SetRDD.
It is now possible to browse empty recordsets.
g) New: SetODbf( oDbf, [ aCols ] ). Optionally aCols can be an
array of
fieldnames. oDbf can be any object based on any data source
having
navigational methods similar to TDatabase class.
h) Improvements common to SetRDD, SetAdo, etc.
Automatic justification. Numbers and Dates are automatically
justified
Right by default. Values are automatically formatted based on the
data
type, field length and decimals, unless overridden specifically.
These
improvements simplify tedious coding in case of simple browses.
Still
columns with complex data can be handled in the standard manner.
i) New Method Copy(): Pressing Ctrl+C invokes the new method
Copy(). This method copies
the value in the selected cell, in case of celled browses, or the
entire selected row
in case of row browses and all the selected rows in case multiple
rows are selected to
ClipBoard. Cell values are delmited by chr(9) and rows are
delimited by CRLF. The text
is copied in a format compatible to be pasted in Excel sheet. If
oCol:bEditvalue is
specified the data type is approrpiately handled. This default
behaviour can be
disabled by setting oBrw:lAllowCopy := .f.
j) New Methods: DrawSelect() and RefreshCurrent() are mapped to
DrawLine( .t. ) to be
compatible with TWBrowse / TCBrowse syntax.
k) New Method: RefreshFooters(). This method refreshes footers
only, evaluating the
codeblocks if necessary, without having to Refresh the entire
browse. This results
fast response in case of large browses.
l) New Method: aRow() returns ::aArrayData[ ::nArrayAt ].
m) New Method: oCol( cHeader ) returns the column object matching
the given header.
If numberic value is passed as parameter this method is
equivalent to ::aCols[ nCol ].
Example:
WITH OBJECT oBrw:oCol( "Amount" ) // column object
having header "amount"
:nEditTyoe := .t.
..... etc ...
END
n) Browsing empty array:
SetArray method may be called with the array containing atleast
one dummy row. This
dummy row enables the browse object to assign columns with proper
datatypes and widths.
After oBrw:CreateFromCode(), add the two lines ASize( aData, 0 ),
oBrw:Keycount().
* TXBrwColumn enhancements:
a) New DATA nArrayCol. It is now enough to write oCol:nArrayCol
:= 3, instead of the
earlier method of oCol:bStrData := { || cValToChar(
oBrw:aArrayData[ oBrw:nArrayAt, 3 ] ) }.
Browse object automatically generates the necessary code.
b) New DATA cSortOrder. It is now not necessary to do the tedious
coding of
oCol:bLclickHeader to enable sorting of data in response the Left
Click on the header.
Assiging the name of index order in case of RDD, column names in
case of ADO or the
column number of array to the Data cSortOrder is all that is
needed.
c) New DATA cDataType. Internally used. Data type is
automatically derived from bEditValue
if specified. The datatype is internally used for formatting,
alignment, reporting,
export to excel and copy to clipboard methods.
d) New DATA bEditWhen. If assigned, column Edit is not invoked if
the codeblock evaluates
to false.
e) New DATA cEditKeys. If a character sting is specified, only
key press matching one of
the characters in cEditKeys will invoke Edit method in case
oBrw:lFastEdit := .t..
The default behaviour is Enter Key or Double Click on the cell
invokes Edit and
when oBrw:lFastEdit is .t., for dates and numerics digit key and
for others
alphadigit key invokes edit.
f) DATAs cFooter / bFooter. Now cFooter need not be character
type only. bFooter can
evaluate to any data type. Footers will be formatted
automatically.
g) New METHOD SetCheck ( aBitMaps/aResource, bOnPostEdit ).
Logical values can be
displayed as bitmaps with this method. First parameter is an
array with two or three
bitmaps or resource names. First bitmap is used for showing True
and second bitmap is
used for showing false. If bOnPostEdit parameter is specified,
the column is set in
edit mode. Pressing space bar or double clicking on the cell
toggles the logical value.
h) New METHOD RefreshFooter(). Refreshes footer of the specified
column only, evaluating
bFooter, if specified.
i) If a numeric column is edited, in addition to redrawing the
selected row, footer of
column also is refreshed automatically if cFooter or bFooter is
specified. It is no
more necessary to code for refreshing the footers.
j) Number formatting. Numeric values having decimals are
automatically formatted with
thousand separators and right justified. This behaviour can be
changed globally with
xbrNumFormat( "A" or "E", .t. or .f. ). When
first parameter is "E" thousand separators
are dots ( "." ) and decimal separators are commans and
otherwise the thousand separators
are commas and decimal separators are ".". If logical
value in the second parameter
decides whether thousand separators are to be used or not.
* fix: Minor change in source\errsysw.prg
February 2008
=============
* Enhancement: Class TTabs now uses Office 2007 look. Please
review samples\TestTabs.prg
It looks really nice!
* Fix: Class TXBrwColumn Method PaintFooter() was not using the
right font. Now it
is ok.
* Enhancement: Class TOutLook2003 new DATA nOption. It keeps the
current selected group.
* Enhancement: Class TBar was not using DATA bPainted is 3D
clause was used. Now it is
ok.
* Enhancement: Class TXBrowse Method Refresh(). Many thanks to
Nageswararao!
* Enhancement: The documentation has been updated and greatly
enhanced!:
* New documented functions in FWFun.chm:
AbortDoc()
CodeText()
ComDlgXErr()
CreateEnhMetaFile()
DecodeText()
DrawState()
ExtractLine()
FileTimeToDate()
FileTimeToTime()
GetLogicalDrives()
GetNMHDRCode()
GetNMHDRHWndFrom()
GetNMHDRIdFrom()
GetNMHeaButton()
GetNMHeaItem()
GetNMListViewItem()
GetTimePick()
HeaderGet()
HeaderIns()
HeaderLayout()
HeaderSet()
IlLoadImage()
IsAppThemed()
IsInternet()
IsWin64()
IsWinVista()
MsgCalc()
PageGetMargins()
PageSetup()
PrnGetCollate()
PrnGetPagNums()
PrnGetSelection()
PrnStatus()
RegEnumValue()
SetBalloon()
SetGetColorFocus()
SetTimePick()
ShowIP()
StretchBlt()
TabGetRowCount()
TimeZone()
TransBmp()
TvGetCheck()
TvGetParent()
TvIParam()
TvSetCheck()
TvSetColor()
TvSetItemText()
TvSetTextImage()
VolumeName()
WndBox2007()
xBrJustify()
xBrowseNew()
xBrwAddColumn()
* Updated documentation of functions in FWFun.chm:
cTempFile()
Ctl3DLook()
GetPrintDC()
InvalidateRect()
MenuMeasureItem()
PlayEnhMetaFile()
SetDatePick()
WndCopy()
* New documented Classes in FwClass.chm:
TActiveX
TButtonBmp
THeader
TOutLook2003
TOutLook2003Group
TPreview
TTimePick
* New updated documentation for Classes:
TAnimate
TBtnBmp
TComboBox
TDBCombo
TFTP
TGet
TImageList
TMci
TMultiGet
TRichEdit
TStatusBar
TToolBar
TTreeView
TTVItem
TVideo
TXBrowse
TXBrwColumn
* New documented Commands in FwCmd.chm:
ActiveX
ButtonBmp
Header
ImageList
ListView
Outlook2003
Progress
ReBar
TabControl
TMPicker
Toolbar
TreeView
XBrowse
* New updated documentation for Commands:
Bar
BtnBmp
Cursor
Dialogs
Image
Menu
MsgBar
Printer
RadioButtons
Video
* Fixed: Class TXBrowse Method LButtonDown() was not showing the
proper record under some
circunstances. Now it is ok.
* Enhancement: Class TButtonBmp was not using upper() of text
position. Now it is ok.
* Enhancement: function GetNetCardID() has been enhanced to
detect more than one network
adapter. If more than one are found then an array is returned. If
just one is found then
a text is returned to keep backwards compatibility.
* Enhancement: MsgBar 2007 clause is properly painting the items
without the previous
gray background. Thanks to Nageswararao!
* Fix: FWH internal funcion FixSays() was not properly working
when using dialogs and a
print preview too. Now it is ok.
* Enhancement: Class TPreview is using the new bitmaps when 2007
clause is used.
* New: New function CursorNo(), sets the "forbidden"
cursor.
* Enhancement: FiveWin drag&drop has been improved to use
CursorNo() when a window does
not accepts a drop operation from FiveWin. Please review
samples\TestDrp3.prg
* Enhancement: Class TXBrowse has been improved to provide better
support for TWBrowse
commands alike support. This way we easy the transition from
TWBrowse to TXBrowse.
* New: function GetGuiResources() returns the amount of GDI
objects in use.
January 2008
============
* Fix: Due to recent Class TGet changes, bKeyDon was evaluated
twice. Now it is ok.
* Enhancement: function cDlg2Chr() has been improved to support
font name and size
information and proper WORD alignment. This function is used from
Class TDialog.
* New: function IsThemeActive() --> lYesNo. Returns if Windows
is using a theme or is
using the "classic" Windows look.
* New: FiveLinux, Class TWbrowse Method SetArray( aArray ).
Please review samples\
TestArr.prg
* Enhancement: samples\testDllP.prg and samples\pcodedll.prg have
been modified according
to new Harbour/xharbour pcode DLLs management functions.
* Fix: Class TWBrowse Method lEditCol() minor fix when editing
numeric variables
* New: Class TXBrowse Method Report( cTitle, lPreview, lModal,
bSetup ). Many thanks to
Nageswararao! The bSetup is intended for the programmer to
specify any headers, footers,
etc so that he can expand the functionality. The programmer can
even define the columns
himself and in that case return .T., If the return value is .T.
our method does not add
any columns by default. Returning any other value is ignored and
our method continues to
add the default columns.
* Enhancement: Improved Class TXBrowse Method SetAdo(). Many
thanks to Nageswararao!
* Enhancement: Class TDialog Method SysCommand() was not
releasing the mouse if captured
and the dialog got a close order.
* Enhancement: Class TSay Method HandleEvent(), removed
WM_LBUTTONDOWN related code. it
was not needed.
* Fix: Minor fix in Class TGet Method cGenPrg().
* Fix: Class TCBrowse Method DrawHeaders(), it was painting an
extra column in some
circunstances. Now it is ok.
* Enhancement: CLASS TXBrwColumn used by Class TXBrowse, DATA
oDataFont it also supports
a codeblock to return the font to use. The codeblock receives the
column object as the
first parameter.
* New: Class TRichEdit Method InsertPictureFile( cFileName ), it
lets you insert different
graphics formats files into your richedit text.
* New: new command DEFINE IMAGE <oImg> ... similar to
DEFINE BITMAP <oBmp> ... but
supporting more grahics fotmats files (the ones supported by
Class TImage).
* Fix: Class TSay Method SetText(), minor fix when a bitmapped
brush and themes were
used simultaneously.
* Enhancement: FWH function GetFTime() was not finished. Now its
working fine.
* Fix: FW++ checkboxes on folders were not properly toggling
their values. Now it is ok.
* Fix: Print Preview had an error when using 2007 style and
themes. Now it is ok.
* Enhancement: Class TGet Method KeyDown() now provides support
for PageUp and PageDown
keystrokes when using the SPINNER clause to decrease and increase
the GET value.
* New: Google Maps sample application in samples\gmapd.prg.
Thanks to Rafael Clemente and
Shrkcod.
* Enhancement: Class TXBrowse online editing has been greatly
enhanced, fixing pending
bugs and improving its functionality. Please review
samples\mallorca.prg
* Enhancement: Class TXBrowse was not processing bKeyChar. Now it
is supported.
* Enhancement: Class TXBrowse Method DelCol(). Thanks to
Nageswararao.
December 2007
=============
* New: Class TXBrowse provides Office 2007 look. Please review
samples\TestXBrw.prg
Header and footer bitmaps are painted transparent.
* Fix: Class TWindow Method Say() was not properly changing from
TRANSPARENT to OPAQUE.
Now it is ok.
* Fix: Class TMenu Method Add() minor fix for showing the menu as
"float".
* New: FWH provides anti-piracy system based on a standard USB
pendrive. Please review
samples\Protect.prg for the full source code, ready to be
included in your applications.
* Fix: Class TBar Methods GoLeft() and GoRight(), added missing
::Refresh()
* Enhancement: On a MDI window, if child windows are moved out of
the main area, the
scrollbars are automatically shown and allow to restore the child
windows position.
* Fix: Class TXBrowse Method ColAtPos() was giving out of bound
errors sometimes. Now
it is ok.
* Enhancement: Class TComboBox Style CBS_DROPDOWN allows Tab and
Return to skip to next
control.
* New: A new function SetBalloon( lOnOff ) has been added to have
Balloon shape for
tooltips globally. Balloon shape is not used by default. To show
tooltips as balloons:
SetBalloon( .T. ). If you want a specific control to show its
tooltip in a different
way, just do oControl:lBalloon = .F.
* Fix: Class TMsgBar was leaking memory due to recent 2007
changes. Now it is ok.
* Enhancement: Class TXBrowse METHOD DefStyle(), DT_NOPREFIX
style included.
* Enhancement: samples\Test2003.prg uses now a main MDI window.
Please review its source
code as it uses a tricky way to bypass an internal Windows MDI
procedure GPF :-)
* Enhancement: Class TBtnBmp used in a ButtonBar with Office 2007
look (2007 clause)
supports several prompt lines using CRLF.
* Fix: Small bug in nDbl2Flt(). Thanks to Enrico!
* Enhancement: Class TXBrwColumn new DATA bFooter. If used, it
gets evaluated to paint
the footer containt.
* Fix: REDEFINE MENUITEM ... were not firing their actions. Now
it is ok.
* New: New @ ..., ... XBROWSE ... commands to emulate the already
existing for classes
TWBrowse and TCBrowse to easy the migration to TXBrowse. Please
review include\xbrowse.ch
Many thanks to Nageswararao!
* Enhancement: FiveLinux enhanced support for numpad keystrokes,
and some other control
keys. Several missing command clauses implemented. Please review
FiveLinux.ch
* New: FiveMac support for standard Mac OSX toolbars. Please
review samples\osxpro.prg
* Fix: Class TXBrowse function ExtractLine(). It had a nasty bug.
Now it is ok :-)
November 2007
=============
* New: Office 2007 look for the menus! Please review
samples\Test2007.prg
* Fix: Minor fix on Class TToolBar. Thanks to Moises!
* Enhancement: Class TBar and TMsgBar were not evaluating
::bPainted if 2007 was used.
Now it is ok.
* Fix: Minor fix on Class TControl regarding ::bMMoved use.
* Fix: FixSays() was not properly managing all types of icons.
Now it is ok.
* Enhancement: Class TXBrowse Method SetRdd( [lAddColumns] ), now
you can provide a
lAddColumns parameter as .F. (it is .T. by default) to avoid the
automatic creation
of the browse columns from the DBF in use.
* Enhancement: Class TBar no longer draws an invert rect when the
mouse is clicked over it.
* Fix: Class TListBox Method DrawItem() was wrongly calling
LbxDrawItem() Method when a
POPUP MENU is on top. Now it is ok.
* Fix: Class TXBrowse Method GoUp(). Thanks to Carlos Mora!
* Fix: Bitmaps were not properly centered on BtnBmps when a popup
was used with the
BtnBmp. Now it is ok.
* Enhancement: Class TBtnBmp supports multiple lines of text as
the button prompt,
using CRLFs.
* New: FWPPC, samples\Gps.prg shows how to use the GPS with
FiveWin for Pocket PC.
Many thanks to Salvador Gallardo!
* New: Class TBtnBmp() Method ShowPopup(), lets you show the
popup of the BtnBmp object,
if a popup for it is defined, as the action of the button. Please
review
samples\Test2007.prg
* New: xHarbour new build requires to link pcrepos.lib. If you
are using a makefile or a
bat file of your own, please include that library.
* Enhancement: Class TWindow Methods GoNextCtrl() and
GoPrevCtrl() now work on windows
(main or mdichilds) too.
* New: Built-in Print Preview automatically uses Office 2007 look
if such style is used
on the main window buttonbar.
* New: Class TControl Method SysChar( nKey, nFlags ). Please
review samples\TestMdiR.prg
and check the controls Alt+... accelerators.
* Fix: Class TXBrowse several fixes.
* Enhancement: Please notice that FiveWin.ch has been modified
due to recent changes in
Harbour. Please use this new FiveWin.ch. Also if you are using
your own ErrSysW.prg
module, please notice there are some new lines at the bottom of
the FWH's one that you
have to copy to yours.
WhatsNew in FW/FWH/FW++ 7.10 version and FWPPC, October 2007
* Fix: Class
TWindow Method EndPaint() returns zero to avoid painting errors.
This way
all classes using Method Display() return zero now, to avoid
painting errors.
* Enhancement: function MsgGet() shows proper dimensions if no
bitmap is used.
* Fix: Preview window shows maximized if non MDI main window is
used.
* New: Class TXBrowse Method nAt(), returns the current selected
column.
* New: Class TFolder bitmaps support. Please review
samples\TestFold.prg
* Fix: Minor fix on Class TDTPicker when using an empty date. Now
it is ok.
* Enhancement: Class TXBrowse minor changes in method SetArray().
Thanks to Biel!
* New: function SetGetColorFocus( [ nClrFocus ] ), activates Gets
color change when
focused and optionally sets the focus color to use.
* Enhancement: Class TOutLook2003 has been modified to work with
FiveWin 16 bits too.
* New: FiveWin 16 bits support for TrackMouseEvent() function.
* New: Class TOutLook2003 is also available for FiveWin for
Clipper 16 bits.
* New: Office 2007 look for ButtonBars!!! As easy as adding 2007
clause:
DEFINE BUTTONBAR oBar OF oWnd SIZE 60, 60 2007
* Fix: Minor changes in Class TPreview
* Enhancement: FWH comm pots management have been improved to
support an unlimited
amount of managed ports simultaneously!
* Fix: Class TReport minor fix on method Margin(). Thanks to
Carlos Mora!
* Enhancement: FWH Class TButtonBmp, clause REDEFINE BUTTONBMP
... TOOLTIP ... support.
* Enhancement: Print Preview minor fix to avoid showing a zoomed
document the first time
the preview is shown.
* New: Office 2007 look for the msgbar. Simply add the 2007
clause to it:
SET MESSAGE OF oWnd TO "Testing the ButtonBar 2007 Office
look" ;
CENTERED 2007 CLOCK KEYBOARD
September 2007 build
====================
* New: FWH new Class TPreview. Now the FiveWin printer preview is
a class so you can
simultaneously use as menu printer previews as needed.
* Enhancement: FWPPC Class TFolder Method Destroy(), now its
properly releasing all
managed dialogs.
* FWH: Enhancement, Class TMetaFile Method Paint(), it calls
::SetCoors() if ::nVRatio
is not defined.
* FWH: Enhancement, Class TFolder Method AddItem( cItem,
cResName, bRedefineControls )
now uses a third parameter, a codeblock to redefine to controls
in cResName dialog.
Also the folder dialogs dimensions have been modified to match
the folder surface.
Please review samples\TestFldD.prg to see how dinamycally add new
pages and controls
to a resources defined folder.
* Enhancement: function lIsDir() was not checking hidden and
system directories. now
it is ok.
* Enhancement: Class TTreeView Method Add( cPrompt, nImage,
nValue ) now supports a nValue
parameter, that can be retrieved later on using the function
TVIPARAM( hItem ) --> nValue.
It is usefull to relate a treeview item with a specific number
(i.e. a record number, etc.)
* Enhancement: Class TToolbar Method MouseMove() support for own
defined mouse cursors.
Please review samples\rebars.prg
* Enhancement: FiveLinux has been rebuilt using the most recent
Harbour/xHarbour builds. Please notice that samples\build.sh and
buildx.sh have changed.
* New: FiveLinux, Timers are already available. Please review
samples\TestTime.prg
* Enhancement: FiveLinux, @ ..., ... GET ... PASSWORD clause
support. Please review samples\
TestDlg.prg
* Enhancement: FiveLinux, Class TWBrowse Method SetArray( aArray
). Please review samples\
TestArr.prg
* Enhancement: FiveLinux, browses scrollbar thumbpos changes
events support.
* New: FiveLinux, Resources support is getting ready, please
review samples\TestRes.prg.
Not finished yet.
* New: FiveLinux, MsgBeep() is already available
* New: FWPPC, Class TWindow Method Update(). As Class TDialog
inherits from Class TWindow,
it is also available for Class TDialog.
* Enhancement: FWPPC automatically calls TerminateProcess() if a
GPF occurs.
* Fix: FWH Class TGet with xHarbour had a bug using decimal
numbers when pressing ".".
Now it is ok.
* Enhancement: FWH Class TClipboard Method SetMetafile( oMetaFile
). Copies the contents
of a FWH metafile to the clipboard.
* Enhancement: FWH function lIsDir( cDirName ) to avoid trailing
"\" and "/" chars
* New: FWH samples\resdyn.prg shows how to dynamically add new
controls to a Resources
defined dialogbox.
* Enhancement: FWH Class TXBrowse, fix for array autosort on
(incremental search) and two
colums (search column) are swapped.
* Enhancement: Class TGet created insert caret height was not
correct. Now it is ok.
* New: FWH Class TXBrowse new Method SelFont().
* Fix: Class TButtonBmo was not properly showing its associated
message if defined. Now
it is ok.
* New: FWH Class TOutLook2003, please review samples\Test2003.prg
* Fix: FWH nSerialHD() was not properly working. Now it is ok.
* Enhancement: Class TXBrowse some minor changes.
July 2007 build
===============
* New: Class TTreeView Methods GetCheck( [ oItem ] ) -->
lOnOff and
Method SetCheck( [ oItem ], lOnOff ) to get or set the checkbox
state of an item when
TVS_CHECKBOXES style is used in the (treeview) resources.
* Enhancement: Class TXBrowse() Methods SaveState() and
RestoreState() now save the headers
values too. Thanks to Marco Turco!
* Fix: FWPPC, samples\TestPage.prg required change. Now it works
ok.
* Enhancement: FWH FiveHCM.lib includes the recent richedit new
added functions.
* Fix: Recent changes in function lIsDir() where not working
right. Now it is ok.
* Fix: Class TXBrowse Method Paint(), now it properly paints the
columns headers when
there are no records to show.
* Enhancement: New config templates to use FWH with UEStudio.
Please review UEStudio\FWH.zip
* Fix: Class TXBrowse Method Seek() minor fix related to
painting. Improved painting
when using MultiSelection in METHOD Select( nOperation ) CLASS
TXBrowse.
* Enhancement: Class TDataBase Method Seek() only reloads the
buffer if the seek was
successfull. Thanks to Biel!
* New: Class TFTP Method CreateDirectory( cDirName )
* Enhancement: FWPPC, Class TDataBase clauses AS ... have been
removed to avoid
compatibility problems with Harbour classes engine.
* Enhancement: Class TGet Method HandleEvent() WM_PASTE checks if
the Get has the focus
before pasting into it.
* FWH: Has been rebuilt using the most recent Harbour and
xHarbour builds.
* FWPPC: Harbour for Pocket PC has been updated with the most
recent build and FWPPC
has been recompiled and adapted to the new Harbour build.
* FWPPC: functions Encrypt() and Decrypt() are already availables
for FWPPC.
* FWH: New samples\TestPrn5.prg shows how to quick print an ascii
file on the default
printer.
May 2007 build
==============
* Fix: Class TXBrowse METHOD GoRight()
* Enhancement: Improved CLASS TXBrwColumn Method PaintData(): It
does not overwrite the
vertical scrollbar.
* Fix: REDEFINE MENUITEM ... ACCELERATOR ... is properly setting
and using the specified
accelerators.
* New: FWPPC, samples\TestFldW.prg shows how to use a browse on a
folder, loaded from
resources.
* Enhancement: Class TFolder support for multilines tabs if
TCS_MULTILINE style is used
at the resources.
* Enhancement: Added DEFAULT oWnd := GetWndDefault() in Method
Redefine of these classes:
TActiveX, TBitmap, TBtnBmp, TComboBox, TFGet, TFolder, TGroup,
TIcon, TIGroup, TListBox,
TMeter, TRadio, TScrollBar, TSelector, TSlider, TSplitter,
TRichEdit, TTabControl,
TVbxControl, TVideo, TTabs, TAnimate, THeader, TListView, TPages,
TProgress.
* Fix: Class TComboBox incremental search does not change the
type of the related
variable.
* Fix: Class TXBrowse Method KeyDown() was evaluating bKeyDown
twice.
Now it is ok.
* Enhancement: function SetDatePick() accepts a fifth parameter
to allow
empty dates when using Class TDtPicker objects. Class TDTPicker
Method
SetDate( dDate, lEmpty ) accepts a second logical parameter to
specify
an empty date
* Fix: Class TFolder Method LoadPages() is properly setting the
width and height of
the loaded pages, and the pages brush.
* Enhancement: FWH, FWPPC, function lIsDir() source code has been
changed to
make it FWPPC compatible. There should be no differences in FWH
lIsDir() behavior.
* Enhancement: FWH rasapi.c was not properly compiling in 32
bits. Now it is ok.
* Fix: FiveMac, samples\osxpro.prg was using a wrong path for PNG
files. Now it is ok.
* Fix: Class TWBrowse Method KeyChar has been removed as it is no
longer needed.
Minor fix on Method pageUp(). Thanks to Enrico!
* Enhancements: Class TXBrowse improved Methods
IsDisplayPosVisible(), GoRight() and
GoUp(). Thanks to Rossine!
* New: FWH, xHarbour Class TOleAuto has been ported to Harbour,
so from now on you
can also use it from Harbour too. FiveTech Harbour build already
includes it. You have
to link HBOleAut.lib
* New: FWH, UEStudio setup file to build FWH projects. Please
copy
FWPPC\UEStudio\Application to C:\Program Files\IDM Computer
Solutions\UEStudio '06\configs\Harbour\
from FWH\UEStudio folder. You may review this video to learn how
to use it:
http://rapidshare.com/files/25683729/fwppc.avi.html
* New: FWPPC, UEStudio setup file to build FWPPC projects. Please
copy
FWPPC\UEStudio\Application to C:\Program Files\IDM Computer
Solutions\UEStudio '06\configs\FWPPC\
from FWPPC\UEStudio folder. You may review this video to learn
how to use it:
http://rapidshare.com/files/25683729/fwppc.avi.html
* Fix: Class TGet Method KeyChar() minor fix.
* New: FWH sample BtnTrans.prg: Testing a transparent TBtnBmp on
a transparent
DialogBox
* New: New sample managing the Excel ActiveX. Please review
samples\excel2.prg
* New: FWPPC, ActiveX support! Please review samples\media.prg
* Enhancement: FWH is fully compatible with the most recent
Harbour and xHarbour builds, including xHB
* New: FWPPC, Harbour for Pocket PC build with enhanced support
for
USE ... SHARE
April 7.04 2007 build
========================
* New: FWPPC wininet.prg has been added to FiveHCE.lib
* Fix: FWPPC, minor fix on Class TInternet
* Fix: minor fix in source\winapi\wininet.prg
* Fix: Class TGet Method KeyChar(), minor fix due to recent
xHarbour changes. Thanks
to Enrico!
* Enhancement: Class TGet, pressing TAB or ENTER positions the
focus in the
next control, no matter what the ON CHANGE clause returns, except
false .F.. If
.F. is returned then the focus will remain in the GET.
* New: FWPPC, Class TMenuItem Method SetCheck(). Please review
samples\TestMnu2.prg
* Enhancement: Class TBtnBmp uses the RC control default caption,
if defined.
* Enhancement: FWPPC, PushButtons on dialogs work fine if a
pulldown menu is defined
for the dialog.
* Fix: FWH 7.01 Class TComboBox incremental search was not
properly working on all
circunstances. Now it is ok. Thanks to Ugo!
* Enhancement: hb_vmPushSymbol( &hb_symEval ); call changed
into hb_vmPushEvalSym();
* Fix: Class TWBrowse Method Resize() properly updates DATA
nColAct when it is located
out of the visible bounds.
* Fix: Minor fix on Class TImageList.
* Fix: Class TWBrowse Methods GoLeft() and GoRight() were not
checking if there were
no records to show.
* Fix: Class TTreeView minor fix on colors management for
redefined controls.
* Fix: FWPPC, minor fix on Class TWindow Method KeyDown() and
Method New()
* Enhancement: FW++ some more exported functions on Five32rt.dll
* New: FWPPC, browses online editing support. Same syntax as in
FWH.
* New: Samples\TestActM.prg shows how to use several ActiveX
controls simultaneously.
* Enhancement: Class TButton Method KeyDown() processes bKeyDown
for arrow keys
and enter key too.
* New: Samples\TestMdiR.prg shows how to create MdiChilds from
resources without
using embedded dialogboxes.
* New: Class TRichEdit full support for images both from files
and resources. Please
review samples\TestRtf.prg. New Methods InsertBitmap( cBmpFile )
and
InsertPicture( *.bmp | *.dib | *.ico )
* New: Class TRichEdit new Methods(): PageBreak() inserts a page
break, GetZoom()
returns an array with { nNumerator, nDenominator }, dividing them
you get the zoom
ratio, i.e.: { 1, 1 } -> 100%; { 3, 4 } -> 75%; { 1, 2 }
-> 50%, SetZoom() sets the
zoom ratio from { 1, 63 } up to { 63, 1 }. Please review
samples\TestRtf.prg
* New: FiveWin.ch includes a new define for HB_UNUSED_SYMBOL()
function. This is due to
recent changes in Harbour. If you get an unresolved
HB_UNUSED_SYMBOL() then you are
not using the right FiveWin.ch file.
* New: FWC3 gets removed from FTDN suscription and FiveMac is
included into FTDN :-)
* New: FWH has been rebuilt with most recent Harbour and xHarbour
builds.
January 7.01 2007 build
=======================
* New: FWPPC, samples\TestDlg2.prg shows how to use a bitmap for
the dialog brush. Please
notice that FWCE.ch has been modified to include the DEFINE BRUSH
missing command.
* New: FWPPC, samples\sign.prg shows how to capture a customer
signature. Thanks to Bill
Simmeth! Modified by FiveTech.
* Fix: FWPPC, GETs were not properly processing the INS key. Now
it is ok. The caret changes
its shape and keeps its position.
* Fix: FWH, IsActiveX() function was GPFing due to recent changes
in [x]Harbour. Now it is
ok.
* Fix: FWPPC, minor fix on FWPPC ErrorSys. Thanks to Pedro
Gonzalez!
* Fix: FWH, Class TSay Method SetText() recent change has been
reverted. Also source\
classes\rpreview.prg oPage:SetText() has been changed into
oPage:VarPut() so page
numbers are properly shown when XP themes are not used.
* New: function RegEnumValue() to enumarate values of a Registry
key. Please review
samples\RegEnum.prg for a sample of its use.
* Fix: Class TOutLook is properly firing the buttons actions with
just one click. Please
review samples\TestOutl.prg
* Fix: Class TTabs was failing when created from source code and
placed on a dialog.
Now it is ok.
* Fix: Class TCColumn, all AS ... clauses have been removed.
* New: FiveWin.ch command REDEFINE IMAGE ... It was missing. It
uses the same syntax AS
REDFINE BITMAP ... but it supports much more image types.
* Enhancement: function RegSetValue( nKey, cSubKey, uValue ) now
supports numeric values
too supplied as uValue.
* Enhancement: Class TBtnBmp shows a multiple lines caption when
CRLF used into it.
* New: Incremental search support for Class TComboBox. Now you
can type several keys and
the combobox will perform an incremental search on its items.
Thanks to Ugo Garombo!
* Enhancement: Class TPrinter, improved printer pick up when TO
clause is used and there
are several similar printer names. Thanks to Davide!
* Enhancement: FWH for Microsoft VC, has been rebuilt using VC++
2005.
* Enhancement: FWH has been built using Harbour 1.0 and the most
recent xHarbour build.
December 6.12 2006 build
========================
* New: sample samples\BmpOnBmp.prg shows how to paint a
transparent bitmap on top of
another bitmap.
* Enhancement: Class TFolder properly uses clause RESIZE16 for
its contained dialogs.
Thanks to Enrico!
* Enhancement: function PrinterSetup() is returning the hDC of
the selected printer if
Accept is pressed, or zero if cancel is pressed. This function is
automatically used
from Class TPrinter.
* Enhancement: PrnGetName() has been improved to avoid a possible
GPF when using
printers attached to another workstation that happens to be
turned off.
* Enhancement: FWPPC scrollbars controls default values modified.
Please review
samples\TestScrl.prg
* New: FWPPC, samples\FoxDbc.prg for FoxPro users: Allows to use
DBFs that belong to
databases (DBC files).
* Fix: Class TTreeView function SearchItem() was missing due to
recent code changes.
Please note that it has been renamed as SearchItem() from
previous ScanItem() name.
* Fix: FWPPC, samples\TestFld.prg was not properly quitting. Now
it is ok.
* Fix: FW++, minor changes on Class TWBrowse due to Xbase++ own
classes engine behavior.
* Fix: FWH, recent changes in Class TFolder introduced a bug when
folders were used on a
window. Now it is ok.
* Enhancement: FWH, Class TSay Method SetText() now makes a call
to its Method VarPut()
too. This change makes the print preview to show the right page
on non XP themed
applications.
* New: function IsInternet() --> lYesNo, to detect if there is
internet access.
* IMPORTANT: FiveWin version number system to change: We have
changed the FiveWin version
number using the same way as Ubuntu Linux does: The year and the
month, i.e.: this new
build is 6.12 meaning that is released on 2006 December. i.e.:
Next year, January: 7.01
and so on. This way we don't have to ask users about the dates of
the libraries that they
are using, so we can provide a better tech support.
* Fix: FWH, Class TGet and Harbour, there was a bug when using @R
and @E pictures. Now it
is ok.
* New: FWPPC, Class TGraph already available for FWPPC. Implement
bussiness graphics in
your applications. Please review samples\graph.prg. Thanks to
Pier Luigi for his help!
* Enhancement: samples\TestTreR.prg shows how to use a treeview
from resources showing
the tree lines, border and the vertical scrollbar.
* New: FWPPC, Class TWindow Method HScroll(). It was not
implemented, now it is.
* New: FWPPC, samples\TestMnu2.prg and TestMnu2.rc, they show how
to build a complete
pulldown menu with several submenus.
* Fix: function HtmlHelp(), HTMLHelpCtx() and HTMLHelpPopup()
were not properly defined
at source\winapi\help32.prg (PASCAL clause was missing). Now they
are ok. This is a
sample of use: HtmlHelp( 0,
"c:\fwh\manual\fwclass.chm", 2, 0 )
November 2006 build
===================
* Fix: Class TComboBox, brush resource leak fixed.
* Fix: FWPPC, SerialNumber() initialization bug. Already fixed.
* Enhancement: Class TReport Method NeedNewPage(). Ocasionally a
blank page was generated.
Now it is ok.
* New: FWPPC, new clause MODAL for ACTIVATE WINDOW ... [ MODAL ].
It lets you stop the
application execution after activating a window. It is false by
default.
* Enhancement: clause TRANSPARENT for dialogs is properly working
on non XP themed
applications. Thanks to Ramesh Babu!
* Enhancement: Class TFtp Method Directory(), it also provides
the file date and time,
as Clipper Directory() does. New DateTimeToDate() and
DateTimeToTime() functions implemented.
* New: Class TTVItem new Methods Toggle() and MakeVisible().
Class TTreeView new Methods
CollapseBranch(), ExpandBranch(), Toggle(), ToggleAll(),
ToggleBranch(). Improved
methods CollapseAll(), ExpandAll(). Improved function
ScanItems(). Thanks to Luis Krause!
* Enhancement: Class TFolder Method Initiate() provides an
improved dialogs resizing for
better transparent painting.
* Enhancement: Class TWBrowse Method nRowCount() returns zero if
the DATA hWnd is zero.
* New: Class TXBrowse Method SetAdo( oAdo ). New include\ado.ch
file. Thanks to Biel!
* Enhancement: Class TDbOdbcDirect Method Update() now checks if
there is any pending
change and avoid the error. Thanks to Biel!
* New: Functions FileTimeToDate() and FileTimeToTime(), used from
Class TFtp, so dates
and times of the FTP files are properly retrieved.
* Enhancement: Class TBtnBmp now detects if DATA lTransparent is
.T. and if yes, then
it paints itself transparent. Please review samples\TestBtnB.prg
* Enhancement: FWPPC, Class TBtnBmp minor fix on Method
GotFocus(). Also its dotted line
painting has been improved.
* New: FWPPC, wininet support for Classes TInternet and TFTP are
ready!
* New: FWPPC samples\ping.prg sample to check other computers
existence on the
IntraNet/Internet. Very usefull to check if the Pocket PC is
properly conected to your
LAN.
October 2006 build
==================
* Enhancement: FWH Class TMGet Method GoBottom() now scrolls down
the multiline get control,
so the bottom line gets visible.
* Enhancement: Class TGet Method Paint() minor fix.
* Fix: function TVSETITEMTEXT() GPF. Now it is ok.
* New: samples\Terminal.prg, a working sample of a simple ASCII
terminal program developed
by Enrico M. Giordano.
* Enhancement: Class TTreeView properly sets the background color
of its items when clause
COLOR <nColorFore>, <nClrBack> is used.
* Fix: Class TTreeView and TTVItem method Colapse... renamed as
Collapse... .
* Enhancement: Class TXBrowse processes <oCol>:bRClickData
if the mouse is right clicked on
a selected cell too.
* New: @ <nRow>, <nCol> ACTIVEX <oActX> ...
command implemented. Please review
include\FiveWin.ch for its full syntax.
* Enhancement: Class TXBrowse Method KeyDown() now properly
process bKeyDown codeblock.
* Enhancement: samples\TestSay2.prg has been modified to show how
to change the color of
the SAY once it is clicked.
* Enhancement: Minor change on Class TDbOdbcDirect.
* New: Class TToolBar Method AEvalWhen(), to evaluate all toolbar
buttons bWhen.
* Fix: Minor fix on MsgInfo() and similar Msg... functions when
displaying a date
using xHarbour.
* Fix: Minor fix on Class TWBrowse when using lCellStyle as true
and a codeblock for
the background color.
* Fix: FWPPC, function GetWindowText() was corrupting the Pocket
PC memory. Now it is ok!
* Fix: Minor fix on Class TReport Method New() when the device is
not defined.
* Enhancement: FWPPC has been greatly enhanced for memory
management optimitation.
* Enhancement: FWH is fully compatible with the most current
Harbour and xHarbour CVS
code, for both Borland and Microsoft.
* Enhancement: FWPPC, due to recent CVS syncronization, -TP flag
is no longer needed from
buildce.bat. Please update your makefiles. Important: GTWIN.lib
is no longer used. Use
GTGUI.lib instead. IMPORTANT: Please download Harb-arm.exe again,
reinstall it and
rebuild all your PRGs with it.
* Enhancement: FWH is fully compatible with xHarbour Builder
October 2006.
WhatsNew in FW/FWH/FW++/FWC3 2.8 version and FWPPC, September 2006
* New: Class
TFtp Method SetCurrentDirectory( cDirName ) --> lResult.
* New: FWPPC, function IsExeRunning( cAppName ) --> lResult.
Please review samples\checkapp.prg
* Enhancement: communication (COM ports management) samples\*.prg
have been modified
to use nComm as the first parameter when calling SetCommState(
nComm, cDcb ) in 32 bits.
* New: FWPPC, MsgRun() is already available. Please review
samples\TestMRun.prg
* Enhancement: FWPPC, Class TWindow Method MouseMoved() already
evaluates DATA bMMoved.
* Enhancement: Class TDDEMLClient Method End() was not properly
uninitializing DDE.
* New: Class TToolBar Method SetText( <nButton>,
<cText> ) changes the text of toolbar
button. Please review samples\ToolBar1.prg
* New: function TreeFree() called from Class TLinkList Method
End().
* Enhancement: ToolBars buttons ACTION codeblock receive a second
parameter with the nID
(index value) of the button.
* Enhancement: FWPPC, dialogboxes now accept to use a pulldown
menu. Please review
samples\TestDlgM.prg
* New: Class TTimePicker. Please review samples\DateTime.prg.
Thanks to Fernando Alsis!
* New: FWPPC, Class TWindow Method SaveToBmp( cBmpFileName )
--> lSuccess. Now you can
save any window or control image as a bitmap file on disk.
* Enhancement: ErrorSys() has been modified to support xHarbour
"ARRAYRDD" RDD.
* Fix: FWPPC was not properly releasing controls fonts and
brushes. Now it is ok.
* Enhancement: Class TWbrowse and TCBrowse, improved behavior on
nFreeze and painted
vertical lines. Thanks to Giovany Vecchi!
* Enhancement: ErrorSys() minor change to use a larger picture
for transform on RecNo()
and RecCount() display.
* Enhancement: Class TGet message WM_CLEAR support (right click
on a GET and select
Delete).
* Enhancement: FWH errorsys has been modified to use new xHarbour
__ClsCntClasses()
function. Important: Due to non backwards compatibility in
xHarbour, if you use the
old FWH errorsys code, the app will hang into an endless loop!
* Enhancement: FWH now uses internally hb_objHasMessage() instead
of hb_objGetpMethod().
* Enhancement: FWH has been built using the new Harbour CVS pcode
version. The most
important enhancement is that now C and C++ can be mixed in the
same application.
Important: All PRGs must be recompiled!
* New: FWPPC, support for folders with tabs placed at bottom and
flat style. All you
have is to specify BOTTOM clause. Please review
samples\TestFldb.prg
* New: FWH, samples\FileVer.prg and FileVer.rc shows how to
manage FileVersion information
from an application.
* Enhancement: FiveWin.ch has been modified to solve some
incompatibility issues with
xHarbour Builder. Now it is ok.
* Enhancement: samples\RC2PRG.prg utility has been enhanced.
Thanks to Armando!
* Enhancement: tools\clp2harb.prg has been modified to adapt to
recent Harbour changes.
* Enhancement: Class TGet improved paste and cut support.
* Fix: Class TMultiGet was not properly closing the clipboard in
all circunstances.
* New: FWPPC, samples\TestBrwS.prg shows how to perform an
incremental search on a browse
on the Pocket PC (same as done with FW/FWH).
* New: samples\ShowApp.prg shows how to run just one instance of
a 32 bits application,
and to bring to top the application that is already running.
* New: FWPPC, Class TPages is already available. Please review
samples\TestPage.prg for
a working sample.
* Enhancement: FWPPC, Class TWindow Methods nVertRes() and
nHorzRes() are already
availables.
* Enhancement: FWH, FWPPC: Class TDatePick was not properly
setting the provided date
from Method New(). Now it is ok.
* Enhancement: FWPPC: Class TWindow Method SetSize() is already
available.
* New: FWPPC: samples\GetFile.prg, FWPPC function cGetFile() own
implementation, based
on a new Class TGetFile.
* New: samples\SendData.prg a sockets management sample developed
by Enrico.
* Enhancement: FWPPC, errorsys is showing now the supplied
arguments when an error occurs.
* New: Class TFtp Method RenameFile( cOldFileName, cNewFileName )
--> lResult
* New: FWPPC, Class TPanel. Please review samples\TestPane.prg.
* Enhancement: calldll.c variables are declared as static. This
may solve some random
problems when accessing DLLs. Thanks to Ron Christie!
* New: FWPPC, DLL FUNCTION command is already using the provided
parameters. Please
review samples\DynDll.prg
* Enhancement: WriteComm() now works sinchronously, waiting until
all bytes are written.
Thanks to Enrico!
* Enhancement: Class TTreeView, default nClrBack set to
GetSysColor( COLOR_WINDOW ).
* Fix: spanish prev32sp.dll was not properly implementing the
preview cursor
(magnifying glass). Now it is ok.
* New: Class TDbCombo Method Update(), to automatically refresh
the items from the
associated DBF.
* New: FWPPC, samples\menus.prg shows how to use several main
menus from an application.
* New: FWPPC, samples\MenuBmp.prg shows how to use bitmaps on
menus.
* Fix: Minor fix on cFilePath() when providing empty paths.
* New: Class TToolBar Methods HideButton( nButton ) and
ShowButton( nButton ).
* New: FWPPC, OemToAnsi() and AnsiToOem() are already available.
Please review
source\classes\OemAnsiP.prg to adapt it to your own language
settings.
* New: We officially announce FWPPC 1.0. From this moment on,
FWPPC users will have
two more months of free upgrades.
* New: DropDown Menus support for toolbar buttons. Please review
samples\ToolBar1.prg
* New: ToolBars Method IsButtonHidden( nButton ). Thanks to
Patricio Avalos!
* New: Class TAnimate Method CopyInternet(). Please review
samples\Win32.prg for a
working sample.
* Fix: FWH Microsoft build is properly working. It was reporting
a missing external.
* Enhancement: FWH Class TActiveX have been improved on
parameters by reference support.
* New: Class TComboBox Method CtlColor(). Thanks to Enrico!
* Fix: FWH Class TActiveX was receiving a duplicated amount of
events parameters. Now
it is ok.
* Enhancement: function IsAppThemed() now also detects if an
external manifest file
exists: [application name].exe.manifest
* New: FWH function SetEventParam( <pParams>,
<nParam>, <uValue> ) lets you change an
event parameter provided by reference. Please review
samples\WebExp.prg for a working
sample.
* Enhancement: Menus checked menuitems don't show a border around
the check.
* Enhancement: Class TButtonBmp Method Destroy(). Now it properly
frees the bitmap handle.
* Enhancement: Class TButton Method Click() checks bWhen result.
* New: FWPPC: New function SHRecognizeGesture() added. Please
review samples\TapHold.prg
for a working sample.
* Enhancement: Minor change in makes\fwcemake.zip
* Fix: SetCommState() is able to change the baud rate. Thanks to
Enrico.
* Enhancement: function AnsiToWide() is properly managing embeded
zeroes.
* New: xbase command for TREEVIEW already implemented:
#xcommand @ <nRow>, <nCol> TREEVIEW [<oTV>] ;
[ SIZE <nWidth>, <nHeight> ] ;
[ <of: OF, WINDOW, DIALOG> <oWnd> ] ;
[ <design: DESIGN> ] ;
[ <pixel: PIXEL> ] ;
[ COLOR <nClrFore> [,<nClrBack>] ] ;
[ MESSAGE <cMsg> ] ;
=> ;
[ <oTV> := ] TTreeView():New( <nRow>, <nCol>,
<oWnd>, <nClrFore>, <nClrBack>,;
[<.pixel.>], [<.design.>], <nWidth>,
<nHeight>,;
[<cMsg>] )
Also, treeviews from source code, when placed at dialogs, are
properly working. New
method cToChar(). Please review samples\TreeDlg.prg
* Fix: Minor fix on Class TDbCombo. Thanks to James!
* New: Class TTVItem (TreeView Item) Method Set( cPrompt, nImage
). Thanks to Renomas!
* New: FWPPC, VALID clause is already available for the windows!
Please review
samples\Tutor02.prg.
* Enhancement: FW++ Class TClipGet and Class TGet minor fixes.
* Enhancement: Class TMGet minor fix on Method SetPos().
* Enhancement: Class TListBox minor fix on Methods Select( nItem
) and IsMultipleSel().
* Fix: Class TGet Method Paint(), fixed text misalignment.
* New: Class TToolBar Method DelButton( nButton ) allows to
dinamically delete buttons
from a toolbar.
* New: IMPORTANT: Due to recent changes in Harbour and xHarbour,
GTGUI.LIB must be linked
instead of GTWIN.LIB.
* Fix: Minor fix on Class TDialog to avoid to show the
"?" help button when doing:
ACTIVATE DIALOG oDlg ON INIT oDlg:lHelpIcon := .f.
* Enhancement: function cTempFile() has been greatly improved in
speed. This function
is now used from the printing preview, so building the pages is
much faster now.
* Enhancement: Class TGraph() New Methods GetDC() and ReleaseDC()
to properly print ON
print previews.
* Enhancement: FWPPC, WsaStartup() now uses 0x202 instead of
0x101. Suposedly this fixes
the W2K connectivity.
* Fix: FWPPC, there was a bug in GetHostByName(), now it is ok.
* Enhancement: New VERTICAL clause for Win32 Progress Bars. You
may use the VERTICAL clause
if you create them from source code, or the style #define
PBS_VERTICAL 4 if you create
them from resources. Please review samples\Progres1.prg for a
working sample.
* Enhancement: Class TDialog, DATA lHelpIcon improved behavior.
* New: Class TButtonBmp Method End(), Method LoadBitmap( cBmpName
).
* Enhancement: Class TGet, now ::oGet contents is checked for
change before evaluating
::bChange, if defined, when pressing VK_TAB or VK_RETURN.
* Enhancement: FWPPC, wininet.lib has been added to
samples\buildce.bat.
* New: FWPPC, samples\ftp.prg great FTP sample for Pocket PC
developed by Enrico.
* New: Added high resolution icons and bitmaps (as PNGs).
* Fix: FWH/FW++/FWC3 and FWPPC, Class TWBrowse properly paints
the selected row colors if
lCellStyle is used.
* Enhancement: function FixSays() was causing some troubles on
some Windows versions. now
it is ok.
* Enhancement: Class TWBrowse automatically generates headers
contents if they are not
provided and no workarea is in use (i.e. when using an array with
it ).
* Enhancement: Improved Class TGet behavior when using system
popup "Cut" option.
* Enhancement: Class TTxtFile returns Self even if the handle of
the file is not valid.
* Enhancement: FWPPC, minor change on used paths.
* Enhancement: cGetFile() now manages 255 chars for paths and
filenames.
* New: FW++ has been successfully rebuilt and tested with Xbase++
1.9 final release.
* Enhancement: Class TRichEdit, Method PrintBox( hDC, nTop,
nLeft, nRight, nBottom, nFrom )
now may use an extra parameter nFrom, to select which position to
print from. By default
is zero (first character). The method returns the new nFrom
position too.
New Method GetLineFromChar( nChar ), it returns the line number,
given a character
position. i.e.: nFrom := REPrintBox( oRTF:hWnd, nTop, nLeft,
nRight, nBottom, nFrom )
nLine := oRTF:GetLineFromChar( nFrom ), will return the last
printed line.
* Enhancement: Class TPrinter uses random names for the metafiles
temporary file names,
used by the preview, instead of naming them tmp0001, tmp0002,
etc. This way, several
previews may be shown at the same time.
* New: FWPPC, function SerialNumber() returns the Pocket PC
serial number if available.
Thanks to Hathal.
* New: FWPPC, Class TTabControl, please review
samples\TestTab.prg. This class will be
involved in folders implementation. Warning: Folders are not
available yet.
* Enhancement: FWPPC, function MsgInfo(), MsgAlert() and
MsgStop() automatically convert
parameters into strings, like FWH does it.
* New: FWPPC, MsgGet() already available. Please review
samples\TestMGet.prg
* Fix: Minor fix on Class TCBrowse.
* Fix: Class TGet minor fix on spinner use.
* New: FWPPC, Non modal dialogboxes support. Please review
samples\TestDMod.prg
* Fix: Minor fixes on Class TWindow, TControl and TDatePick.
* New: FWPPC, Folders from source code are ready! Please review
samples\TestFold.prg
* New: Class TListView Methods HScroll() and VScroll().
* New: FWPPC, Class TDatePicker already implemented. Please
review samples\TestDtp.prg.
Please notice that lib\commctrl.lib has to be linked now.
* Enhancement: Minor on changes on Class TWBrowse.
* Fix: FWPPC Click() bug fixed on buttons, checkboxes and radios.
* New: FWPPC, Folders created from source code that use resources
dialogs. Please
review samples\TestFld.prg. This technique is new to FiveWin, and
it is designed to
use folders on windows but using the folder dialogboxes from
resources.
* New: FWPPC, folders created entirely from resources are working
ok. Please review
samples\TestFld2.prg. Thanks to Carles!
* Fix: FWPPC, Class TDatePicker is properly working from
resources. Please review
samples\TestDtpR.prg
* Enhancement: Class TGet Method KeyChar(), ::bChanged is
evaluated once the key has
been processed, so it gets included into the related GET buffer.
* Enhancement: DEFAULT command has been improved in performance!
Thanks to Maurilio.
* Enhancement: Class TMultiGet several improvements.
* New: Class TButtonBmp clause: TEXTTOP, TEXTBOTTOM, TEXTLEFT,
TEXTRIGHT. It modifies
the bitmap drawing location, so you can use text in the button
too. Please review
samples\TestBuBm.prg
* New: FWPPC, a Microsoft make sample is provided at
fwppc\makes\fwcemake.zip to build
an EXE using several PRGs.
* Enhancement: Class TToolbar Method ChangeBitmap( nButton,
nImage ) uses nImage values
from 1 on.
* Enhancement: Class TReg32 has been modified to allow read
access when there are now
enough user privileges to allow full access (i.e. using a guest
account).
* Enhancement: Class TReBar minor change to properly display on
dialogs.
* Enhancement: Class TRichEdit, some new methods added, that
previously were inherited
from Class TMultiGet.
* Fix: WndTop() and WndLeft() were not properly managing negative
values. Now you can
do oControl:nLeft -= nValue and the control is properly
displayed, no matter if the
result is negative.
* Enhancement: FWPPC, Class TComboBox processes VK_RETURN to go
to next control.
* Enhancement: Class TFolder Method AddItem( cItem [,cResName] )
now accepts an optional
dialog resource name cResName to be used for the new folder added
dialog.
* New: FWPPC, records/files locks/unlocks support for Windows
Mobile 5. It automatically
detects if Windows Mobile 5 is used.
* Enhancement: FWPPC, errorsys modified to control the zero
divisor error.
* New: Class TToolBar Methods SetPressed( nButton, lOnOff ),
SetChecked( nButton, lOnOff ),
IsChecked( nButton ) and ToggleCheck( nButton ). Please review
samples\toolbar1.prg for
a working sample of use.
* Enhancement: The Printing Preview shows the page number with a
transparent background.
* Fix: Minor fix on Class TCheckBox and TRadio.
* Enhancement: Class TDbCombo, improved bChanged and the UPDATE
clause used together.
Thanks to James Bott.
* Enhancement: Class TRichEdit, some enhancements.
* New: function PrnStatus() --> nStatus. Please review
samples\PrnStat.prg for a working
sample. This function is still under testing.
* IMPORTANT: FWH and FWHX have been compiled with the new Harbour
and xHarbour april
builds. You must recompile all your PRGs and PRG libraries.
* Enhancement: FWPPC, Class TWindow Method SetBrush() was
missing. Already implemented.
* Fix: Some minor changes in FiveWin.ch
* Fix: Minor fix in Class TCheckBox Method EraseBkGnd().
* New: Class TActiveX with events support is ready! Please review
samples\webexp.prg and
samples\media.prg. Also Class TActiveX has new DATAs you may want
to review.
* Fix: Reverted recent minor fix on Class TMenu.
* Fix: Minor fix on Class TWBrowse.
* Enhancement: Class TActiveX reports an error on non existing
invoked method, using :Do().
* Enhancement: resources CTEXT controls are properly displayed if
TRANSPARENT clause is
used.
* Fix: Minor fix on Class TGet that was causing a system beep.
* Fix: MsgInfo() properly shows long numbers. This bug was
introduced again as a side
effect on recent Harbour changes.
* Fix: Minor fix on Class TControl Method KeyDown().
* Enhancement: Class TCBrowse fires the headers actions if DATA
lMChange is false.
* New: FWPPC, Class TWindow implemented methods SetBrush(),
CoorsUpdate(), Move(),
SettingChange().
* New: FWPPC, new function SHGETDOCUMENTSFOLDER( cVolume,
@cDocsPath ) --> lOk
* Fix: Minor change on Class TGet and on nDbl2Flt() function.
* Enhancement: FWPPC, bitmaps from resources are properly painted
transparent.
* Enhancement: Class TVideo now support MPG format too. Please
review samples\TestVide.prg
* Enhancement: Clicking on the "?" on a dialog box
caption and then on a control, invokes
::HelpTopic()
* Enhancement: FWPPC, errorsys now creates an error.txt file on
the Pocket PC. We have
used TXT extension as it can be open with a single pen click.
* Enhancement: FWPPC, creation of dialogboxes from source code is
already implemented.
Please notice that FWCE.ch has changed. Non modal dialogboxes are
not supported yet.
Please review samples\TestDlg.prg
* New: 32 bits Class TPrinter() Method ImportWmf() now supports
16 bits WMF files too.
Please review samples\Evans.prg
* Fix: Minor changes on Class TWBrowse Methods VGoDown() and
VGoUp().
* Fix: Minor changes on IsOem() and IsAnsi() functions.
* Enhancement: DBCombo: Refill() method wasn't working--fixed.
The Refill() method
re-reads the data from the file. Passing arrays using New() or
Redefine() methods
wasn't working--fixed. Added incremental searching. Previously,
both the itemField
and listField had to be character type; now the itemField (or
array) can be numeric.
See new sample program, samples\TESTDBC1.PRG for a working
sample. Thanks to James
Bott.
* Enhancement: February transparency on dialogs has been
consolidated, with several
changes in different controls. All users tests are working fine.
* Fix: Class TButton objects, if action is fired using its
accelerator instead of
clicking on it and focus coming from a GET, the GET content is
properly saved.
* Fix: Class TMultiGet minor fix on Method KeyChar().
* Enhancements: Class TRichEdit: It inherits now from TControl
instead of TMultiGet,
this way we have a much better control on it.
* Removed VIRTUAL methods Display, EraseBkGnd y Paint.
* New DATA lReadOnly
* New Method cToChar()
* New Method GetHighlight(), retrieves the RGB color of the
actual character or the
current selection.
* New Method SetHighlight(), it sets the background RGB color of
the actual character
or the current selection.
* New Method Preview( cName ), an impressive preview for the
RichEdit control. cName
is the name of the document.
* New Method PrintBox( hDC, nTop, nLeft, nRight, nBottom ), it
prints the contents of
the richedit or a rectangle selection.
* Please review samples\TestRtf.prg to review the impressive
Preview() and the
PrintBox() new method.
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.
* Fix: FWC3, dialogboxes with GETs and a pulldown menu, were not
properly processing Enter
key. Now it is ok.
* Enhancement: FWPPC, Method AEvalWhen() is called from Class
TWindow Method Activate() and
focus is given to the first resulting active control.
* Fix: FW++, Class TDialog Method Initiate() was not getting
called for non modal dialogs
created from source code. Now it is ok.
* New: FWPPC, new implemented function SHFullScreen().
* New: FWPPC, added missing Class TControl Method VarPut(
<uVal> ) and Method VarGet().
* Enhancement: Class TPrinter Method New() uses a new parameter
lSelection. Method End()
calls PrinterEnd() to free the used printer memory.
PrinterBegin() uses the new parameter
lSelection. Print.ch uses the new clause SELECTION.
* Enhancement: PrintDC.c, PRINTDLG pd structure has been modified
the way its get initialized.
New static structure used to store the printing margins of the
application. GetPrintDC() has
been modified to be used by Class TRichEdit. New functions:
PageSetup(), PageGetMargins(),
PrnGetPagNums(), PrnGetSelection() and PrnGetCollate(). New
function PrinterEnd() to free
the printer used memory (warning, if this function is called then
you have to set your printing
values again next time you are going to print).
* Enhancement: Class TRichEdit new Method PageSetup(). Method
Print() has been modified.
New parameters for the low level function REPrint(). Now more
features are managed: pages
selection, print selection, insert pages, pages to print, number
of copies and printing
margins. You may review samples\TestRtf.prg for a working sample.
* Fix: FW++ Class TGet minor fix on VK_RETURN and default
pushbuttons behavior.
* New: Class TVItem (TreeViewItem) Method GetParent(), returns
the parent of a given treeview
item if it exists or nil. Please review samples\TreeView.prg
working sample.
* Fix: Class TFolder Method GotFocus(), minor fix.
* Enhancement: Disabled GETs in 32 bits now can show whatever
color you may want, not the
Windows imposed lightgray color. Simply set the color to the GET
using COLOR ...,... clause
or use oGet:SetColor( ...,... ) method call and set the DATA
lDisColor to .f..
* New: FWPPC, Class TMultiGet is already available. Please review
samples\TestMemo.prg
* Enhancement: ChooseFont() has been modified so if cancel is
pressed, then it returns a
14 items array but all are them are nil.
* Enhancement: FW++ is already compatible with Xbase++ 1.9 RC-2.
* Fix: Some recent changes in winapi\comm.c get reverted.
* New: samples\buildhd.bat and samples\buildhdp.bat have been
included in the FWH setup,
to build Harbour self contained DLLs and Harbour pcode DLLs.
Please review samples\babu.prg
and samples\BabuDll.prg, and samples\TestDllP.prg
* Enhancement: FWPPC, VALID clause is already available for
DIALOGs. Please review
samples\tutor04.prg
* Enhancement: Class TListView has been enhanced to properly work
using @ ..., ... LISTVIEW
command. Please review samples\ListVie1.prg. Please notice that
FiveWin.ch has changed.
* New: Class TTreeView, new method SetText( cText ) for items
(Class TTvItem). Please
review samples\TestTree.prg for a working sample.
* New: FWPPC, WndTop( hWnd, [nNewTop] ) --> nTop support.
* New: FiveWin.ch and FWCE.ch (for Pocket PC), new command to
create individual radioitems
at a certain location, and belonging to a radiomenu:
#xcommand @ <nRow>, <nCol> RADIOITEM [
<oRadItem> PROMPT ] <cCaption> ;
[ <of: OF, WINDOW, DIALOG> <oWnd> ] ;
[ RADIOMENU <oRadMenu> ] ;
[ <help:HELPID, HELP ID> <nHelpId> ] ;
[ <change: ON CLICK, ON CHANGE> <uChange> ] ;
[ COLOR <nClrFore> [,<nClrBack>] ] ;
[ MESSAGE <cMsg> ] ;
[ <update: UPDATE> ] ;
[ WHEN <uWhen> ] ;
[ SIZE <nWidth>, <nHeight> ] ;
[ VALID <uValid> ] ;
[ <lDesign: DESIGN> ] ;
[ <lLook3d: 3D, _3D> ] ;
[ <lPixel: PIXEL> ] ;
* New: Function ShFile() to use the Windows system dialogs to
manage files. Please
review samples\DlgFile() for a working sample.
FWH users: We are building Harbour and xHarbour using the
-DHB_INCLUDE_WINEXCHANDLER flag.
If you build Harbour or xHarbour yourself, please use such flag
too.
* Fix: Printer Preview was failing to show the pages on high
screen resolutions. Now it is
ok.
* Enhancement: function cTempFile() now supports two optional
parameters:
function cTempFile( [cPath], [cExtension] ) --> cFileName
* fix: Class TCBrowse Method lEditCol, VALID is now properly
evaluated.
* Enhancement: Class TSplitter has been modified to properly work
with Win32 StatusBars too.
* Enhancement: Minor fix on Class TPanel, to improve painting.
* Enhancement: Class TIcon support for transparent background
implemented.
* Fix: Class TGet (32 bits) painted with no border when no XP
themes are used.
* Fix: function Alert() was not properly working due to recent
changes. Now it is ok.
* Fix: Minor fix on objects.ch for FW++ compatibility with new
Xbase++ 1.9 version.
* New: FW++ is already compatible with the new Xbase++ 1.9
version.
* Enhancement: Class TGet Method MouseMove() now evaluates
bMMoved if defined.
* Enhancement: Alert() function does not allows focus on the
text.
* Enhancement: FWPPC, winapi\text.c module has been added.
* Enhancement: FWPPC, Class TBtnBmp works ok with bitmaps from
resources.
* GETs with XP themes are properly displayed on dialogs and on
windows. This was partially
fixed on previous build but it was not complete.
* Fix: Minor fix on source\classes\rpreview.prg for a bug that
generated random errors.
* New: FWPPC, new GetPlatform() function. It returns the platform
name for the
PocketPC or PDA.
* New: FWPPC, new GetVersion() function, it returns an array with
5 elements:
MajorVersion, MinorVersion, BuildNumber, PlatformID, and
CSDVersion.
* New: FWPPC has been built using the current CVS Harbour.
IMPORTANT: Please recompile
all your PRGs, and also modify your batch or make files to use
DBFFPT.lib and HBSIX.LIB
instead of DBFDBT.lib. Please download and reinstall Harbour for
Pocket PC and FWPPC too.
It is also highly recommended to rebuild your indexes.
* Enhancement: FWPPC, VCE\lib\ole32.lib is also linked in
buildce.bat.
* Important: FWPPC: Please remember that Windows Mobile does not
support SHARED mode for
DBFs management. Microsoft says it may be available from Windows
Mobile 2005 on.
* Enhancement: Class TPrinter Method Cmtr2Pix(), minor fix.
* New: Class TToolBar Methd SetTextRows( nRows ), to set more
than one line of text for each
toolbar button.
* Fix: FWPPC several fixes on Class TBitmap.
* Enhancement: FWPPC browse is working on Windows Mobile 3.0 too.
A new function MoveToLineTo()
has been implemented to avoid the Windows Mobile bugs on MoveTo()
and LineTo() use.
* Enhancement: Class TGet properly checks SET BELL [ ON | OFF ]
status.
* Enhancement: Class TBitmap now properly paints transparent on
XP themed folders.
Please review samples\TestFold.prg for a working sample.
* Enhancement: Class TComboBox, comboboxes go to next control
when return is pressed on them.
WhatsNew in FW/FWH/FW++/FWC3 2.7 version, November 2005
* Fix: Several
recent changes on Class TXBrowse have been reverted.
* Enhancement: Class TDataBase calls ::Commit() before any call
to
::Unlock().
* Enhancement: FWH is now compatible with most recent xHarbour
CVS code.
FiveHC.lib remains the same file for both Harbour/xHarbour.
* Fix: Minor fix on DrawTextEx() to avoid random GPFs.
* Enhancement: FWPPC, registry management functions are already
implemented.
* Enhancement: New Clause for ToolBars to display balloon style
tooltips:
DEFINE TOOLBAR ... BALLOON
Please review samples\ToolBar1.prg for a working sample.
Thanks to Hernán for his great ideas! :-)
* Enhancement: FWH now uses Harbour/xHarbour
UnhandledExceptionFilter() code for
reporting GPFs info. If you want to customize how GPFs report
show,
you may modify such Harbour/xHarbour function source code.
* Enhancement: FWPPC: Now support for DEFINE WINDOW ... STYLE ...
clause.
* Enhancement: FWPPC: size dimensions fixed for checkboxes.
* Enhancement: FWPPC: REDEFINE MENUITEM ... WHEN clause support.
* Enhancement: Help was invoked twice in situations like
samples\Tutor02.prg when pressing
F1. Now it is ok, as we have avoided the process of WM_HELP at
low level. Also
if you want to use F1 for other task, different that help, you
just have to modify
this code section in source\classes\window.prg:
if nKey == VK_F1
::HelpTopic()
return 0
endif
* Enhancement: FWPPC: Sockets are already working! Please review
samples\SockCli.prg. Please
notice that buildce.bat has been modified to include two
Microsoft extra
required libraries.
* Fix: FWPPC: Minor fix on CurDir().
* Fix: FWPPC: New Harbour for Pocket PC build with proper support
for Directory() and ADir().
* New: FWPPC: Bluetooth support added. Please review
samples\bluetoth.prg
* Enhancement: Class TGroup, improved support for colors and
brushes management. Thanks to
Brian for the tip!
* Enhancement: Class TGet, improved support for XP themes when
placed on a windows. Thanks to
Hernán for the tip!
* Enhancement: FWPPC, DoneButton management support. Please
review samples\okbutton.prg.
* Enhancement: FWPPC, MsgNoYes() already implemented.
* Fix: FW++, Class TSmtp is properly working.
samples\TestSmtp.prg works ok now with FW++.
* Fix: Class TMultiGet properly behaves when pressing Esc, Tab
and Sh-Tab if it is placed
over a TPages control.
* Fix: FWPPC, Buton Bitmaps (TBtnBmp) minor fix that was causing
GPFs.
* Enhancement: FiveWin ErrorSys has been modified to report the
PRG name of each function,
procedure or method call, if available.
* Enhancement: FWH has been entirely rebuilt using the most
recent Harbour and xHarbour CVS
files. Please use Harbour/xHarbour setup from
www.fivetechsoft.com/files/harbour.exe and
www.fivetechsoft.com/files/xharbour.exe.
* New: Due to recent changes in Harbour and xHarbour pcode and
hb_stack management, we decide
to name this new build as version 2.7, to notice that it is
different and not pcode-compatible
with previous one.
* Enhancement: Improved WaitRun() application response behavior.
* Enhancement: FWPPC lActive is declared as LOGICAL INIT .t.
* Enhancement: FWPPC Sockets support.
* Enhancement: Duplicated lCaptured DATA removed from Class
TWBrowse.
* Enhancement: DATA lCaptured removed from classes TWBrowse,
FGet, TBtnBmp, TIconGroup,
TOutlook, TSelector, TSlider and TSplitter, as its already
provided by Class TControl.
* Enhancement: function lRmDir() is properly working on 32 bits
now.
* Fix: FWPPC, Colors fix on Classes TListBox and TComboBox.
* New: FWPPC: Comm support (synchronous).
OpenComm() --> hComm
CloseComm( hComm )
ReadByte( hComm ) --> nChar
WriteByte( hComm, nChar ) --> lOk
* Enhancement: FWPPC, SysRefresh(). Thanks to Joaquin for the
tip!
* New: FWPPC: ON INIT clause for dialogboxes and windows already
available.
* Enhancement: FWPPC: METHOD AEvalWhen() is autimatically invoked
from the dialogbox
initialization.
* Enhancement: FWPPC: DATA bStart support already implemented.
* Fix: FWPPC: Fonts are properly working. Thanks to Joaquin for
the tip!
* FiveWin for Pocket PC (FWPPC) "early release" is
ready.
* New: FWPPC Classes TCheckBox and TListBox already implemented.
* New: FWPPC Class TComboBox already implemented.
* New: FWPPC Classes TRadio, TRadMenu, TGroup implemented.
* New: FWPPC write() low level function support.
* New: FWPPC Browses are ready for a first release.
* Enhancement: FWPPC low level unlink() implemented.
* Fix: Class TFolder left and right arrows, on multiple tabs, are
properly working.
* Fix: Class TGet Method GotFocus: This fix solves the cursor
position on the use of
PICTUREs that moves the GET cursor to a different position than
1.
* Fix: Some minor changes on Class TWindow Method LostFocus(),
Class TGet Method
GotFocus().
* Fix: Class TDialog Method Command, ::nResult:LostFocus()
commented. Warning: It may
affect GETs assignments.
* Fix: Class TGet Method lValid(): bad dates were not properly
displaying the GET
content after beeping and returning to the beginning.
* New: FWPPC CurDir() implemented.
* New: FWPPC Bitmaps management from files already implemented.
* New: FWPPC Bitmapped buttons already implemented.
* New: FWPPC new function ShowKeyboard(), automatically opens and
shows the virtual
keyboard. New function HideKeyboard(), hides the virtual
keyboard.
* New: FWPPC WinExec(), WaitRun() and ShellExecute() already
implemented.
* New: FWPPC Left double click support implemented.
* New: FWPPC VALID support already implemented.
* New: FWPPC new functions LandScape() and Portrait() to change
the screen rotation.
Please review samples\landscap.prg
* New: FWPPC Class TDataBase already available.
* New: FWPPC Class TComboBox ON CHANGE clause is already working.
* New: FWPPC Class TWindow Methods Hide() and Show() already
implemented.
* Enhancement: Class TPrinter Method ImportWMF() is already
available for 32 bits.
You have to save your WMF files as EMF (enhanced metafiles) ones.
You may use a tool
like "Paint Shop Pro" to do this conversion. Please
review samples\corel.prg.
* New: FWPPC bKeyChar and WM_CHAR support.
* Fix: FW++ NonModal Dialogboxes: there was a bug that was
causing some msgs not to be
properly routed. Now it is ok.
* New: FWPPC Timers are already available. Please review
samples\TestTime.prg
* Fix: FWPPC ComboBox ON CHANGE works on dialogs.
* New: FWH users may find on makes directory a Borland and a
Microsoft make samples to
build applications.
* Enhancement: Minor changes on FWPPC Class TSay.
* New: FWPPC Class TStruct added.
* Fix: Minor fix on Class TTreeView to avoid the beep when
pressing enter.
* Fix: ASend() first parameter is checked for nil, and does
nothing if that is the case.
* Enhancement: Class TButtonBmp Method Paint() now checks if the
button is enabled or not,
and paints the bitmap accordingly.
* New: FWPPC controls color support.
* Fix: Class TFolder Method DelItem(), properly updates the tabs
on Win32.
* New: FWPPC first CallDll() version.
* Enhancements: FWPPC REDEFINE SAY added in fwce.ch. Colors
support for Class TSay on
REDEFINE command.
* New: FWPPC first prototype for CallDll(). Please review
samples\dyndll.prg, though
parameters are not working yet. Also review samples\DLLs for a
sample about how to
build C DLLs for Pocket PC.
* Fix: FWPPC Class TWBrowse, coordinates minor fix.
* Enhancement: Class TIcon Method EraseBkGnd() to get
transparency on dialogs with
brushes. Thanks to James Bott.
* Enhancement: Print Preview exit button has been replaced for a
XP style one.
* Enhancement: ActiveX.prg gets included into source\classes
PRGs.
* Enhancement: Class TMci new Methods: Position(), Length() and
End(). Thanks to
Enrico!
* Fix: Print Preview ImageList was getting destroyed from a wrong
place. Fixed.
Thanks to Tim Stone!
* Fix: Print Preview was quitting when pressing right arrow on
zoom mode. Fixed.
* New: function IsActiveX( <cProgID> ) --> lYesNo to
detect if an ActiveX is installed
before attempting to use it. Please review samples\TestOle2.prg
* Enhancement: Class TComboBox Method Set() was not evaluating
bSetGet when the variable
type is numeric. Now it is ok.
* Fix: Print Preview pulldown menu is properly setting the zoom
factor when selecting
the zoom from it.
* Enhancement: Class TWebClient Method GetPage() is working ok
with more web servers.
* Enhancement: Class TWBrowse properly shows OEM characters on
the columns headers when
using the XP themes manifest. Thanks to Enrico!
* New: nSerialA() is already available for 32 bits.
* Enhancement: Class TWBrowse Method GoBottom(), now it checks if
::lHitBottom status has
changed. Thanks to Carles Aubia!
* Fix: Class TDataBase Method Modified(), now properly checks
shortened assignments. Thanks
to James! Also removed unused cField local var.
* Enhancements: You may notice many changes on FW source C files.
This is due to FiveWin for
Pocket PC development.
* Enhancement: Class TDialog Method Initiate(), ::nStyle assigned
from resources
dialog style, when a resource dialog is used. Thanks to Luis
Krause.
* Enhancement: FiveWin is being internally reorganized to make it
compatible with
the upcoming FiveWin 64 bits (FWH64).
* Enhancement: All FiveWin (32 bits) applications consume much
less memory thanks to
an internal important optimization.
* Enhancement: All samples using the XP manifest have been
updated to use the manifest
for 64 bits, if FWH64 is used. Please review
samples\winxp\xplook.rc
* Fix: Print Preview printouts have the same dimensions as
previous 2.5 version.
* Fix: Minor fix on Class TMsgBar, regarding aInitInfo
initialization.
* Enhancement: Minor change on GetProcAddress() for 64 bits
support.
* Fix: Minor fix on Class TWindow Method SetMsg().
* New: Class TOdbc Method GetIndex( cTable ) --> aIndexes. It
returns an array with
all table indexes. Thanks to Juan Navas.
* New: function IsWin64() --> lYesNo, at runtime checks if the
application is a native
Windows 64 bits application.
* Enhancement: function cGetDir() now allows to visually create
new directories.
* Fix: Print Preview properly shows two pages on very high screen
resolutions.
* Fix: Print Preview properly shows landscape mode.
* New: Class TMultiGet Method LimitText(), use it to manage
unlimited size text.
* New: Class TWindow Method SaveToBmp( cBmpFile ) --> lOk.
Saves the current window,
dialog or control image to a filename named cBmpFile. Based on a
FW sample, improved
by David Macias and finally turned into a Method by FiveTech.
* Fix: Class TIni Method Sections(). Now it is working ok. Thanks
to Hernan!
* Enhancement: Class TVideo New Methods End(), Position() and
Length(). Thanks to Enrico!
* Fix: Class TButtonBmp: Buttons images were erased when ALT was
pressed on a DialogBox.
Now it is ok.
* Fix: Class TGroup, minor fix for XP themes support.
* Fix: Class TButtonBmp Clause CANCEL works ok.
* Enhancement: New look for FiveWin Print Preview, using Rebars,
Toolbars, statusbar and
new XP style bitmaps.
* Fix: Minor fix on GetTextWidth(). Thanks to Enrico.
* Enhancement: Class TToolBar now is able to process commands
from other type of child
controls placed on top of it.
* New: Class TToolbar Methods SetBitmap() and SetTooltip().
WhatsNew in FW/FWH/FW++/FWC3 2.6 version, April 2005
* Enhancement:
Some minor fixes on Class TLex. Thanks to James Bott.
* Fix: Class TProgress Method cToChar() was missing. Now it is
ok.
* Fix: Class TBitmap Method News() minor fix for FW++.
* Fix: Class TMdiFrame Method Command(). Win32 Toolbars now
properly work with
MDI windows.
* New:
Function RemoveDir( <cDirName> ) --> lOk.
* New: WHEN support for ToolBar buttons. Please review
samples\ToolBar1.prg.
* New: xbase commands for easily managing Win32 Toolbars. Please
review
samples\ToolBar1.prg.
* Enhancement: GET ... PASSWORD from source code now shows the XP
look. If you
want to get the same look from resources, please use Arial 8 as
the dialog
resource font and ES_PASSWORD style. Also CapsLock Ballon is
shown now!
* Enhancement: Class TListView Method Redefine() now accepts an
action codeblock.
New xbase command to manage it. Please review
samples\TestLvw.prg.
* Fix: Class TControl Method KeyUp() was not called for 32 bits.
Fixed.
samples\TestFGet.prg properly works in 32 bits now.
* Enhancement: MouseWheel support for Print Preview. On full
screen mode, the
mousewheel shows the prev/next page. On zoom mode, the mousewheel
does a page up/down.
* New: 32 bits Enhanced metafiles support for Print Preview for
Win32. Zooming and
scrolling has been fixed. Thanks to Jose Luis Capel for his
support.
* Enhancement: Report Preview resize shows proportional pages
(metafiles).
* Fix: Minor fix on Class TStatusBar Method SetMsg().
* Enhancement: Class TWindow Method SetMsg() has been enhanced to
properly work with
Win32 statusbars.
* New: Class TStatusBar Method ClockOn(). Displays a timer on the
rightmost side
of the statusbar. Please review samples\stbar.prg
* Enhancement: Drawing functions Ellipse(), Arc(), Chord(), Pie()
and RoundRect()
now accept an optional hPen last parameter.
* Enhancement: Class TSocket Method New(), now accepts a window
or dialog as a
second parameter, so it is possible to manage sockets just having
a dialogbox,
without a standard main window.
* New: Class TButtonBmp, Win32 XP themes-aware bitmaped buttons.
Please review
samples\TestBuBm.prg.
* New: Class TGet Method LimitText(), use it to manage unlimited
text on Gets and
Gets multilines.
* Enhancement: Class TWBrowse ( and TCBrowse as it inherits from
it) DATA nClrForeFocus
is now initialized as GetSysColor( COLOR_HIGHLIGHTTEXT ). Thanks
to James Bott for
point it.
March 2005 build
================
* Enhancement: Class TToolBar properly displays on MDI windows
(main and childs).
* Enhancement: functions Sin() and Cos() have been replaced for a
10x faster ones.
Thanks to David Arturo Macias.
* Enhancement: FW++ support for Class TToolBar already
implemented. Please review
samples\ToolBar1.prg and ToolBar2.prg.
* Enhancement: FW++ support for Class TListView already
implemented. Please review
samples\TestLvw.prg.
* Fix: Class TAnimate() new Method cToChar(). It was missing. Now
you can create
TAnimate controls at runtime.
* Enhancement: Class TAnimate() Method New(): nClrPane gets
assigned from the
container nClrPane value.
* Enhancement: FW++ support for Class TReBar already implemented.
Please review
samples\ToolBar2.prg and rebars.prg.
* Fix: Class TBtnBmp Method Paint(), buttons bitmaps are properly
placed when two
bitmaps are used and the button has a popup menu (dropdown).
* Fix: Toolbars placed on a MdiChild child, properly adjust with
the oClient
control (i.e.: a browse).
* Fix: GetNetCardID() is properly working with [x]Harbour and
Microsoft Visual C.
* Enhancement: version.lib included in buildhm.bat
* Fix: Class TWindow Method SetMsg() minor error that did not
allow to place a
buttonbar at the bottom place of its container.
* Fix: Class TPanel was not properly painting on XP without
themes. Fixed.
* New: Class THeader (Win32 SysHeader32 controls support). Please
review samples\header.prg
for a working sample. Thanks to Miguel Marchuet for the initial
code, though it has been
heavily modified by FiveTech.
* Enhancement: Class TToolBar Method EnableButton(
<nButton>, <lOnOff> ), allows to
enable or disable a Win32 ToolBar button. Please review
samples\ToolBar1.prg for
a working sample.
February 2005 build
===================
* New: Win32 Toolbars are ready to be used. Please review
samples\ToolBar1.prg.
* New: Win32 Rebars are ready to be used. Please review
samples\ToolBar2.prg
and samples\rebars.prg.
* New: bitmaps\32x32 directory containing Windows 32x32 bitmaps
32 bits.
* Enhancement: Class TStruct Method SetMember() now properly sets
the value for
LPSTR type members, i.e.: MEMBER lpComment AS LPSTR INIT
"Test Connection".
* Enhancement: Class TStatusBar has been modified to properly
process
MENUITEM ... MESSAGE ... msgs. Class TWindow also needed some
little changes
to get this properly working. Please review samples\stbar.prg for
a working
sample.
* Enhancement: FiveWin commands documentation has been reviewed
and properly
upgraded. Please review manual\FwCmd.chm file.
New documented commands: 14
Updated commands: 11
NEW COMMANDS
DataBase from Dictionary
DbCombo
Dbms
Dbms Dictionary
Default
Do Until
Idle Action
Graphs
Ras
RichEdit
StatusBars
TrackBars
URL Links
Yacc
UPDATED COMMANDS
Bar
DataBase
DTPicker
Fonts
GETs
Group
Icon Group
Pen
TcBrowse
Trees
Video
* Fix: Class TWindow, minor fix on tooltips management.
* Fix: Class TReport minor fix on Method Say().
* Enhancement: Class TPrinter Methods New() and Rebuild().
* Enhancement: Class TFolder Method AddItem() (32 bits support).
* Enhancement: FW++ include\winten.h has been extended with new
defines.
January 2005 build
==================
* Enhancement: FiveWin functions documentation has been greatly
improved.
242 functions have been documented, and 42 functions
documentation has
been updated. Those functions were already in FiveWin, but they
were not
documented yet. Please review manual\FwFun.chm file.
FiveWin functions total amount is 1010 functions. All of them are
documented now.
Please remember that you don't need to know these functions in
order to
use FiveWin, as FiveWin uses many of them automatically from
Classes and
xbase commands, but sometimes when you need to do some specific
work they
may become highly usefull.
The 242 new documented functions are:
aAt()
aGetPrinters()
AnimOpen()
AnimOpenEx()
AnimPlay()
ATang()
aWBrwRowDim()
BinToC()
BinToN()
CaretFLine()
ChildLevel()
CloseEnhMetaFile()
cMidiMapper()
ConnectTo()
Cos()
CreateBmpCursor()
CreateEnhMetaFile()
CreateMetaFile()
CursorDrag()
CursorStop()
DDECreateDataHandle()
DDECreateStringHandle()
DDEGetLastError()
DecToHex()
DeleteEnhMetaFile()
DestroyCaret()
DiskChange()
DispFontPerSize()
DragQueryFiles()
DrawFGetLine()
DrawGray()
DrawIconFocus()
DrawSelector()
DrawSlider()
DrawTextEx()
ExtDrawIcon()
FCommit()
FDate()
FindIcon()
FormatFLine()
FrameDot()
FreeResources()
FTime()
FWDispBegin()
FWDispEnd()
GetAllWin()
GetClassInfo()
GetCursorDrag()
GetCursorHand()
GetCursorStop()
GetDatePick()
GetEnhMetaFile()
GetFClipData()
GetFontNames()
GetFreeSystemResources()
GetHostByAddress()
GetLabelDim()
GetLastError()
GetMenuString()
GetMItemCount()
GetModuleHandle()
GetPEnhMetaFile()
GetPMetaFile()
GetPrintDC()
GetPrintDefault()
GetPromptRect()
GetPvProfInt()
GetScrollRange()
GetViewportOrgEx()
GetWindow()
GetWindowDC()
GetWindowLong()
GetWindowOrgEx()
GetWindowsDirectory()
GetWindowText()
GetWinVer()
GetWndDefault()
GlobalDelAtom()
GTFToRTF()
GTFToTxt()
HeightFLine()
HelpCtrlhWnd()
HelpTopic()
Hex2Str()
HTMLHelp()
IlAdd()
IlAddIcon()
IlAddMasked()
IlCreate()
IlDestroy()
IlSetBkColor()
ImportRawFile()
InterruptRegister()
IsExeRunning()
IsGTF()
IsRTF()
IsWindow()
IsWindowEnabled()
IsWinXP()
LastItemPos()
LenFLine()
LocalCount()
LogStack()
LvInsertItem()
MakeIntResource()
MAPIAddress()
MAPIDeleteMail()
MAPIFindNext()
MAPILogoff()
MAPILogon()
MAPIReadMail()
MAPIResolveName()
MAPISendDocuments()
MAPISendMail()
MessageBeep()
MidiNoteOff()
MidiSetPatch()
MimeExt()
MoveFile()
nBmpColors()
NDdeShareAdd()
NDdeShareDel()
NetSerialNumber()
nPtrWord()
nStatics()
nToBin()
OdbcDsnEntries()
PageEnd()
PalBmpRealize()
PlayEnhMetaFile()
PrintEnd()
PrnGetCopies()
PrnGetPages()
PrnSetCollate()
PropSheet()
RasDialDlg()
RLCheck()
RLQuery()
RLSet()
RoundRect()
RTFToGTF()
ScrResolution()
SetAccTable()
SetCursorPos()
SetDatePick()
SetFClipData()
SetForegroundWindow()
SetLayeredWindowAttributes()
SetPrintDefault()
SetScrollInfo()
SetScrollPos()
SetScrollRange()
SetTaskManager()
SetWindowExt()
SetWindowLong()
SetWindowOrg()
SetWindowPos()
SetWindowWord()
Sfn2Lfn()
Sin()
SocketSend()
SQLAllocConnect()
SQLAllocEnv()
SQLAllocStmt()
SQLCancel()
SQLCol()
SQLColumns()
SQLCommit()
SQLConnect()
SQLDesc32()
SQLDescribeCol()
SQLDisconnect()
SQLDriverConnect()
SQLDrvC32()
SQLError()
SQLExecDirect()
SQLExecute()
SQLExtendedFetch()
SQLFetch()
SQLFile()
SQLFreeConnect()
SQLFreeEnv()
SQLFreeStmt()
SQLGetConnectOption()
SQLGetCurName()
SQLGetCursorName()
SQLGetD32()
SQLGetData()
SQLGetDiagRec()
SQLGetIn32()
SQLGetInfo()
SQLGetStmtOption()
SQLGetTextData()
SQLIndex()
SQLNumResultCols()
SQLParamData()
SQLPrep32()
SQLPrepare()
SQLPrimaryKeys()
SQLPutData()
SQLRollback()
SQLRowCount()
SQLSCol()
SQLSetConnectOption()
SQLSetCurName()
SQLSetCursorName()
SQLSetParam()
SQLSetPos()
SQLSetStmt()
SQLStatistics()
SQLTables()
SQLTransact()
SToD()
StopUntil()
Str2Hex()
StrCharCount()
StrPtr()
TabCtrl_AdjustRect()
TabCtrl_GetCurSel()
TabCtrl_HitTest()
TabCtrl_SetCurSel()
TabDelAllItems()
Tang()
TaskAddIcon()
TaskChangeIcon()
TaskDelIcon()
TimeFromStart()
TvDelAllItems()
TvDeleteItem()
TvGetSelected()
TvGetSelText()
TvHitTest()
TvSelect()
TvSetImageList()
TxtToGTF()
UToS()
WaitMessage()
WaitSeconds()
WidthFLine()
WndParents()
WNetDelConnection()
WNetGetConnection()
The 42 updated documentation functions are:
aDrives()
ARead()
ASave()
BarAdjust()
Browse()
BtnDisable()
BtnPaint()
cGetDir()
cGetDir32()
cGetFile()
ChooseFont()
CtrlDrawFocus()
DibDraw()
Drawgrid()
ExtTextOut()
FindResource()
FloodFill()
FoldPaint()
FreeLib32()
GetDialogBaseUnits()
GetHelpTopic()
GetQuery()
GetTextHeight()
GetTextWidth()
HelpPopup()
HelpSetPos()
JoySetCapture()
MenuAddItem()
MoveWindow()
MsgGet()
MsgPaint()
nSerialHD()
PalBmpDraw()
PalBmpLoad()
PalBmpRead()
PalBtnPaint()
PrnBinSource()
StartDoc()
TvInsertItem()
UnZipFile()
WndAdjClient()
WndAdjTop()
* Enhancement: FiveWin Classes documentation has been greatly
improved.
42 Classes have been documented, and 59 functions documentation
has
been updated. Those Classes were already in FiveWin, but they
were not
documented yet. Please review manual\FwClass.chm file.
FiveWin Classes total amount is 157 Classes.
New documented classes:
TAccTable
TAnimate
TApplication
TComObject
TCtrlSocket
TDBase
TDBCombo
TDbfComp
TDbms
TDDEClient
TDDEServer
TDlgFind
TEnhMetaFile
TFLine
TForm
TFtpClient
TFtpServer
TFtpSession
TGraph
THtmlPage
TIconGet
TIconGroup
TListView
TLocks
TMnuComp
TNewsInstance
TNewsServer
TNg
TOrdInfo
TPanel
TReBar
TRFile
TRtfFile
TSay
TSqlError
TStatusBar
TTabControl
TToolBar
TTrackBar
TUrlLink
TVbxArray
TView
TWebClient
Updated documented Classes:
TBar
TBrush
TBtnBmp
TcBrowse
TcColumn
TCheckBox
TClipBoard
TComboBox
TComponent
TControl
TCursor
TDatabase
TDatePick
TDDEMLServer
TDialog
TDict
TDosPrn
TExStruct
TFGet
TFolder
TFont
TGet
TGroup
TImageList
TIni
TLex
TListBox
TMdiChild
TMdiClient
TMdiFrame
TMenu
TMenuItem
TMetaFile
TMeter
TMsgBar
TMsgItem
TMultiGet
TOutlook
TPages
TPen
TPrinter
TRadio
TRadMenu
TRColumn
TRect
TReg32
TRGroup
TRLine
TScrollBar
TSelector
TSlider
TSplitter
TTabs
TTimer
TTreeView
TVbControl
TVideo
TWebServer
TWindow
TYacc
* Enhancement: Class TWebClient Method New() minor fix. This
Class has been
included in FWH (it was missing).
* Fix: FW++ Class TImageList is properly working now.
* Enhancement: Class TComboBox new Method Close().
* Fix: Class TMsgItem was not properly managing bitmaps handles
when they
have negative values. Now it is ok.
* Enhancement: Class TDatePick new Method KeyChar. Now pressing
Enter, the focus
will go to the next control.
* Fix: Class TMail Method Activate was changing the current path.
Now it properly
saves and resores the current directory.
* Enhancement: Double buffer painting technique speed has been
greatly
improved.
* Fix: Minor fix on Class TBar Method Paint() due to recent
double buffer painting
technique. Now it is ok.
December 2004 build
===================
* Enhancement: Class TBitmap enhanced methods nWidth() and
nHeight().
* Enhancement: FWH ErrorSys to quit and avoid pending
unterminated tasks.
* Enhancement: Some fixes on FW/H/C3/++ MemoEdit() function.
* Fix: Class TReport Method Say(). Thanks to Eduardo Borondon.
* New: Class TReg32 Method Delete(). Thanks to Luis Krause &
Antonio Castro.
* Enhancement: MsgBar now accepts "&" character.
* Enhancement: FiveLinux K_UP, K_DOWN and KN_ENTER keystrokes on
GETs work
like in FW.
* Fix: There was a preprocessor error at mail.ch. Fixed.
* Enhancement: WM_TASKBAR msgs properly processed on FWC3.
samples\TestTray.prg now properly works with FWC3.
* Enhancement: Class TDialog, ::AEvalWhen() call moved from
method Activate()
to method Initiate(). Thanks to Luis Krause.
* Fix: Class TRichEdit Method KeyChar. Avoided call to
Super:KeyChar().
Thanks to EMG.
* Enhancement: Class TGet Method KeyDown(), when a text is
inserted, the
original length of the text variable is respected. Thanks to
Rossine.
* Enhancement: Class TDbOdbcDirect Method FCount(). Thanks to Ugo
Garombo.
* Fix: Class TOutLook Method DrawButtons() bug reported by Dutch.
* Enhancement: Class TControl Method GetNewId(). The generated
value could
cause an overflow when creating resources at runtime (creating
more than
32000 controls!). Reported by Mike Buckler.
November 2004 build
===================
* Fix: Class TGet Method KeyChar, fix for deadkey+tab [or enter]
previously
pressed will cause a r/t error. Thanks to Luis Krause.
* Fix: Class TCBrowse had several return 0 without calling
::DispEnd().
Fixed.
* Enhancement: cGetFile() now accepts an extra parameter to
select an initial
file name, besides the selected masks. Thanks to Juan Galvez.
* Enhancement: Class TMultiGet method Paint() now uses user
defined bPainted
codeblock.
* Enhancement: Class TTrayIcon uses a Window that does not show
on the tasks
manager (Alt-Tab). Thanks to EMG.
* New: New function PrnSetCollate( <hDC> ) -->
<lSuccess>. It activates
collate mode for printers that support it. Thanks to EMG.
* Enhancement: Due to a recent published Windows update, several
changes were
needed in order to avoid GPFs with GetFreeSystemResources(), and
with
nPtrWord() also. Now it is ok.
* Enhancement: Class TBitmap Method EraseBkGnd(). Now it fills
the control
background with the brush if there is no bitmap to show and it
keeps the
double buffer painting technique.
* Enhancement: FWH/FW++/FWC3 have been upgraded to be able to
manage up to
3000 controls simultaneously.
* Fix: Class TDbOdbc ERROR Handler, now it is properly defined
for Clipper
and for [x]Harbour.
* Enhancement: Some fixes on Class TPrinter Method SayImage() to
keep aspect
ratio, if just one dimension is provided. Thanks to Brian Hays.
* New: Class TPrinter Method SizeInch2Pix( nHeight, nWidth ).
It's
essentially a copy of Inch2Pix with one difference: Inch2Pix()
converts
an "nRow and nCol point" measured in inches from the
edges of the page, and
to be accurate adjusts for the X and Y offsets (usually 1/4
inch).
If you have the desired width and height of an image in inches,
you may at
first be tempted to use Inch2Pix(). But the values coming back
have the X or
Y page offsets subtracted from them, so they are inaccurate.
When converting Width and Height it's important to *not* subtract
the
offsets.
This is also valid for just getting any distance in inches
converted to
pixels. Thanks to Brian Hays.
* fix: Class TGet Method Refresh(), minor fix that was causing
numeric Gets
not to overwrite their contents when coming from another Get
(performing a
:Refresh() call to next Get from its VALID). New Class TGet
Method GoHome()
implemented.
* Fix: function MsgDate() was not closing the dialog when ESC was
pressed.
Now it is ok.
* Enhancement: Class TDialog Method Command, now checks if there
is a menu
and the close "x" button was pressed, and processes it
properly.
October 2004 build
==================
* New: function SetPrintDefault( <cModel> ): Sets the
default ptinter. Thanks
to EMG.
* Fix: Class TMdiFrame Method SetMenu(). Many thanks to EMG.
* Fix: Class TWindow Method ShowToolTip was generating a random
err