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.
- It is now possible to effectively control the user events in Grid. At definition the following directives are possible now.
- 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 Properties
- 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 )