schemes.h
资源名称:shell.rar [点击查看]
上传用户:xhy777
上传日期:2007-02-14
资源大小:24088k
文件大小:1k
源码类别:
系统编程
开发平台:
Visual C++
- #ifndef _INC_SCHEMES_H
- #define _INC_SCHEMES_H
- // HACK - THESE VALUES ARE HARD CODED
- #define COLOR_MAX_95_NT4 25
- #define COLOR_MAX_97_NT5 29
- // Scheme data used locally by this app - NOTE: This structure
- // does NOT use or need the A and W forms for its members. The other schemedata's
- // MUST use the A and W forms since that's how they are stored in the registry
- typedef struct {
- int nNameStringId;
- int nColorsUsed;
- COLORREF rgb[COLOR_MAX_97_NT5];
- } SCHEMEDATALOCAL;
- struct WIZSCHEME
- {
- COLORREF m_rgb[COLOR_MAX_97_NT5];
- NONCLIENTMETRICS m_ncm;
- FILTERKEYS m_FILTERKEYS;
- MOUSEKEYS m_MOUSEKEYS;
- SERIALKEYS m_SERIALKEYS;
- STICKYKEYS m_STICKYKEYS;
- TOGGLEKEYS m_TOGGLEKEYS;
- SOUNDSENTRY m_SOUNDSENTRY;
- ACCESSTIMEOUT m_ACCESSTIMEOUT;
- HIGHCONTRAST m_HIGHCONTRAST;
- BOOL m_bShowSounds;
- BOOL m_bShowExtraKeyboardHelp;
- BOOL m_bSwapMouseButtons;
- int m_nIconSize;
- };
- int GetSchemeCount();
- void GetSchemeName(int nIndex, LPTSTR lpszName, int nLen);
- SCHEMEDATALOCAL &GetScheme(int nIndex);
- ///////////////////////////////////////////
- // Stuff for Fonts
- int GetFontCount();
- void GetFontLogFont(int nIndex, LOGFONT *pLogFont);
- #endif // _INC_SCHEMES_H
English
