RichEdit, how to centralise the focused part?

This is a discussion on RichEdit, how to centralise the focused part? within the Windows Programming forums, part of the Platform Specific Boards category; If you use a RichEdit object and put in some text you can make a piece of code that goes ...

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    160

    Question RichEdit, how to centralise the focused part?

    If you use a RichEdit object and put in some text you can make a piece of code that goes through the text and find a string your looking for and you can setfocus() on it. The problem is that you can't centralise the string. This means that while running the APP you got a scrole your way down to the focused part. Now how do I make the RichEdit object scroll down to that part by itself?

    BTW I'm using Borland 6.0
    Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
    Hell I might even learn something

  2. #2
    Registered User
    Join Date
    Oct 2002
    Posts
    160
    Don't anybody know?
    Well english isn't my first language, (it's instead a useless language called danish which only 5 milion people speak!!) so if you think my grammar SUCKS (it does by the way) than you're more then welcome to correct me.
    Hell I might even learn something

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Unable to format text in a RichEdit, not using MFC
    By Aidman in forum Windows Programming
    Replies: 1
    Last Post: 08-03-2003, 05:03 PM
  2. finding the decimal part of a number
    By Geo-Fry in forum C++ Programming
    Replies: 13
    Last Post: 07-31-2003, 12:43 PM
  3. Suspicious Pointer Conversion
    By mr_spanky202 in forum C Programming
    Replies: 35
    Last Post: 04-11-2003, 12:35 PM
  4. Beginning MFC (Prosise) Part III - Now What? :: C++
    By kuphryn in forum C++ Programming
    Replies: 5
    Last Post: 03-03-2002, 05:58 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21