Click here to Skip to main content
15,881,791 members
Articles / Programming Languages / C#
Article

Extended Use of .NET RichControl Class - C# CLabel 1.0beta

Rate me:
Please Sign up or sign in to vote.
1.04/5 (17 votes)
20 Sep 2000 231.8K   273   24   28
A fully stocked owner drawn RichControl class
  • Download demo executable and project - 12 Kb (v1.0beta)
  • Download CLabel source - 4 Kb (v1.0beta)
  • Ever wanted a static control that behaved like a Visual Basic label control? Well this could be just the thing you might be looking for. This control was first posted as an CStatic derived class in my article Extended Use of the CStatic Class. The code in that article has been rewritten in C# using the .NET framework

    See the original article for the programming API. The main differences are that all COLORREF parameters are now Color's, CString's become String's, and BOOL's become bool's.

    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


    Written By
    Software Developer (Senior) Software Kinetics
    United Kingdom United Kingdom




    Software Kinetics
    are experts in developing customised and bespoke applications and have expertise in the development of desktop, mobile and internet applications on Windows.


    We specialise in:

    • User Interface Design
    • Desktop Development
    • Windows Phone Development
    • Windows Presentation Framework
    • Windows Forms
    • Windows Communication Framework
    • Windows Services
    • Network Applications
    • Database Applications
    • Web Development
    • Web Services
    • Silverlight
    • ASP.net


    Visit Software Kinetics

    Comments and Discussions

     
    GeneralMy vote of 1 Pin
    Sheetal_Joshi8-Dec-09 6:04
    Sheetal_Joshi8-Dec-09 6:04 
    GeneralMy vote of 1 Pin
    Ryleigh27-Mar-09 7:38
    Ryleigh27-Mar-09 7:38 
    GeneralRe: My vote of 1 Pin
    NormDroid20-May-09 4:47
    professionalNormDroid20-May-09 4:47 
    Generalvertically input text control Pin
    jirigala29-Nov-02 21:53
    jirigala29-Nov-02 21:53 
    GeneralA bout Unicode in C# Control Pin
    tomriddlex15-Sep-02 17:35
    tomriddlex15-Sep-02 17:35 
    I'm writing a project, I want to inherit C#'s controls, but my control can display Unicode charater (C#' original control seem cannot). I just begin, can any body help me find out some usefull code.
    Thanks very much.

    YEAH !!!!!!!!11
    Generalbad coding style Pin
    Mike20-Oct-00 3:51
    Mike20-Oct-00 3:51 
    GeneralOk whos the joker Pin
    silly@hotmail.com20-Oct-00 4:06
    silly@hotmail.com20-Oct-00 4:06 
    GeneralMybe this is better Pin
    Norm Almond20-Oct-00 4:20
    sussNorm Almond20-Oct-00 4:20 
    GeneralRe: Mybe this is better Pin
    Mike26-Oct-00 21:56
    Mike26-Oct-00 21:56 
    GeneralRe: Mybe this is better Pin
    Paulo17-Mar-02 12:59
    Paulo17-Mar-02 12:59 
    GeneralRe: bad coding style Pin
    kirby20-Oct-00 8:17
    kirby20-Oct-00 8:17 
    GeneralRe: bad coding style Pin
    20-Dec-01 14:57
    suss20-Dec-01 14:57 
    GeneralRe: bad coding style Pin
    NormDroid6-Aug-03 20:55
    professionalNormDroid6-Aug-03 20:55 
    GeneralExcellent Article Pin
    Ranjeet Chakraborty27-Sep-00 23:31
    Ranjeet Chakraborty27-Sep-00 23:31 
    GeneralRe: Excellent Article Pin
    Norm Almond28-Sep-00 3:03
    sussNorm Almond28-Sep-00 3:03 
    GeneralRe: Excellent Article Pin
    Peter28-Sep-00 9:19
    Peter28-Sep-00 9:19 
    GeneralGetting started with C# Pin
    Phil Harding22-Sep-00 3:31
    Phil Harding22-Sep-00 3:31 
    GeneralRe: Getting started with C# Pin
    Norm Almond22-Sep-00 4:00
    sussNorm Almond22-Sep-00 4:00 
    GeneralRe: Getting started with C# Pin
    Ryan Schneider26-Sep-00 5:56
    Ryan Schneider26-Sep-00 5:56 
    GeneralRe: Getting started with C# Pin
    Norm Almond27-Sep-00 4:22
    sussNorm Almond27-Sep-00 4:22 
    QuestionLow rating? Pin
    Chris Maunder21-Sep-00 11:55
    cofounderChris Maunder21-Sep-00 11:55 
    AnswerRe: Low rating? Pin
    Alex21-Sep-00 15:44
    Alex21-Sep-00 15:44 
    AnswerRe: Low rating? Pin
    Norm Almond22-Sep-00 0:15
    sussNorm Almond22-Sep-00 0:15 
    GeneralRe: Low rating? Pin
    Alex22-Sep-00 13:54
    Alex22-Sep-00 13:54 
    QuestionWell, what did you think? Pin
    Alvaro Mendez21-Sep-00 8:21
    Alvaro Mendez21-Sep-00 8:21 

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

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