Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 647365
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:42:51+00:00 2026-05-13T21:42:51+00:00

Is there some way to find out when the text gets wrapped (WordWrap) inside

  • 0

Is there some way to find out when the text gets wrapped (WordWrap) inside a RichTextBox? I’ve dug around quite a bit but haven’t found anything so far, will keep looking though…

The reason I’m looking into this is because I need an event to fire whenever the RichTextBox wraps the text at the end of the line.

Thank you all

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:42:52+00:00Added an answer on May 13, 2026 at 9:42 pm

    Technically I believe this is possible with the Windows API. Take a look at EM_SETHYPHENATEINFO and in particular, the ability to pass a custom HyphenateProc. This is a pointer to a function that is called when the rich text box needs to wrap a line and calls your function to determine how to hyphenate the word.

    Having said that, I sincerely doubt this is exposed in .NET so you would need to dig into the API a bit more. But I think this would be the best way of being notified on each line wrap.

    UPDATE
    Here you go I found a blog post that talks about this in a bit more detail.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

How do I find out which sound files the user has configured in the
I'm just starting out learning python with GEdit plus various plugins as my IDE.
I am storing user inputs through a form with wiki style formatting ( text
I have a <div> on a webpage which ends up with a calculated height
I'm wondering how one can catch and add a custom handler when empty results
Until now, I've used an improvised unit testing procedure - basically a whole load
I'm trying to use a BULK INSERT statement to populate a large (17-million-row) table
Sometimes users require to change information in SharePoint list item that is not editable
I have a simple web site with two pages. One displays a list of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.