- SYNOPSIS:
DLLSetWindowRgn(handleWnd,handleRgn,bRedraw)
- DESCRIPTION:
The DLLSetWindowRgn function sets the window region of a window. The
window region determines the area within the window where the operating
system permits drawing. The operating system does not display any portion
of a window that lies outside of the window region. You will be able
to "click-through" non region areas of a window.
NOTE: You can remove the region from a window by calling the this command
again with a handleRgn = 0 and bRedraw = False
- PARAMETERS:
handleWnd |
Handle to the window whose window region
is to be set. |
handleRgn |
Handle to a region. The function sets
the window region of the window to this region.
If handleRgn is NULL, the function sets the window region to NULL.
|
bRedraw |
Boolean value that specifies whether
the operating system redraws the window after setting the window
region. If bRedraw is TRUE, the operating system does so; otherwise,
it does not.
Typically, you set bRedraw to TRUE if the window is visible. |
- RETURNS:
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero.
- EXAMPLE:
example028.bb
- BUGS:
None Known.
Return To Index
Problems with this command or bugs? EMail me at: mailto:loki.sd@blueyonder.co.uk
|