08-29-2007, 08:57 PM
Your DEX_TBCustomDraw is correct. Maybe button ids are different in your app, but it works well if called from DEX_Dialog, when visual styles are disabled (SetWindowTheme called).
Don't know, see toolbar button states in MSDN.
Quote:and how to make the active button look like been pushed
Don't know, see toolbar button states in MSDN.