comparison os2/dw.c @ 1566:035bc006afbe

Experimental change... halfway between min and max for tree controls.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 20 Jan 2012 18:47:10 +0000
parents 4a9c574d5c17
children 91d3586cf2a4
comparison
equal deleted inserted replaced
1565:007ed833ac79 1566:035bc006afbe
4786 thisheight = _DW_SCROLLED_MAX_HEIGHT; 4786 thisheight = _DW_SCROLLED_MAX_HEIGHT;
4787 } 4787 }
4788 /* Container and Tree */ 4788 /* Container and Tree */
4789 else if(strncmp(tmpbuf, "#37", 4)==0) 4789 else if(strncmp(tmpbuf, "#37", 4)==0)
4790 { 4790 {
4791 thiswidth = _DW_SCROLLED_MAX_WIDTH; 4791 thiswidth = (int)((_DW_SCROLLED_MAX_WIDTH + _DW_SCROLLED_MIN_WIDTH)/2);
4792 thisheight = _DW_SCROLLED_MAX_HEIGHT; 4792 thisheight = (int)((_DW_SCROLLED_MAX_HEIGHT + _DW_SCROLLED_MIN_HEIGHT)/2);
4793 } 4793 }
4794 /* Button */ 4794 /* Button */
4795 else if(strncmp(tmpbuf, "#3", 3)==0) 4795 else if(strncmp(tmpbuf, "#3", 3)==0)
4796 { 4796 {
4797 ULONG style = WinQueryWindowULong(handle, QWL_STYLE); 4797 ULONG style = WinQueryWindowULong(handle, QWL_STYLE);