
 1. About
 
 HXGUIHLP is a dll to support running Win32 GUI apps with HX.
 It is loaded automatically by DPMILD32 if a Win32 GUI app is to be
 launched. Its purpose is
 
  - to set the screen in graphics mode
  - optionally register a hotkey to display a menu
  - optionally load some fonts 
  - route some parameters found in hxguihlp.ini to VESA32.DLL
 
 The hotkey to display the menu is the APPS key. This may be changed
 in hxguihlp.ini.
 
 The menu which will be displayed is:
 
    Ŀ
      F3: Maximize main window         
      F4: Send close request to window 
      F5: Save screen in BMP file      
      F6: Save main window in BMP file 
      F9: DOS shell                    
     F12: Terminate application        
     ESC: Cancel                       
    
 

 2. History

 05/27/2011: V2.5
 
  "Maximize main window" added to menu.

 01/20/2009: V2.4
 
  source assembled with JWasm.
 
 07/15/2007: V2.3
 
  if stderr is not redirected to a file, but stdout is, redirect
   stderr to stdout.
  bugfix: the "temporary" filename created to save bitmaps might have
   contained a "\\" instead of just "\".
 
 03/15/2007: V2.2
 
  bugfix: bitmap saved into a file might have been top-down, 
   that is, the height value is negative. Many viewer programs have
   problems with such files.
  bugfix: CreateCompatibleBitmap was called with a memory context
   as parameter, which isn't a good idea.
  new option "DirectDACAccess" to access DAC directly instead of using
   VESA functions.
 
 10/15/2006: V2.1
 
  load optional additional fonts in [fonts] section
  prevent thread switches when the menu is displayed
 
 08/15/2006: V2.0
 
  new option "menu" in hxguihlp.ini to control how to enter
   the hxguihlp menu.
  as default the APPS key will now show the menu.
 
 07/15/2006: V1.9
 
  flush stderr file buffer before opening a DOS shell.
 
 03/04/2006: V1.8
 
  bugfix: content of stderr may not have been displayed on exit
   if file share was active.
  value for stderr option goes thru ExpandEnvironmentStrings()
  set palette when displaying the menu
  FlipStatus option added
  pause sound modified so it "directly" speaks with the SB code.
 
 02/06/2006: V1.7
 
  pause wave sound if a DOS shell is launched
  bugfix: display menu even if a DirectDraw flipping surface is active
  bugfix: saving 8-bit bitmaps didn't save the color table.
  bugfix: size of bitmap in BITMAPFILEHEADER was wrong.
    
 01/21/2006: V1.6
 
  added SetVesa32Options call
 
 01/02/2006: V1.5
 
  saving/restoring video state a bit more fool-proved.
 
 12/07/2005: V1.4
 
  stderr file displayed on console after previous video
   mode has been restored and file is not too big.
   
 11/22/2005: V1.3
 
  stderr log file deleted at exit if size == 0
 
 11/12/2005: V1.2
 
  bugfix: mouse state wasn't saved/restored correctly
   when a DOS shell was opened/closed.
   
 11/01/2005: V1.1
 
  Some bugfixes. New entries in [Display]: xmax, ymax
  New entries in [options]: stderr
 
 10/24/2005: V1.0
 
 
 3. Copyright
 
 HXGUIHLP is part of HX DOS extender. This extender is freeware.
 View HXRT.TXT or HXGUI.TXT for licence details.
 
