CEditFlat - flat style edit control






2.56/5 (6 votes)
Nov 26, 1999

76801

2792
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:
// LPCTSTR pStrActivateSound = sound when mouse on control activated // LPCTSTR pStrVerticalSound = sound when vertical scroll clicked // LPCTSTR pStrHorizontalSound = sound when horizontal scroll clicked BOOL SetSounds (LPCTSTR pStrActivateSound, LPCTSTR pStrVerticalSound = NULL, LPCTSTR pStrHorizontalSound = NULL); // Set up resource instance (sound will be load from this resource) // if function was not called, default instance is used BOOL SetResourceHandle (HINSTANCE hInstance);