Click here to Skip to main content
Licence 
First Posted 25 Nov 1999
Views 64,653
Bookmarked 28 times

CEditFlat - flat style edit control

By | 25 Nov 1999 | Article
  • Download demo project - 41 Kb
  • Download source - 4 Kb
  • Sample Image

    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);
    

    License

    This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

    A list of licenses authors might use can be found here

    About the Author

    Avtukhov Roman



    United States United States

    Member



    Sign Up to vote   Poor Excellent
    Add a reason or comment to your vote: x
    Votes of 3 or less require a comment

    Comments and Discussions

     
    You must Sign In to use this message board. (secure sign-in)
     
    Search this forum  
     FAQ
        Noise  Layout  Per page   
      Refresh
    GeneralGot a lot of ressource leak.... Pinmemberselecta6:54 25 Mar '03  

    General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

    Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

    Permalink | Advertise | Privacy | Mobile
    Web02 | 2.5.120517.1 | Last Updated 26 Nov 1999
    Article Copyright 1999 by Avtukhov Roman
    Everything else Copyright © CodeProject, 1999-2012
    Terms of Use
    Layout: fixed | fluid