MCIWNDM_REALIZE message
The MCIWNDM_REALIZE message realizes the palette currently used by the MCI device in an MCIWnd window. This macro is defined with the MCIWNDM_REALIZE message. You can send this message explicitly or by using the MCIWndRealize macro.
MCIWNDM_REALIZE
wParam = (WPARAM) (BOOL) fBkgnd;
lParam = 0;
Parameters
-
fBkgnd
-
Background flag. Specify TRUE for this parameter if the window is a background application.
Return Value
Returns zero if successful or an error otherwise.
Remarks
MCIWNDM_REALIZE uses the palette of the MCI device and calls the RealizePalette function. If your application explicitly handles the WM_PALETTECHANGED and WM_QUERYNEWPALETTE messages, you should use this message in your application instead of using RealizePalette. If the body of one of these message handlers contains only RealizePalette, forward the message to the MCIWnd window, which will automatically realize the palette.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 2000 Professional [desktop apps only] |
Minimum supported server |
Windows 2000 Server [desktop apps only] |
Header |
|