共用方式為


UI_PKEY_FontProperties_BackgroundColorType

識別UI_PKEY_FontProperties_BackgroundColorType屬性。

propertyDescription
   name = UI_PKEY_FontProperties_BackgroundColorType
   shellPKey = UI_PKEY_FontProperties_BackgroundColorType
   formatID = 00000311-7363-696e-8441798acf5aebb7
   propID = 311
   typeInfo
      type = UI_SWATCHCOLORTYPE

備註

應用程式會使用UI_PKEY_FontProperties_BackgroundColorType搭配UI_PKEY_FontProperties_BackgroundColor來查詢文字醒目提示色彩設定。

屬性值來自 UI_SWATCHCOLORTYPE 列舉。

預設值是 UI_SWATCHCOLORTYPE_RGB

下表描述屬性值。

屬性 說明
UI_SWATCHCOLORTYPE_NOCOLOR 應用程式應該查詢適當的系統計量,以取得 GetSysColor(COLOR_WINDOW)擷取的目前 Windows 主題 視窗背景色彩
UI_SWATCHCOLORTYPE_AUTOMATIC FontControl 不支援
UI_SWATCHCOLORTYPE_RGB 應用程式應該查詢 色彩值的UI_PKEY_FontProperties_BackgroundColor 。 UI_PKEY_FontProperties_BackgroundColor的色彩值會顯示在 [文字醒目提示色彩] 按鈕上,並在 [文字醒目提示色彩庫] 中選取。

當在 FontControl Text 醒目提示色彩庫中選取色彩色板時,UI_PKEY_FontProperties_BackgroundColorType會傳遞至 IUICommandHandler::Execute 回呼方法。

注意

強烈建議應用程式只設定初始 文字醒目提示色彩 值,而不會在檔內重新定位游標時重新設定此值。 應該保留最後一個選取專案,以避免需要重新選取所需的色彩。

字型控件屬性

UI_SWATCHCOLORTYPE

字型控件