File Name: HMG.3.3.0.exe
File Size: 46.04 MB
Date: 24. May 2014
Description:
-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
– New demos:
– SAMPLES\Controls\RichEditBox
– SAMPLES\Controls\Grid\GridOnKeyOnClick
– SAMPLES\Miscellaneous\MoveResizeControl
– 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 ]
– [ ON KEY ]
– [ EDITOPTION ]
– ..CellRowFocused –> nCellRowIndex
– ..CellColFocused –> nCellColIndex
– ..CellRowClicked –> nCellRowIndex
– ..CellColClicked –> nCellColIndex
– ..CellNavigation [ := | –> ] lBoolean
– ..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|.Handle –> nFormHandle
– ThisWindow|.Index –> nFormIndex
– ThisWindow|.IsMinimized –> lBoolean
– ThisWindow|.IsMaximized –> lBoolean
– ThisWindow|.ClientAreaWidth –> nWidth
– ThisWindow|.ClientAreaHeight –> nHeight
– ThisWindow|.NoCaption [ := | –> ] lBoolean
– ThisWindow|.NoMaximize [ := | –> ] lBoolean
– ThisWindow|.NoMinimize [ := | –> ] lBoolean
– ThisWindow|.NoSize [ := | –> ] lBoolean
– ThisWindow|.NoSysMenu [ := | –> ] lBoolean
– ThisWindow|.HScroll [ := | –> ] lBoolean
– ThisWindow|.VScroll [ := | –> ] lBoolean
– ThisWindow|.Enabled [ := | –> ] lBoolean
– ThisWindow|.AlphaBlendTransparent := nAlphaBlend (0 to 255, Completely Transparent = 0, Opaque = 255)
– ThisWindow|.BackColorTransparent := aRGBColor
– New Functions and commands
– 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 |<@VarCodeBlockRow>| COL |<@VarCodeBlockCol>|
– SET DIALOGBOX [ POSITION ] CENTER OF PARENT
– SET DIALOGBOX [ POSITION ] CENTER OF
– 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 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 HFCL ComboSearchBox GotFocus/LostFocus Bug
Pingback: HMG News | Viva Clipper !