--- 1.  Common dialogs
hwg_SelectFont( [ oFont ] )
hwg_SelectFile( cDescript,cMask,[ cInitDir ], [ cTitle ] )
hwg_SelectFileEx( [cTitle] [,cInitDir] [,aDescript] )(GTK only)
hwg_SelectFolder( cTitle )
hwg_SaveFile( cPrompt,cDescript,cMask,cInitDir,cTitle )(Windows only)
hwg_PrintSetup( @cPrinterName )(Windows only)
hwg_ChooseColor( nColorCurrent )
--- 2.  MessageBoxes and HwGUI dialogs
hwg_MsgInfo( cMessage,cTitle )
hwg_MsgStop( cMessage,cTitle )
hwg_MsgOkCancel( cMessage,cTitle )
hwg_MsgYesNo( cMessage,cTitle )
hwg_MsgYesNoCancel( cMessage,cTitle )
hwg_MsgNoYes( cMessage,cTitle )(Windows only)
hwg_MsgRetryCancel( cMessage,cTitle )(Windows only)
hwg_MsgExclamation( cMessage,cTitle )
hwg_MsgBeep( nSound )(Windows only)
hwg_ShellAbout( cText1, cText2 [,hIcon] )(Windows only)
hwg_MsgGet( cTitle, cText, nStyle, nLeft, nTop, nDlgStyle, cInitStr )
hwg_WChoice( arr, cTitle, nLeft, nTop, oFont, clrT, clrB, clrTSel, clrBSel, cOk, cCancel )
--- 3.  Drawing functions.
hwg_DefinePaintStru()
hwg_BeginPaint( handle, pps )
hwg_EndPaint( handle, pps )
hwg_Getdrawiteminfo( lpDis )(Windows only)
hwg_GetClientRect( handle )
hwg_SelectObject( hDC, handle )
hwg_DeleteObject( handle )
hwg_MoveTo( hDC, x1, y1 )
hwg_LineTo( hDC, x1, y1 )
hwg_Rectangle( hDC, x1, y1, x2, y2 )
hwg_Box( hDC, x1, y1, x2, y2 )(Windows only)
hwg_DrawLine( hDC, x1, y1, x2, y2 )
hwg_Pie( hDC, x1, y1, x2, y2, xr1, yr1, xr2, yr2 )(Windows only)
hwg_Ellipse( hDC, x1, y1, x2, y2 )
hwg_FillRect( hDC, x1, y1, x2, y2, hBrush )
hwg_RoundRect( hDC, x1, y1, x2, y2, xRad, yRad )
hwg_Drawbutton( hDC, x1, y1, x2, y2, nFlag )
hwg_DrawEdge( hDC, x1, y1, x2, y2, nFlag, nBorder )(Windows only)
hwg_gtk_DrawEdge( hDC, x1, y1, x2, y2, nFlag )(GTK only)
hwg_drawGradient( hDC, x1, y1, x2, y2, int type, array colors, array stops, array radiuses )
hwg_OpenImage( cName | cBody [, lMem] )
hwg_OpenBitmap( cName [, hDC] )
hwg_SaveBitmap( cName, hBitmap )
hwg_StockBitmap( cName [,nSizeType] )(GTK only)
hwg_DrawBitmap( hDC, hBitmap, style, x, y [, width, height] )
hwg_DrawTransparentBitmap( hDC, hBitmap, x, y [,trColor] [, width, height] )
hwg_Drawgraybitmap( hDC, hBitmap, x, y )(Windows only)
hwg_SpreadBitmap( hDC, hBitmap [, nLeft, nTop, nRight, nBottom] )
hwg_Drawicon( hDC, hIcon, x1, y1 )(Windows only)
hwg_CenterBitmap( hDC, hWnd, hBitmap, style, brush )(Windows only)
hwg_GetBitmapSize( hBitmap )
hwg_GetIconSize( hIcon )(Windows only)
hwg_Getsyscolor( nCode )
hwg_GetsyscolorBrush( nCode )(Windows only)
hwg_Createpen( nStyle, nWidth, nColor )
hwg_Createsolidbrush( nColor )
hwg_Createhatchbrush( nHatch, nColor )(Windows only)
hwg_GetDC( hWnd )
hwg_ReleaseDC( hWnd, hDC )
hwg_SaveDC( hDC )(Windows only)
hwg_DeleteDC( hDC )(Windows only)
hwg_Restoredc( hDC, nSavedDC )(Windows only)
hwg_CreateCompatibleDC( hDC )
hwg_CreateCompatibleBitmap( hDC, nWidth, nHeight )(Windows only)
hwg_Patblt( hDc, a, s, d, f, g )(Windows only)
hwg_Bitblt( hDc, x, y, nWidth, nHeight,  pSrcDC, xSrc,  ySrc, nFlag )
hwg_Setmapmode( hDC, nMapMode )(Windows only)
hwg_Setwindoworgex( hDC, x, y, @point )(Windows only)
hwg_Setwindowextex( hDC, x, y, @point )(Windows only)
hwg_Setviewportorgex( hDC, x, y, @point )(Windows only)
hwg_Setviewportextex( hDC, x, y, @point )(Windows only)
hwg_Setarcdirection( hDC, nArcDirection )(Windows only)
hwg_Setrop2( hDC, nDrawMode )(Windows only)
hwg_DrawFrameControl( hDC, nType, nState )(Windows only)
hwg_TextOut( hDC, x, y, cText )
hwg_DrawText( hDC, cText, x1 | aRect [, y1, x2, y2, nStyle [,aRect]] )
hwg_GetTextMetric( hDC )
hwg_GetTextSize( hDC, cText )
hwg_GetClientRect( handle )
hwg_GetWindowRect( handle )
hwg_SetTextColor( hDC, nColor )
hwg_GetTextColor( hDC )
hwg_SetBkColor( hDC, nColor )
hwg_GetBkColor( hDC )
hwg_SetTransparentMode( hDC, lTransparent )
hwg_Exttextout( hDC, x, y, x1, y1, x2, y2, cText )(Windows only)
hwg_WindowFromDC( hDC )(Windows only)
hwg_Loadimage( hInstance, cName, nType, nWidth, nHeight, nFlags )(Windows only)
hwg_Loadbitmap( nId | cName [,l] )(Windows only)
hwg_Window2bitmap( hWnd [, x1, y1, width, height] )
hwg_RedrawWindow( handle, nFlags, x1, y1, nWidth, nHeight )
hwg_Invalidaterect( handle, lEraseBack, x1, y1, x2, y2 )
hwg_GetPpsRect( pps )(Windows only)
hwg_GetPpsErase( pps )(Windows only)
hwg_GetUpdateRect( hWnd )(Windows only)
--- 4.  Windows handling functions.
hwg_GetModalDlg()
hwg_EndDialog( [handle] )
hwg_EndWindow()
hwg_isWindow( hWnd )(Windows only)
hwg_FlashWindow( hWnd )(Windows only)
hwg_GetActiveWindow()
hwg_GetInstance(Windows only)
hwg_SetWindowStyle( handle, nStyle )(Windows only)
hwg_GetWindowStyle( handle )(Windows only)
hwg_SetWindowExStyle( handle, nStyle )(Windows only)
hwg_GetWindowExStyle( handle )(Windows only)
hwg_FindWindow( cClassName, cWindowName)(Windows only)
hwg_SetForegroundWindow( handle )(Windows only)
hwg_BringToTop( handle )(Windows only)
hwg_ResetWindowPos( handle )(Windows only)
hwg_UpdateWindow( handle )(Windows only)
hwg_CenterWindow( handle )
hwg_RestoreWindow( handle )
hwg_EnableWindow( handle, lEnable )
hwg_isWindowEnabled( handle )
hwg_HideWindow( handle )
hwg_ShowWindow( handle )
hwg_ProcessMessage( [lMdi] [, nSleep] )
hwg_PeekMessage( hWnd )(Windows only)
hwg_DoEvents()(Windows only)
hwg_SendMessage( handle, nMessage, wParam, lParam )(Windows only)
hwg_PostMessage( handle, nMessage, wParam, lParam )(Windows only)
hwg_SetWindowObject( handle, object )
hwg_GetWindowObject( handle )
hwg_SetWindowText( handle, cTitle )
hwg_GetWindowText( handle )
hwg_SetWindowFont( handle, hFont, l )(Windows only)
hwg_GetLastError()(Windows only)
hwg_isIconic( hWnd )(Windows only)
hwg_isWindowVisible( hWnd )(Windows only)
hwg_ExitProcess()(Windows only)
hwg_WindowSetResize( hWnd, lResizeable )
hwg_SetTopmost( hWnd )
hwg_RemoveTopmost( hWnd )
hwg_ChildWindowFromPoint( hWnd, x, y )(Windows only)
hwg_WindowFromPoint( hWnd, x, y )(Windows only)
hwg_GetFontDialogUnits( hWnd )(Windows only)
hwg_GetWindowPlacement( handle )(Windows only)
hwg_ClearKeyboard()(Windows only)
--- 5.  Controls handling functions.
hwg_SetFocus( handle )
hwg_GetFocus()
hwg_WriteStatus( oWnd, nPart, cText, lRedraw )
hwg_FindParent( hCtrl )
hwg_FindSelf( hCtrl )
hwg_getParentForm( oCtrl )
hwg_MoveWindow( handle, nLeft, nTop, nWidth, nHeight, lRepaint )
hwg_DestroyWindow( handle )
hwg_Createarlist( oBrw, arr )
hwg_CreateList( oBrw, lEditable )
hwg_VScrollPos( oBrw, nType, lEof, nPos )
hwg_HScrollPos( oBrw, nType, lEof, nPos )
hwg_ColumnArBlock()
hwg_ShowProgress( nStep, maxPos, nRange, cTitle, oWnd, x1, y1, width, height )(Windows only)
hwg_UpdateProgressBar( handle )
hwg_SetProgressBar( handle, nPos )
hwg_SetRangeProgressBar( handle, nValue )
hwg_trackbarsetrange( handle, nLow, nHigh )(Windows only)
hwg_SetMonthCalendarDate( handle , dValue )
hwg_GetMonthCalendarDate( handle )
hwg_Setctrlfont( parentHandle, nId, hFont )(Windows only)
hwg_Setctrlfont( handle, hFont )(GTK only)
hwg_AddTooltip( handle, cTooltip )
hwg_DelTooltip( handle )
hwg_SetTooltipTitle( handle, cTooltip )
hwg_SetUpdown( handle, nValue )
hwg_SetRangeUpdown( handle, n1, n2 )
hwg_SetDatePicker( handle, dValue )(Windows only)
hwg_SetDatePickerNull( handle )(Windows only)
hwg_GetDatePicker( handle )(Windows only)
hwg_GetTimePicker( handle )(Windows only)
hwg_AddTab( handle, cName )
hwg_DeleteTab( handle, nPage )
hwg_GetCurrentTab( handle )
hwg_SetCurrentTab( handle, nPage )(GTK only)
hwg_SetTabSize( handle, nWidth, nHeight )(Windows only)
hwg_GetTabHeight( handle )(Windows only)
hwg_SetTabName( handle, nPage, cName )
hwg_CreateImageList( aImages, nWidth, nHeight, nGrow, nFlags )(Windows only)
hwg_DestroyImageList( handle )(Windows only)
hwg_Imagelist_Add( handle, hBitmap )(Windows only)
hwg_Imagelist_AddMasked( handle, hBitmap, nMask )(Windows only)
hwg_ImageList_GetImageCount( handle )(Windows only)
hwg_getParent( handle )
hwg_getAncestor( handle )(Windows only)
hwg_LoadCursor( cursor )
hwg_SetCursor( cursor, hCtrl )
hwg_GetCursor()(Windows only)
hwg_SetTooltipBalloon( lBalloon )(Windows only)
hwg_GetTooltipBalloon()(Windows only)
hwg_SetDlgItemText( parentHandle, nId, cText )(Windows only)
hwg_GetDlgItemText( parentHandle, nId )(Windows only)
hwg_GetEditText( parentHandle, nId )(Windows only)
hwg_CheckDlgButton( parentHandle, nId, lValue )(Windows only)
hwg_isDlgButtonChecked( parentHandle, nId )(Windows only)
hwg_ComboAddString( handle, cText )(Windows only)
hwg_ComboInsertString( handle, nPos, cText )(Windows only)
hwg_ComboSetString( handle, nPos )(Windows only)
hwg_ListboxAddString( handle, cValue )(Windows only)
hwg_ModifyStyle( hWnd, nStyleDel, nStyleAdd )(Windows only)
hwg_re_SetCharFormat( hCtrl, n1, n2, nColor, cName, nHeight, lBold, lItalic, lUnderline, nCharset, lSuperScript/lSubscript, lProtected )(Windows only)
hwg_re_SetDefault( hCtrl, nColor, cName, nHeight, lBold, lItalic, lUnderline, nCharset )(Windows only)
hwg_re_CharFromPos( hEdit, xPos, yPos )(Windows only)
hwg_re_GetTextRange( hEdit, n1, n2 )(Windows only)
hwg_re_GetLine( hEdit, nLine )(Windows only)
hwg_re_InsertText( hEdit, cText )(Windows only)
hwg_re_FindText( hEdit, cFind, nStart, bCase, bWholeWord, bSearchUp )(Windows only)
hwg_re_SetZoom( hEdit, nNum, nDen )(Windows only)
hwg_re_ZoomOff( hEdit )(Windows only)
hwg_re_GetZoom( hEdit, @nNum, @nDen )(Windows only)
hwg_PrintRtf( hEdit, hDC )(Windows only)
hwg_SaveRichedit( hEdit, cFileName )(Windows only)
hwg_LoadRichedit( hEdit, cFileName )(Windows only)
--- 6.  Menu functions.
hwg_DeleteMenuItem( oWnd, nId )
hwg_CheckMenuItem( hWnd, nId, lValue )
hwg_IsCheckedMenuItem( hWnd, nId )
hwg_EnableMenuItem( hWnd, nId, lValue )
hwg_IsEnabledMenuItem( hWnd, nId )
hwg_SetMenuCaption( hWnd, nId, cText )
hwg_GetMenuCaption( hWnd, nId )
hwg_DrawMenuBar( hWnd )
hwg_SetMenuBackColor( hWnd, nColor[, lSubmenus] )
--- 7.  Windows registry.
hwg_RegCreateKey( handle, cKeyName )(Windows only)
hwg_RegOpenKey( handle, cKeyName )(Windows only)
hwg_RegCloseKey( handle )(Windows only)
hwg_RegSetString( handle, cKeyName, cKeyValue )(Windows only)
hwg_RegSetBinary( handle, cKeyName, cBinValue )(Windows only)
hwg_RegGetValue( handle, cKeyName [,nType] )(Windows only)
--- 8.  Miscellaneous functions.
hwg_GetItemByName( arr, cName )
hwg_Version( n )
hwg_WriteLog( cText [, fname] )
hwg_SetDlgKey( [oDlg], nCtrl, nKey, block [, lGlobal] )
hwg_ColorC2N( cColor )
hwg_ColorN2C( nColor )
hwg_ColorN2RGB( nColor [, @nRed, @nGreen, @nBlue] )
hwg_ColorRgb2N( nRed, nGreen, nBlue )
hwg_BmpFromRes( cBmp )
hwg_SetResContainer( cName )
hwg_SetCtrlName( oCtrl, cName )
hwg_RefreshAllGets( oDlg )
hwg_IsCtrlShift( lCtrl, lShift )(Windows only)
hwg_GetSkip( oParent, hCtrl, nSkip )
hwg_SetGetUpdated( oEdit )
hwg_SetColorinFocus( lDef, tColor, bColor )
hwg_Chr( nCode )
hwg_Substr( cString, nPos, nLen )
hwg_Left( cString, nLen )
hwg_Len( cString )
hwg__isUnicode()
hwg_GetPrinters()
hwg_Createfont( fontName, nWidth, nHeight, fnWeight, fdwCharSet, fdwItalic, fdwUnderline, fdwStrikeOut )
hwg_GetFontsList()
hwg_HdSerial( cDrive )(Windows only)
hwg_HdGetSerial( cDrive )(Windows only)
hwg_TxtRect( cTxt, oWin, oFont )
hwg_ErrMsg( oError )
hwg_ShellNotifyIcon( lAdd, hWnd, hIcon, cTooltip )(Windows only)
hwg_ShellModifyIcon( hWnd, hIcon, cTooltip )(Windows only)
hwg_ShellExecute( cFile, cOperation, cParams, cDir, nFlag )
hwg_GetLocaleInfo()(Windows only)
hwg_SetCapture( hWnd )(Windows only)
hwg_ReleaseCapture()(Windows only)
hwg_CopyStringToClipboard( cString )
hwg_GetClipboardText( hWnd )
hwg_GetStockObject( nId )(Windows only)
hwg_LoWord( n )
hwg_HiWord( n )
hwg_BitOr( n1, n2 )
hwg_BitAnd( n1, n2 )
hwg_BitAndInverse( n1, n2 )
hwg_SetBit( n, nBit )
hwg_CheckBit( n, nBit )
hwg_Sin( n )
hwg_Cos( n )
hwg_ClientToScreen( handle, x1, y1 )(Windows only)
hwg_ScreenToClient( handle, x1, y1 )(Windows only)
hwg_GetCursorPos()(Windows only)
hwg_SetCursorPos( x, y )(Windows only)
hwg_WinExec( cCommand, nFlag )(Windows only)
hwg_GetKeyboardState( nState )
hwg_Getkeystate( nKey )(Windows only)
hwg_GetKeyNameText( nCode )(Windows only)
hwg_Pts2Pix( nPoints [,hDC] )(Windows only)
hwg_GetWindowsDir()(Windows only)
hwg_GetSystemDir()(Windows only)
hwg_GetTempDir()(Windows only)
hwg_Postquitmessage( nExitCode )(Windows only)
hwg_GetDesktopWidth()
hwg_GetDesktopHeight()
hwg_GetNextDlgTabItem ( parentHandle, ::handle, lNext )(Windows only)
hwg_Sleep( n )
hwg_SetScrollInfo( handle, nType, nRedraw, nHScrollPos , nPage, nHscrollMax )(Windows only)
hwg_GetScrollRange( handle, nType, @minPos, @maxPos )(Windows only)
hwg_SetScrollRange( handle, nType, minPos, maxPos )(Windows only)
hwg_GetScrollPos( handle, nType )(Windows only)
hwg_SetScrollPos( handle, nType, nPos )(Windows only)
hwg_ShowScrollBar( handle, nType, lShow )(Windows only)
hwg_ScrollWindow( handle, n1, n2 )(Windows only)
hwg_isCapslockActive()(Windows only)
hwg_isNumlockActive()(Windows only)
hwg_isScrolllockActive()(Windows only)
hwg_CreateDirectory( cDirName )(Windows only)
hwg_RemoveDirectory( cDirName )(Windows only)
hwg_SetCurrentDirectory( cDirName )(Windows only)
hwg_DeleteFile( cFileName )(Windows only)
hwg_GetFileAttributes( cFileName )(Windows only)
hwg_SetFileAttributes( cFileName, nAttr )(Windows only)
hwg_GetComputerName()(Windows only)
hwg_GetUserName( [@nLength] )(Windows only)
hwg_PtrToUlong( ptr )
hwg_Isptreq( handle1, handle2 )
hwg_OutputDebugString( cText )(Windows only)
hwg_Getsystemmetrics( nCode )(Windows only)
hwg_GetBackBrush( handle )(Windows only)
hwg_LastKey()(Windows only)
hwg_isWin7()(Windows only)
hwg_ProcessRun( cCommand )(Windows only)
hwg_RunConsoleApp( cCommand [, cOutFile] )
hwg_RunApp( cCommand [, nFlag] [, lAsync] )
hwg_onAnchor( oWnd, wold, hold, wnew, hnew )