Download demo project - 41
Kb
Download source - 4
Kb
This is a flat edit control that implements all styles supported by
the standard edit control.
To use this class, simple include the EditFlat.cpp
and
EditFlat.h
files in your project, and replace your CEdit
objects with CEditFlat
objects.
There are two extra member functions that allow you to specify sounds to
be played on certain events:
BOOL SetSounds (LPCTSTR pStrActivateSound, LPCTSTR pStrVerticalSound = NULL,
LPCTSTR pStrHorizontalSound = NULL);
BOOL SetResourceHandle (HINSTANCE hInstance);