共用方式為


CMFCDesktopAlertWnd::SetTransparency

Sets the transparency level of the popup window.

void SetTransparency(
    BYTE nTransparency 
);

Parameters

  • [in] nTransparency
    Specifies the transparency level. This value must be between 0 and 255, inclusive. The greater the value, the more opaque the window.

Remarks

Call this function to set the transparency level of the popup window.

Requirements

Header: afxDesktopAlertWnd.h

See Also

Reference

CMFCDesktopAlertWnd Class

Hierarchy Chart