Home
Theme Engine Online Help Prev Page Prev Page
Symbol Reference
Classes
TTeAdapter
TTeDefaultForm
TTeDefaultForm.Active
TTeDefaultForm.Animation
TTeDefaultForm.Blending
TTeDefaultForm.BorderIcons
TTeDefaultForm.BorderStyle
TTeDefaultForm.Dragging
TTeDefaultForm.Gravitation
TTeDefaultForm.MenuBar
TTeDefaultForm.MinimizeApplication
TTeDefaultForm.Performance
TTeDefaultForm.Shadow
TTeDefaultForm.SystemMenuOptions
TTeDefaultForm.TrayMenuLink
TTeDefaultForm.TrayMenuOptions
TTeDefaultForm.WindowMenu
TTeDefaultForm.WindowState
TTeForm
TTeForm.ThemeLink
TTeForm.ThemeObject
TTeManager
TTeManager.FontChangeOptions
TTeMDIChild
TTeMessage
TTeMessage.ShowButtonGlyph
TTeMessage.ShowHints
TTeMessage.ShowIconImage
TTeMessage.InputBox
TTeMessage.InputQuery
TTeMessage.MessageDlg
TTeMessage.MessageDlgPos
TTeMessage.MessageDlgPosHelp
TTeMessage.ShowMessage
TTeMessage.ShowMessageFmt
TTeMessage.ShowMessagePos
TTeThemeEngine
TTeThemeEngine.DeltaBrightness
TTeThemeEngine.DeltaHue
TTeThemeEngine.OnThemeChanged
TTeThemeEngine.ThemeBuilding
TTeThemeEngine.ThemeFile
TTeThemeEngine.ThemeIndex
TTeThemeEngine.ThemeList
TTeThemeLink
TTeThemeLink.ThemeBuilding
TTeThemeLink.ThemeFile
TTeThemeLink.ThemeIndex
TTeThemeLink.ThemeList
TTeThemeList
TTeThemeList.Themes
TTeThemePreview
TTeThemePreview.ThemeLink
TTeThemeStream
TTeThemeStream.ThemeStore
TTeThemeSwitcher
TTeThemeSwitcher.ShowBrowse
TTeThemeSwitcher.ShowNoTheme
TTeThemeSwitcher.ShowSeparator
TTeThemeSwitcher.TextBrowse
TTeThemeSwitcher.TextNoTheme
TTeThemeSwitcher.ThemeEngine
Functions
ChangeTheme
DrawControlBackground
GetDialogFilter
IsThemeAvailable
LoadThemeFromFile
LoadThemeFromStream
ReleaseTheme
RepaintThemedControls
SaveThemeToFile
SaveThemeToStream
Introduction
Features
Version History
License
Overview
Order Information
Order
Technical Support
Contact
Newsgroups
Technical Support
Usage
Faq
Getting Started
Install
ThemeEngine's Themes
Available themes
Create new building theme
Third-Party ThemeEngine using
Using TTeTheme
Using te_uxtheme
ThemeEngine messages
ThemeEngine Help
ThemeEngine messages
ThemeEngine provides one message for interaction of various components and the cursor itself. Each component which uses the themes is to process this message in order to display itself correctly and to change the necessary parameters and repaint at changing of the active theme. For your component to be able to receive ThemeEngine messages you are to register its AddThemeNotification procedure which is being used. The registration is usually made in the designer. It is necessary to call the RemoveThemeNotification procedure before the destruction of the component (usually in the destructor).
SNM_THEMEMESSAGE
lParam is not used in the current version, wParam has one of the following values:

  • SMP_CHANGETHEME - the current theme has changed

  • SMP_BEFORECHANGE - is sent before changing the current theme

  • SMP_AFTERCHANGE - is sent after changing the current theme

  • SMP_APPLYTHEME - is sent when the theme is active, and application was in the non-theme mode.

  • SMP_REMOVETHEME - is sent when the active theme is deleted and the application is switched off to the non-theme mode.

  • SMP_REPAINT - is sent if it is necessary to repaint all the components, for example, by calling RepaintThemedControls
Group
Links

Copyright (c) 1997-2006. All rights reserved.