PIMEStyleFromAttr fonction)
Récupère les styles pour un attribut donné.
Syntaxe
const IMESTYLE* __cdecl PIMEStyleFromAttr(
_In_ const UINT attr
);
Paramètres
-
attr [ dans]
-
Ce paramètre peut prendre les valeurs suivantes.
-
IMESATTR _ FIXEDCONVERTED (5)
-
IMESATTR _ ENTRÉE (0)
-
IMESATTR _ _Erreur d’entrée (4)
-
IMESATTR _ MAX (5)
-
IMESATTR _ MIN (0)
-
IMESATTR _ CIBLE _ convertie (1)
-
IMESATTR _ _NOTCONVERTED cible (4)
-
Valeur retournée
Retourne un pointeur vers une structure IMESTYLE représentant les paramètres de couleur et de non-couleur.
Notes
Cette fonction n’a pas de bibliothèque d’importation ou de fichier d’en-tête associé ; vous devez l’appeler à l’aide des fonctions LoadLibrary et GetProcAddress .
La structure IMESTYLE est définie comme suit :
typedef struct {
union {
GRFSTY grfsty;
struct {
UINT fBold:1;
UINT fItalic:1;
UINT fUl:1;
UINT idUl:(sizeof(UINT) * 8 - 3);
};
};
union {
IMECOLORSTY colorstyText;
struct {
UINT colorIdText;
union {
COLORREF rgbText;
UINT colorWinText;
UINT colorSpecText;
UINT colorFundText;
};
};
};
union {
IMECOLORSTY colorstyBack;
struct {
UINT colorIdBack;
union {
COLORREF rgbBack;
UINT colorWinBack;
UINT colorSpecBack;
UINT colorFundBack;
};
};
};
union {
IMECOLORSTY colorstyUl;
struct {
UINT colorIdUl;
union {
COLORREF rgbUl;
UINT colorWinUl;
UINT colorSpecUl;
UINT colorFundUl;
};
};
};
} IMESTYLE;
Configuration requise
| Condition requise | Valeur |
|---|---|
| DLL |
|