|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| gdi32.lib
| Header File
| wingdi.h
| Unicode
| No
| Platform Notes
| Windows 95: int == 16 bits
|
|
|
UnrealizeObject
The
UnrealizeObject function resets a logical palette. It directs the system to realize the
palette as though it had not previously been realized. The next time the application
calls the
RealizePalette function for the specified palette, the system completely remaps the logical
palette to the system palette.
If
hgdiobj is a brush,
UnrealizeObject does nothing, and the function returns TRUE. Use
SetBrushOrgEx to set the origin of a brush.
BOOL UnrealizeObject(
HGDIOBJ hgdiobj
| // logical palette handle
|
);
|
|
Parameters
hgdiobj
Identifies the logical palette to be reset.
Return Values
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error
information, call
GetLastError.
Remarks
The
UnrealizeObject function should not be used with stock objects. The default palette, obtained
by calling
GetStockObject(DEFAULT_PALETTE), is a stock object.
A palette identified by
hgdiobj can be the currently selected palette of a device context.
See Also
GetStockObject,
RealizePalette,
SetBrushOrgEx
- Software for developers
-
Delphi Components
.Net Components
Software for Android Developers
- More information resources
-
MegaDetailed.Net
Unix Manual Pages
Delphi Examples
- Databases for Amazon shops developers
-
Amazon Categories Database
Browse Nodes Database