Changeset 6902 for trunk/src/user32/dcrgn.cpp
- Timestamp:
- Oct 1, 2001, 12:24:42 AM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/dcrgn.cpp
r5935 r6902 1 /* $Id: dcrgn.cpp,v 1. 6 2001-06-09 14:50:17sandervl Exp $ */1 /* $Id: dcrgn.cpp,v 1.7 2001-09-30 22:24:41 sandervl Exp $ */ 2 2 3 3 /* … … 245 245 } 246 246 //****************************************************************************** 247 //****************************************************************************** 247 // WinSetVisibleRgnNotifyProc 248 // To set a notification procedure for visible region changes of a specific window. 249 // The procedure will be called when a WM_VRNENABLED message is posted 250 // with ffVisRgnChanged set to TRUE 251 // 252 // Parameters: 253 // HWND hwnd window handle 254 // VISRGN_NOTIFY_PROC lpNotifyProc notification proc or NULL to clear proc 255 // DWORD dwUserData value used as 3rd parameter during 256 // visible region callback 257 // 258 // NOTE: Internal API 259 //****************************************************************************** 260 BOOL WIN32API WinSetVisibleRgnNotifyProc(HWND hwnd, VISRGN_NOTIFY_PROC lpNotifyProc, 261 DWORD dwUserData) 262 { 263 Win32BaseWindow *window; 264 265 window = Win32BaseWindow::GetWindowFromHandle(hwnd); 266 if(!window) { 267 dprintf(("WinSetVisibleRgnNotifyProc, window %x not found", hwnd)); 268 return FALSE; 269 } 270 BOOL ret = window->setVisibleRgnNotifyProc(lpNotifyProc, dwUserData); 271 RELEASE_WNDOBJ(window); 272 return ret; 273 } 274 //****************************************************************************** 275 //******************************************************************************
Note:
See TracChangeset
for help on using the changeset viewer.