forked from marcosgambeta/hwgui-r1908
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhatsnew.txt
483 lines (323 loc) · 16 KB
/
whatsnew.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
HWGUI - Harbour Win32 GUI library
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
What's new in the last version
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[!] Important
[+] New
[-] Fixed error
[*] Changes
HWGUI 2.16 ( 14.09.2006 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Native Win32 Toolbar, extended Grid control (HGridEX) has been added.
[*] GTK's HBrowse, HPanel and HOwnButton synchronized with Win32 version.
[!] Three class variables in HBrowse has been renamed for better readability:
kolz --> nRecords
tekzp --> nCurrent
msrec --> aArray
so you need to make search and replace in your programs to rename them.
[*] Many bug fixes and enhancements in both GTK and Win32 versions -
see Changelog for details.
HWGUI 2.15 ( 07.06.2006 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Linux GTK version of HwGUI has been implemented. It haven't yet all
functionality of the Windows version, but most of the main subsystems
( GET system, browse, printing, ... ) are ready to use.
[+] Some new classes has been added, including HWinPrn.
New functions has been added. See Changelog for the details.
[*] Important changes and fixes in core functions.
[!] Many bug fixes and enhancements - see Changelog for details.
HWGUI 2.14 ( 14.12.2004 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[*] An important Designer enhancement - it can be used to build reports.
Now it is the main HwGUI Report Builder instead of HWReport.
New classes are added - HRepItem,HRepTmpl, which provides printing
using the reports, created with the Designer.
[+] OpenImage( cFileName,lString ) function has been added - it reads some
picture files ( jpeg, gif ) and converts them to the HBitmap structure,
so the HBitmap():AddFile( cFileName ) can load now jpeg and gif files,
@ x,y BITMAP command now works with jpeg and gif, too.
[*] Important HPrinter enhancements:
- New parameter added to the HPrinter():New() method - lmm - if it is TRUE,
all subsequent printer operations accept coordinates as millimeters ;
- New commands has been added:
INIT PRINTER <oPrinter> [ NAME <cPrinter> ] [ <lPixel: PIXEL> ]
INIT DEFAULT PRINTER <oPrinter> [ <lPixel: PIXEL> ]
By default ( if the PIXEL clause isn't used, all subsequent printer
operations accept coordinates as millimeters ;
- New method for HPrinter has been implemented - SetMode( nOrientation )
to change the orientation:
portrait(nOrientation==1) / landscape(nOrientation==2) ;
- New variable nPage and automatic handling of pages numbers has been added ;
- HPrinter():Preview() method and related functions are extended:
Zoom buttons, trackbars for preview image repositioning has been added.
New parameters added - optional arrays for button's bmps and tooltips.
[*] Richedit related code is changed to support the Richedit 2.0.
[*] HTrackbar is modified to allow user defined sliders.
[*] Internal messages processing has been changed. Now the callback *WndProc
functions calls onEvent() method instead of appropriate Def* function.
This allow to subclass window, dialog and control classes and, defining new
onEvent() methods for them, to change the default messages processing.
The HWindow() class is now a parent class for HMainWindow(), HMDIChildWindow()
and HChildWIndow() classes.
[*] Many bug fixes and enhancements - see Changelog for details.
HWGUI 2.13 ( 22.07.2004 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] New controls - classes and appropriate commands has been added -
see Changelog for details.
[+] Support for Pelles C and Open Watcom C compilers has been added.
[*] The Designer is fully rewritten.
[*] Many bug fixes and enhancements - see Changelog for details.
HWGUI 2.12 ( 04.04.2004 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] New classes and functions has been added - see Changelog for details.
[-] A lot of bugs fixed.
HWGUI 2.11 ( 15.10.2003 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[*] It became possible now to create the toolbar ( panel ) and the status window
for the MDI main ( frame ) window ( see samples/a.prg ).
[*] MDI child windows creating is changed - now you can define style for them,
the default is WS_VISIBLE + WS_OVERLAPPEDWINDOW + WS_MAXIMIZE.
[+] New functions has been added:
Tree_HitTest( hTree [, x, y ] ) - returns the tree item, placed in
x,y coordinates ( or cursor position )
ScreenToClient( x,y ) - converts the point coordinates from absolute
to window client area relative
ProcessMessage()
[+] HDialog: new variable added - bActivate - it is a codeblock, which is executed
one time - after the dialog is being activated.
[+] HTree: new variable added - bRClick - it is a codeblock, which is executed
after the mouse right click on the tree item.
[*] HMenu:Show() is changed, now 2-th and 3-th parameters are optional, the
method takes cursor position if they are omitted.
[*] Enablemenuitem() is changed - now the first parameter is a menu handle.
[-] Few bugs fixed.
HWGUI 2.10 ( 22.09.2003 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] HFreeImage class added - implementations of wrappers to FreeImage library
( http://freeimage.sourceforge.net/ ), which allows to load, draw and save
files in different graphic formats - BMP, JPEG, PNG, MNG, etc.
See samples/viewer how to use it.
[+] Added new class HSayImage as a custom class for image controls, and HSayBmp,
HSayIcon, HSayFImage - child classes, which implements static controls,
displaying bitmap, icon, graphic file appropriately.
[+] New commands added:
@ x,y IMAGE ... - display graphic file via FreeImage library
@ x,y ICON ...
[+] Added function Window2Bitmap(hWnd,lFull) to convert the area of a window
to a bitmap. Appropriate method ::AddWindow(hWnd,lFull) added to HBitmap class.
[*] Metafiles implementation fixed, preview possibilities added to HPrinter class,
HwReport changed to use preview possibilities of HPrinter. Another example of
print preview ypu may find in samples/a.prg, PrnTest() function.
[*] 'ICON' clause added to INIT DIALOG command, oIcon variable - to HDialog class.
[*] 'TRANSPARENT' clause is added to '@ x,y OWNERBUTTON' command, which
forces the bitmap to be painted as transparent.
[*] A number of warnings and bugs fixed by Lorenzo Fiorini.
[*] Documentation extended.
[-] Few bugs fixed.
HWGUI 2.09 ( 08.09.2003 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Encryption module added ( procmisc/Blowfish.c ) - Harbour's
implementation of Blowfish algorithm:
bf_Encrypt( cString, cKey )
bf_Decrypt( cString, cKey )
[+] New makefiles for MINGW compiler added: makemngw.bat, makefile.gcc instead
of old files - now they aren't depend on Harbour config files.
[*] Some other changes:
HRadioGroup: new method is added - SetValue( nValue ),
the command 'GET RADIOGROUP' is changed to
'GET RADIOGROUP [ <ogr> VAR ] <vari>' ;
HTree: new variable added - bExpand, this codeblock should return .F.
to prevent expanding or collapsing ;
Handling of WM_MOVE added to DefWndProc() - window coordinates are updated
now after moving.
mciSendString( cCommand, @cResult, hWindow ) function added ;
GetCurrentDir() function added - it returns path with drive name ;
[*] Few fixes from Ron Pinkas and Luiz Rafael Culik for better xHarbour
compatibility.
[-] Some bug fixes.
HWGUI 2.08 ( 08.07.2003 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] New class HSplitter is added, which implements Splitter control.
Appropriate command is added:
@ x,y SPLITTER
[+] Added possibility to draw window background with a bitmap.
[+] New functions are added:
DrawIcon( hDC,x,y,hIcon ), DrawTransparentBitmap( hDC,hBitmap,x,y),
Array2String( array ), String2Array( cString ),
SetWindowObject( hWnd,oWnd ), GetWindowObject( hWnd ),
SetCapture( hWnd ), ReleaseCapture(),
RegSetBinary( handle, cKeyName, cKeyValue ),
PlaySound( cFilename, lSync, lLoop ),
re_SetCharFormat(), re_SetDefault(),
re_CharFromPos( hEdit,xPos,yPos ), re_GetTextRange( hEdit, n1, n2 )
DrawEdge( hDC,x1,y1,x2,y2,nFlag,nBorder ),
ShellExecute( cFile, cOperation, cParams, cDir, nFlag )
[+] Keyboard accelerators are implemented:
New clause 'ACCELERATOR accFlag,accKey' is added to 'MENUITEM' command
[*] HTree class is extended:
Labels editing possibility added to TreeView, appropriate clause
'EDITABLE' added to '@ x,y TREE' command ;
New clause added to 'INSERT NODE' command: 'BEFORE <oNext>' ;
New methods are added: Delete(), Clean() ;
[*] HRichEdit class is extended.
[*] HCustomWindow class: new method DelControl( oCtrl ) added.
[*] Added parameter 'oFont' to SelectFont() and HFont():Select(), it allows
to use oFont as init value in the dialog box.
[*] GET system now is more Clipper compatible.
[-] Some bug fixes.
HWGUI 2.07 ( 21.05.2003 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] New classes Htree, HtreeNode are added, which implements TreeView control.
Appropriate commands are added:
@ x,y TREE ...
INSERT NODE ...
Look at samples/testtree.prg.
[+] HTimer class is added.
[+] New method InitTray() is added to HWindow class.
Look at samples/testtray.prg.
[+] Tcolor, bcolor variables are added to HColumn class, they allows to set
a color for specific column in browse.
[+] SetTransparentMode() function added - following TextOut() will draw text
in transparent mode.
[+] HIcon class is added.
[!] Now in ICON clause of INIT WINDOW command you should use previously
created oIcon object, not the icon handle.
[-] Some bug fixes.
HWGUI 2.06 ( 15.11.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[-] A lot of fixes.
[+] Support of mingw32 compiler is added - thanks to Lorenzo Fiorini for
this contribution.
[!] Class hWGUIControl is removed, all it's child classes are
inherited now from HControl.
[+] New variables and methods are added to the HBrowse class:
bPosChanged, this user defined codeblock is evaluated after each
selection change in browse ;
lAutoEdit, compatible with TSBrowse class for Fivewin ;
lAppable - allows to add rows to the browse ;
lUpdated - shows, was some cell of a browse updated ;
lAppended - shows, was there a row appended in browse ;
method Append().
[+] New method is added to HStatic: SetValue().
[+] New method is added to HEdit: SetGet().
[+] New methods are added to HControl: Show() and Hide.
[+] Added new command for adding columns to browse:
ADD COLUMN ...
[+] New methods are added to HTab: SetTab( n ) and GetActivePage()
HWGUI 2.05 ( 15.09.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Added interface to QHTM library, which allows to display and print
HTML content in your application.
This interface includes a set of commands and functions, see details
in documentation and sample: samples/qhtm/qhtmtest.prg.
[+] Added new commands to display bitmaps:
@ <x>,<y> BITMAP ...
REDEFINE BITMAP ...
[!] Fixed few bugs in HBrowse class and GET system
[*] Further Designer improvements.
HWGUI 2.04 ( 05.08.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Added Tab control, appropriate class HTab and commands:
@ <x>,<y> TAB ...
BEGIN PAGE <cPage> OF <oTab>
END PAGE OF <oTab>
[+] Added class HUpDown and commands for Up-down control:
@ <x>,<y> UPDOWN ...
@ <x>,<y> GET UPDOWN ...
[+] Added two new controls: vertical line and horizontal line, appropriate
class HDivider and command:
@ <x>,<y> LINE [ <oLine> ] ...
[+] Added few functions, which allows to check, if another copy of this program
is running and to activate that copy, if so. See sample of using in
samples/designer/designer.prg
[*] Some modifications in HBrowse, contributed by WHT.
[!] Solved problems with menu under Win95.
[*] It's became possible to create property sheets without resources.
[*] Dialog creation routines are improved.
[*] Further Designer improvements - new interface, new controls, possibilty
to write/read from *.rc files, ...
HWGUI 2.03 ( 25.07.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[!] Fixed bug with Property Sheets handling, introduced in previous release.
[!] Fixed bug in GET system.
[+] Added possibility to create context menus.
New command:
CONTEXT MENU <oMenu>
New class HMenu.
[*] Forms Designer improved.
HWGUI 2.02 ( 23.07.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[*] GET system implementation is much extended.
Look at the sample testget2.prg.
PICTURE clause is added to GET commands - and it works as in Clipper.
Editing of GET items became more close to Clipper's ( handling of Insert
key, ReadExit() using ).
It is not necessary now to designate in GET command ( and in other
control definition commands ) the parent window and Control's ID - so
commands became simpler and more close to Clipper's.
New clause is added to DIALOG definition - 'CLIPPER'. If DIALOG is defined
with this clause, you can move between GET's with ENTER key.
[+] HBrowse: added possibility to display bitmaps in columns.
You can now define a codeblock for keys handling:
oBrw:bKeyDown := {|oBrw,key|MyFunction(oBrw,key)}
Look at the sample a.prg, function OpenAbout().
[+] Added new function which calls the standard dialog to choose color:
Hwg_ChooseColor().
[+] Starting implementation of HGraph class - look at the sample graph.prg.
[+] Starting implementation of a new HwGUI application - forms designer,
look at samples/designer.
[!] Few bugs fixed.
HWGUI 2.01 ( 05.07.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Starting implementation of Get system.
New commands added:
@ <x>,<y> GET ...
REDEFINE GET ...
@ <x>,<y> GET CHECKBOX ...
REDEFINE GET CHECKBOX ...
@ <x>,<y> GET COMBOBOX ...
REDEFINE GET COMBOBOX ...
@ <x>,<y> GET DATEPICKER ...
GET RADIOGROUP ...
[+] DatePicker control added: new command, new class.
[+] New method added to HControl class: SetColor(), it allows to change
the control's colors 'on the fly'.
[-] Some fixes in HBrowse class, dialog creating functions, ...
HWGUI 2.0 final ( 26.06.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[+] Added new class: HPrinter, all printing related code is rewritten to use
this class.
[+] Makefiles for Visual C are added ( thanks to Robert Arseniuk ), some changes
for this compiler are done - now HwGUI can be built with VC, too.
[*] New clauses are added to most of control creating commands:
COLOR
BACKCOLOR
They allows to define colors of these controls.
[-] Few bugs fixed.
HWGUI 2.0 beta 2 ( 14.06.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[*] Font, pen, brush and bitmap handling functions are rewritten as classes.
[+] FONT clause is added to all windows and controls creation commands, oFont
variable is added to appropriate classes.
[+] TOOLTIP clause is added to all control creation commands.
[+] @ x,y GROUP ... command and HGroup class are added
[+] @ x,y RADIOBUTTON ..., REDEFINE RADIOBUTTON ..., RADIOGROUP, END RADIOGROUP
commands are added, HRadioButton class is added.
[+] New clause 'FROM RESOURCE' is added to the owner button creation commands
( BITMAP section ) - it is possible now to load bitmaps both from the bmp
file or from resource.
[*] Now it is possible co create modeless dialogs without resources, too.
[*] Documentation is extended.
[-] Few bugs fixed.
HWGUI 2.0 beta ( 04.06.2002 )
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[!] HwGUI is now OOP based. See classes hierarchy and description in
documentation ( doc/hwgdoc.htm ).
[!] New commands are added, some are removed, see documentation
( doc/hwgdoc.htm ) for details.
Most new commands are designed for creating controls without using
resources ( *.rc file ).
[+] Added possibility to design menu from the program, without resource file.
{+} Property sheets are added.
[*] Documentation is extended.
[-] Few bugs fixed.