Changeset 7020 for trunk/src


Ignore:
Timestamp:
Oct 11, 2001, 7:05:02 PM (24 years ago)
Author:
sandervl
Message:

forward wm_syscommand to parent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/scroll.cpp

    r7018 r7020  
    1 /* $Id: scroll.cpp,v 1.43 2001-10-11 15:16:44 sandervl Exp $ */
     1/* $Id: scroll.cpp,v 1.44 2001-10-11 17:05:02 sandervl Exp $ */
    22/*
    33 * Scrollbar control
     
    11801180    case WM_ENABLE:
    11811181      return SCROLL_Enable(hwnd, wParam);
     1182
     1183    case WM_SYSCOMMAND:
     1184      //Not entirely sure this is 100% correct, but it seems the logical thing to do
     1185      //(for scrollbar control windows with the size grip style)
     1186      //Might need to send it to top parent
     1187      return SendMessageA(GetParent(hwnd), message, wParam, lParam);
    11821188#endif
    11831189
Note: See TracChangeset for help on using the changeset viewer.