| 
     
      
      
      From: <lf...@us...> - 2012-12-06 12:17:40
      
     
   | 
Revision: 1945
          http://sourceforge.net/p/hwgui/code/1945
Author:   lfbasso
Date:     2012-12-06 12:17:38 +0000 (Thu, 06 Dec 2012)
Log Message:
-----------
2012-12-06 10:25 UTC-0300 Luis Fernando Basso <lfbasso at via-rs.net>
   * include/guilib.ch
     * #xcommand @ <x>,<y> GET COMBOBOXEX [ <oCombo> VAR ] <vari> ;
	   + [ IMAGES <aImages> ]       ;
   * source/misc.c
     * HB_FUNC( GETSCROLLRANGE
	   ! changed return ( MaxPos - MinPos )
   * source/drawwidg.prg
     * CLASS HBitmap
       * METHOD AddResource()
         ! minor fix in condition shared bitmaps
   * source/xml/hxmldoc.prg
     * METHOD Read
	   ! added to property ::nLastErr := 0 because the return an error occurred due to having null value
   * source/hcombo.prg
     * CLASS HCheckComboBox INHERIT HComboBox
	   + DATA lCheck
       + DATA nCurPos  // current value combobox
       + DATA aHimages, aImages
	   + METHOD EnabledItem( nItem, lEnable )
       + METHOD SkipItems( nNav )
	   * METHOD New( )
	     + added new parameter aImages
       * METHOD INIT()
	     ! load images if necessary
       * METHOD onEvent	
         + msg = WM_MOUSEWHEEL	   
		 + msg = WM_COMMAND
         + msg = WM_KEYUP
		 ! code necessary to skip disabled items 
       * METHOD Paint( lpDis ) 
	     ! added code to display items disabled and line separator
       + METHOD EnabledItem( nItem, lEnabled ) 		 
	     ! method to enable or disable items in combo, second parameter = .T. OR .F.
		   The COMBOBOXEx can work in two ways, with the way current CHECKBOX or how the ComboBox with items that may have images.
		   add CLAUSULA IMAGES same {},  the ComboboxEX works in the same way that the combobox without the CHECKBOX
		   Two special caracters define new features:
		   "\-" = draw one separator line  between items
		   items beginning with "\]" DiSABLED teh item in COMBOBOX
Modified Paths:
--------------
    trunk/hwgui/Changelog
    trunk/hwgui/include/guilib.ch
    trunk/hwgui/source/drawwidg.prg
    trunk/hwgui/source/hcombo.prg
    trunk/hwgui/source/misc.c
    trunk/hwgui/source/xml/hxmldoc.prg
 |