HMG 3.3.0 (Stable)

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

Post Reply
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

HMG 3.3.0 (Stable)

Post by Rathinagiri »

Dear HMG Family,

I am very much happy to announce the new version HMG 3.3.0. This version has so many new features and bug fixes, thanks to the contributions of many members of our forum.

Dr. Claudio Soto is successful in bringing out HMG in 64 Bits. That is a tremendous achievement, I can say. Let us congratulate him for that. A patch for 64 Bits is getting ready and you have to apply that patch on the regular 32 Bits version of HMG and HMG is already powered for 64 Bits. I will share the 64 Bits Patch version shortly.

This setup file doesn't contain the NotePad++ editor.

HMG can be downloaded from sourceforge.net site .

Enjoy!


Changelog:

HMG 3.3.0 (Stable) 2014/05/24
  • Updated to latest Harbour Nightly Build (2014-05-06)
  • Following libraries in HFCL are now in-built in the main library
    • BosTaurus
    • HMG_HPDF
  • New functions in BosTaurus library:
    • BT_BitmapLoadEMF ( cFileName, [ aBackgroundFillColor ], [ nNewWidth ], [ nNewHeight ], [ ModeStretch ] )  ---> Return hBITMAP
    • BT_DrawFillFlood ( hDC, Row, Col, aColorRGBFill )
  • Re-arrangement and Improvements in HMG Documentation
  • Demo folders are re-arranged according to the HMG Documentation order (Contributed by Pablo César)
  • New demos:
    • SAMPLES\Controls\RichEditBox
    • SAMPLES\Controls\Grid\GridOnKeyOnClick
    • SAMPLES\Miscellaneous\MoveResizeControl
    • SAMPLES\Controls\ListBox\ListBox_4 ( Contributed By Pablo César )
    • SAMPLES\UNICODE\BOX_DRAWING ( Contributed By Pablo César )
    • Enhanced SAMPLES\Controls\Grid\GridIncrementalSearch
  • New Features in Grid Control
    • It is now possible to effectively control the user events in Grid. At definition the following directives are possible now.
      • [ ON CLICK <OnClickProcedure> ]
      • [ ON KEY <OnKeyProcedure> ]
      • [ EDITOPTION <nEditOption> ]      
      • <ParentWindowName>.<GridControlName>.CellRowFocused   --> nCellRowIndex
      • <ParentWindowName>.<GridControlName>.CellColFocused   --> nCellColIndex
      • <ParentWindowName>.<GridControlName>.CellRowClicked   --> nCellRowIndex
      • <ParentWindowName>.<GridControlName>.CellColClicked   --> nCellColIndex
      • <ParentWindowName>.<GridControlName>.CellNavigation [ := | --> ] lBoolean
      • <ParentWindowName>.<GridControlName>.EditOption     [ := | --> ] GRID_EDIT_DEFAULT | GRID_EDIT_SELECTALL | GRID_EDIT_INSERTBLANK | GRID_EDIT_INSERTCHAR | GRID_EDIT_REPLACEALL
    • For more details please see Grid Doc.
  • New Printer related functions
    • OpenPrinterGetDC()
    • OpenPrinterGetPageDC()
    • IsPrintPageMetaFile()
    • OpenPrinterGetPageWidth()
    • OpenPrinterGetPageHeight()
  • New Runtime Window Handling
    • ThisWindow|<FormName>.Handle            --> nFormHandle
    • ThisWindow|<FormName>.Index             --> nFormIndex
    • ThisWindow|<FormName>.IsMinimized       --> lBoolean
    • ThisWindow|<FormName>.IsMaximized       --> lBoolean
    • ThisWindow|<FormName>.ClientAreaWidth   --> nWidth
    • ThisWindow|<FormName>.ClientAreaHeight  --> nHeight
    • ThisWindow|<FormName>.NoCaption   [ := | --> ] lBoolean
    • ThisWindow|<FormName>.NoMaximize  [ := | --> ] lBoolean
    • ThisWindow|<FormName>.NoMinimize  [ := | --> ] lBoolean
    • ThisWindow|<FormName>.NoSize      [ := | --> ] lBoolean
    • ThisWindow|<FormName>.NoSysMenu   [ := | --> ] lBoolean
    • ThisWindow|<FormName>.HScroll     [ := | --> ] lBoolean
    • ThisWindow|<FormName>.VScroll     [ := | --> ] lBoolean
    • ThisWindow|<FormName>.Enabled     [ := | --> ] lBoolean
    • ThisWindow|<FormName>.AlphaBlendTransparent := nAlphaBlend (0 to 255, Completely Transparent = 0, Opaque = 255)
    • ThisWindow|<FormName>.BackColorTransparent  := aRGBColor
  • New Functions
    • FindTextDialog
    • ReplaceTextDialog
    • HMG_LoadResourceRawFile ( cFileName, cTypeResource | nTypeResourceID ) --> cData
    • GetFontList ( [ hDC ] , [ cFontFamilyName ] , [ nCharSet ] , [ nPitch ] , [ nFontType ] , [ lSortCaseSensitive ] , [ @aFontName ] )
    • System.EmptyClipboard
    • SET DIALOGBOX POSITION: Sets the position of the dialog boxes (FindTextDialog, GetColor, GetFile, GetFolder, GetFont, MessageBoxTimeout, MsgXXX, PutFile, ReplaceTextDialog, SELECT PRINTER, etc)
      • SET DIALOGBOX [ POSITION ] ROW <nRow>|<@VarCodeBlockRow>|<NIL>   COL <nCol>|<@VarCodeBlockCol>|<NIL>
      • SET DIALOGBOX [ POSITION ] CENTER OF PARENT
      • SET DIALOGBOX [ POSITION ] CENTER OF <hWnd>
      • SET DIALOGBOX [ POSITION ] CENTER OF DESKTOP
      • SET DIALOGBOX [ POSITION ] DISABLE
      • See example of SET DIALOGBOX POSITION in doc
    • HMG_GetLastMouseMessage ( [ @hWnd ], [@nMsg], [@wParam], [@lParam] ) --> nMsg
    • HMG_CleanLastMouseMessage ()
    • HMG_GetCursorPos ( [ hWnd ], @nRow, @nCol )
    • HMG_SetCursorPos ( [ hWnd ],  nRow,  nCol )   
    • SetWindowLongPtr (hWnd, nIndex, dwNewLong) --> return dwRetLong
    • GetWindowLongPtr (hWnd, nIndex) --> return dwRetLong
    • SetClassLongPtr (hWnd, nIndex, dwNewLong) --> return dwRetLong
    • GetClassLongPtr (hWnd, nIndex) --> return dwRetLong      
    • GetCurrentProcessId() --> return nProcessID
    • EnumProcessesID () ---> return array { nProcessID1, nProcessID2, ... }
    • GetProcessName ( [ nProcessID ] ) --> return cProcessName
    • GetProcessFullName ( [ nProcessID ] ) --> return cProcessFullName
    • GetProcessMemoryInfo ( [ ProcessID ] )  --> return array with 9 numbers
    • GlobalMemoryStatusEx () --> return array with 7 numbers
  • Enhanced GetColor ( [ aDefaultColor ], [ @aCustomColors ], [ lFullOpenBox ] )
  • Enhanced RichEditBox Control
    • New Properties
      • FontName
      • FontSize
      • FontBold
      • FontItalic
      • FontUnderline
      • FontStrikeOut
      • FontColor
      • FontBackColor
      • FontScript
      • Link
      • GetClickLinkRange
      • GetClickLinkText
      • RTFTextMode
      • AutoURLDetect
      • Zoom
      • SelectRange
      • CaretPos
      • Value
      • ViewRect
      • GetSelectText
      • GetTextLength
      • GetTextRange
      • GetPosChar
      • AddText
      • AddTextAndSelect
      • CanPaste
      • CanUndo
      • CanRedo
      • BackGroundColor
      • ParaAlignment
      • ParaNumbering
      • ParaNumberingStyle
      • ParaNumberingStart
      • ParaOffset
      • ParaLineSpacing
      • ParaIndent
      • FindText
      • ReplaceText
      • ReplaceAllText
    • New Methods
      • SelectAll
      • UnSelectAll
      • SelCopy
      • SelPaste
      • SelCut
      • SelClear
      • Undo
      • Redo
      • ClearUndoBuffer
      • RTFLoadFile
      • RTFSaveFile
      • RTFPrint
    • New Properties at Definition
      • NOHSCROLL
      • NOVSCROLL
      • ON SELECT
      • ON LINK
      • ON VSCROLL
  • New Features in Print Preview 
    • New Save Print Preview as image: BMP, JPG, GIF, TIFF, PNG or EMF
    • New Save Printer Preview as PDF
    • Enhanced look and feel of Print Preview ( Contributed By Pablo César )
    • Enhanced quality of images of ThumbNails in printer preview
    • Changed cursor behavior in Print Preview window: Zoom and Glass Cursor only into page to print
  • New HMG_HPDF PRINT UNICODE TEXT as images (Please see SAMPLES\HPDF\HMG_HPDFUNI)
  • New Unicode related functions
    • HMG_IsUTF8 ( cString )          --> lBoolean
    • HMG_IsUTF8WithBOM ( cString )   --> lBoolean
    • HMG_UTF8RemoveBOM ( cString )   --> cString
    • HMG_UTF8InsertBOM ( cString )   --> cString
  • New Registry related functions
    • RegCloseKey ( hKey ) --> return lBoolean
    • RegOpenKeyEx ( hKey, cSubKey, [ RegSAM ], @hResult ) --> return lBoolean
    • RegEnumKeyEx ( hKey, nIndex, @cBuffer, @cClass ) --> return lBoolean
  • New HFCL ComboSearchBox Features ( See sample )
    • Additive 
    • RowOffset
    • ColOffset
  • Fixed Printer Preview activate from Modal Window with Panel Window (Reported by Marek, Fixed by Dr. Claudio Soto)
  • Fixed scroll window with Panel Window (Reported by Marek, Fixed by Dr. Claudio Soto)
  • Fixed HMG_HPDF ttf font selection ( Contributed By Pablo César )         
  • Fixed Numeric TextBox Decimal Point problem ( Contributed By Pablo César )
  • Fixed HFCL ComboSearchBox GotFocus/LostFocus Bug
  • Fixed HTML_END ( Contributed By Pablo César )
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.3.0 (Stable)

Post by Rathinagiri »

I like the following in this version personally.

1. Now it is possible to save the print output to pdf file in print preview. There by we can print even unicode fonts. Even though it is a work around, I like this one a lot.

2. Following the same way, a new work around method to print unicode font in HPDF is made by Dr. Claudio Soto. It is very handy to print in any system font also.

3. The Grid control is an important control and any user event on that can now be captured and it is in full control of the developer now. We can do whatever we want. :)

4. HMG in 64 Bits. Yes. HMG enters into new horizons.

5. New features of RichEditBox. Once I had seen the jaw dropping sample for RichEditBox, I had come to the conclusion that the time is not far away to have our own HMG code editor with syntax highlighting exclusively for HMG.

6. Registry functions.

Thank you friends for keeping HMG fresh, simple and effective.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG 3.3.0 (Stable)

Post by esgici »

Thank you very much Mr. Diamond and Dr. Soto :D
Viva INTERNATIONAL HMG :D
User avatar
serge_girard
Posts: 3158
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: HMG 3.3.0 (Stable)

Post by serge_girard »

Much thanks to all involved !

Serge
There's nothing you can do that can't be done...
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG 3.3.0 (Stable)

Post by bpd2000 »

esgici wrote:Thank you very much Mr. Diamond and Dr. Soto :D
+1000
BPD
Convert Dream into Reality through HMG
User avatar
quartz565
Posts: 667
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: HMG 3.3.0 (Stable)

Post by quartz565 »

Thank you very much all, for this new version!!

Nikos
Best Regards,
Nikos.

os: Windows Server 2019 - 64
User avatar
tonton2
Posts: 444
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: HMG 3.3.0 (Stable)

Post by tonton2 »

Bonsoir
Thank you very much all, for this new version.
I am going to try it
L'Algerie vous salut
Y.TABET
User avatar
andyglezl
Posts: 1461
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Contact:

Re: HMG 3.3.0 (Stable)

Post by andyglezl »

Gracias a todos los que contribuyen a este gran trabajo !
------------------------------------------------------
Thanks to all who contribute to this great work!
Andrés González López
Desde Guadalajara, Jalisco. México.
JALMAG
Posts: 262
Joined: Sun Jan 10, 2010 7:05 pm
DBs Used: DBF, MariaDB
Location: España - Spain

Re: HMG 3.3.0 (Stable)

Post by JALMAG »

Thanks!
best regards
User avatar
srvet_claudio
Posts: 2193
Joined: Thu Feb 25, 2010 8:43 pm
Location: Uruguay
Contact:

Re: HMG 3.3.0 (Stable)

Post by srvet_claudio »

My one cent.
I think that the information on our forum stayed outdated :lol: :lol: :lol:
Attachments
HMG_64bit.png
HMG_64bit.png (14.96 KiB) Viewed 13152 times
Best regards.
Dr. Claudio Soto
(from Uruguay)
http://srvet.blogspot.com
Post Reply