DrawThemeParentBackground function
Return to Introduction  Previous page  Next page
Unit
acXPThemes  

Declaration
function DrawThemeParentBackground(Wnd: hWnd; DC: hDC; prc: PRect): hResult;  

Description
The DrawThemeParentBackground function used by partially-transparent or alpha-blended child controls to draw the part of their parent that they appear in front of.  
 
Paramters  
WndHandle of the child control;  
DCGraphic descriptor of the child control;  
prcOptional TRect structure that defines the area to be drawn (CHILD coordinates).  
 
Function returns S_OK if successful, or an error value otherwise.  

See also
IsXPThemeEnabled, OpenThemeData, CloseThemeData, DrawThemeBackground and DrawThemedControl functions.