Using RichTextBox Class in C or C++

t s 1 Reputation point
2021-06-24T19:51:53.327+00:00

I want to use RichTextBox Class in a C or C++ program.

According to; https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.richtextbox?view=net-5.0

it is limited to C# programs only.

I don't even know C#, and want this function to work in C or C++.

Is this not possible? Thank you.

Developer technologies C++
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Sam of Simple Samples 5,546 Reputation points
    2021-06-24T20:25:01.507+00:00

    It is not limited to C#. That page has samples for C#, VB, F# and C++ (look at the top-right of the page to change the language). However if you do not need to use managed (.Net) in C++ then you can use the original Rich Edit. And if you look at the right side of that page there is a Using Rich Edit Controls section and thee first page of that section is How to Create Rich Edit Controls.

    If you are using MFC then see:

    0 comments No comments

  2. Castorix31 90,521 Reputation points
    2021-06-24T21:09:31.06+00:00

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.