Ignore:
Timestamp:
Oct 1, 2001, 12:24:42 AM (24 years ago)
Author:
sandervl
Message:

added visible region callback function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32wbase.h

    r6783 r6902  
    1 /* $Id: win32wbase.h,v 1.126 2001-09-22 18:21:00 sandervl Exp $ */
     1/* $Id: win32wbase.h,v 1.127 2001-09-30 22:24:42 sandervl Exp $ */
    22/*
    33 * Win32 Window Base Class for OS/2
     
    2020#include <gen_object.h>
    2121#include <win32wndchild.h>
     22#include <winuser32.h>
    2223#include <winres.h>
    2324#include <scroll.h>
     
    280281         void   SetVisibleRegionChanged(BOOL changed) { fVisibleRegionChanged = changed; };
    281282         BOOL   IsVisibleRegionChanged()              { return fVisibleRegionChanged; };
    282 
     283         BOOL   setVisibleRgnNotifyProc(VISRGN_NOTIFY_PROC lpNotifyProc, DWORD dwUserData)
     284         {
     285             lpVisRgnNotifyProc  = lpNotifyProc;
     286             dwVisRgnNotifyParam = dwUserData;
     287             return TRUE;
     288         }
     289         void   callVisibleRgnNotifyProc(BOOL fDrawingAllowed)
     290         {
     291             if(lpVisRgnNotifyProc) {
     292                 lpVisRgnNotifyProc(getWindowHandle(), fDrawingAllowed, dwVisRgnNotifyParam);
     293             }
     294         }
    283295         int    GetWindowTextLength(BOOL fUnicode);
    284296         int    GetWindowTextLengthA() { return GetWindowTextLength(FALSE); };
     
    430442
    431443    PROPERTY   *propertyList;
     444
     445VISRGN_NOTIFY_PROC lpVisRgnNotifyProc;
     446        DWORD   dwVisRgnNotifyParam;
    432447       
    433448        HANDLE  hTaskList; //PM specific (switchentry handle)
Note: See TracChangeset for help on using the changeset viewer.