This is a WTL implementation of XP Button and Edit Box Controls. The XP Button is actually a WTL port of an
XP button. The Edit Box is painted in XP style by handling the
WM_NCPAINT message. It is a very simple task.
How to use it
To add the XP Button and Edit box in your control, add a reference to
CEditXP to you Dialog class.
Add the following reflection macro to your main message map:
And then in the
Don't forget to add
to your Dialog's header file.
Now compile the code and enjoy it.