SetGadgetFill specifies an optional brush to fill the Gadget's background with when drawing. The background will be filled before the Gadget is given the GM_PAINT message to draw. BOOL SetGadgetFill( HGADGET hgadChange, // Gadget to change HBRUSH hbrFill, // Brush to fill with or NULL to remove BYTE bAlpha, // Alpha level to apply brush int w, // brush width int h // brush height ); Parameters
Return ValuesFill was successfully set. See AlsoUtilDrawBlendRect, GM_PAINT |
Build on Thursday, March 16, 2000
|