Changeset 28

Show
Ignore:
Timestamp:
02/20/08 01:42:05 (6 months ago)
Author:
Chris Miller
Message:

Minor changes.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/win32/dfl/button.d

    r18 r28  
    241241            { 
    242242                select(); 
     243                //Application.doEvents(); // ? 
    243244                //performClick(); 
    244245                onClick(EventArgs.empty); 
  • trunk/win32/dfl/form.d

    r27 r28  
    25352535                if(msg.wParam) 
    25362536                { 
    2537                     if(!GetFocus()) 
    2538                         SetFocus(msg.hWnd); 
     2537                    if(GetActiveWindow() == msg.hWnd) 
     2538                    { 
     2539                        if(!GetFocus()) 
     2540                            SetFocus(msg.hWnd); 
     2541                    } 
    25392542                } 
    25402543                break; 
  • trunk/win32/dfl/panel.d

    r16 r28  
    5252    this() 
    5353    { 
    54         ctrlStyle |= ControlStyles.SELECTABLE | ControlStyles.CONTAINER_CONTROL; 
     54        //ctrlStyle |= ControlStyles.SELECTABLE | ControlStyles.CONTAINER_CONTROL; 
     55        ctrlStyle |= ControlStyles.CONTAINER_CONTROL; 
    5556        /+ wstyle |= WS_TABSTOP; +/ // Should WS_TABSTOP be set? 
    5657        //wexstyle |= WS_EX_CONTROLPARENT; // Allow tabbing through children. ?