|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
ExcludeUpdateRgn
The ExcludeUpdateRgn function prevents drawing within invalid areas of a window by excluding an
updated region in the window from a clipping region.
int ExcludeUpdateRgn(
HDC hDC,
| // handle to device context
| HWND hWnd
| // handle to window
| );
|
|
Parameters
hDC
Identifies the device context associated with the clipping region.
hWnd
Identifies the window to update.
Return Values
The return value specifies the complexity of the excluded region; it can be
any one of the following values:
Value
| Meaning
| COMPLEXREGION
| Region consists of more than one rectangle.
| ERROR
| An error occurred.
| NULLREGION
| Region is empty.
| SIMPLEREGION
| Region is a single rectangle.
|
See Also
BeginPaint, GetUpdateRect, GetUpdateRgn, UpdateWindow
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|