Ignore:
Timestamp:
Nov 14, 1999, 5:35:58 PM (26 years ago)
Author:
sandervl
Message:

createControls & OSLibEnableWindow bugfixes + LookupIconIdFromDirectory(Ex) port)

File:
1 edited

Legend:

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

    r1704 r1739  
    1 /* $Id: oslibwin.cpp,v 1.44 1999-11-11 13:17:29 sandervl Exp $ */
     1/* $Id: oslibwin.cpp,v 1.45 1999-11-14 16:35:54 sandervl Exp $ */
    22/*
    33 * Window API wrappers for OS/2
     
    433433BOOL OSLibWinEnableWindow(HWND hwnd, BOOL fEnable)
    434434{
    435   return WinEnableWindow(hwnd, fEnable);
     435 BOOL rc;
     436 HWND hwndClient;
     437
     438  rc = WinEnableWindow(hwnd, fEnable);
     439  hwndClient = WinWindowFromID(hwnd, FID_CLIENT);
     440  if(hwndClient) {
     441        WinEnableWindow(hwndClient, fEnable);
     442  }
     443  return rc;
    436444}
    437445//******************************************************************************
Note: See TracChangeset for help on using the changeset viewer.