Click here to Skip to main content
16,004,782 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: csv parser function needed ? Pin
David Crow19-Mar-07 15:11
David Crow19-Mar-07 15:11 
Questionopen file in associated application Pin
tiflo19-Mar-07 12:51
tiflo19-Mar-07 12:51 
AnswerRe: open file in associated application Pin
x87Bliss19-Mar-07 12:56
x87Bliss19-Mar-07 12:56 
AnswerRe: open file in associated application Pin
toxcct19-Mar-07 13:10
toxcct19-Mar-07 13:10 
AnswerRe: open file in associated application Pin
tiflo19-Mar-07 22:41
tiflo19-Mar-07 22:41 
AnswerRe: open file in associated application Pin
pri_skit20-Mar-07 1:21
pri_skit20-Mar-07 1:21 
QuestionCRichEditCtrl problem Pin
xtexistenz19-Mar-07 11:43
xtexistenz19-Mar-07 11:43 
AnswerRe: CRichEditCtrl problem Pin
x87Bliss19-Mar-07 12:42
x87Bliss19-Mar-07 12:42 
I never experienced this problem myself, but I did just dabble with it in Wordpad as you said, and I see what you're talking about. As you resize down it adjusts the scroll-bars range in respect to the size of the data, but it ignores the current scroll location being below the end of the data.

I don't know what you have already tried. I would try to get a handle to the scroll-bar and use "SetScrollPos" and see if that forces an update. To prevent it from changing, you may try "SetScrollPos(GetScrollPos())" or similar, I don't know the return types or parameters of these functions off the top of my head, but that would in essence tell it the user has scrolled, although the position won't really change, but it may force it to redraw the text in the right spot.

Another thing you can try is RedrawWindow() maybe.

Again, these are just little workarounds that may work, but I'm sure it's not the "right" way to do it. But maybe it'll get the job done. I've never tried them myself either, just what I would try if I was doing it.

Good Luck
GeneralRe: CRichEditCtrl problem [modified] Pin
xtexistenz19-Mar-07 12:55
xtexistenz19-Mar-07 12:55 
GeneralRe: CRichEditCtrl problem Pin
x87Bliss19-Mar-07 13:04
x87Bliss19-Mar-07 13:04 
GeneralRe: CRichEditCtrl problem Pin
xtexistenz19-Mar-07 13:10
xtexistenz19-Mar-07 13:10 
GeneralRe: CRichEditCtrl problem Pin
x87Bliss21-Mar-07 11:41
x87Bliss21-Mar-07 11:41 
GeneralRe: CRichEditCtrl problem Pin
xtexistenz25-Mar-07 13:51
xtexistenz25-Mar-07 13:51 
GeneralRe: CRichEditCtrl problem Pin
x87Bliss25-Mar-07 21:34
x87Bliss25-Mar-07 21:34 
GeneralRe: CRichEditCtrl problem Pin
xtexistenz26-Mar-07 7:21
xtexistenz26-Mar-07 7:21 
GeneralRe: CRichEditCtrl problem Pin
x87Bliss26-Mar-07 15:36
x87Bliss26-Mar-07 15:36 
GeneralRe: CRichEditCtrl problem Pin
xtexistenz26-Mar-07 20:47
xtexistenz26-Mar-07 20:47 
Questionnetwork query Pin
lucy19-Mar-07 10:05
lucy19-Mar-07 10:05 
AnswerRe: network query Pin
Ravi Bhavnani19-Mar-07 10:19
professionalRavi Bhavnani19-Mar-07 10:19 
GeneralRe: network query Pin
lucy19-Mar-07 10:47
lucy19-Mar-07 10:47 
GeneralRe: network query Pin
Ravi Bhavnani19-Mar-07 11:01
professionalRavi Bhavnani19-Mar-07 11:01 
GeneralRe: network query Pin
lucy19-Mar-07 11:27
lucy19-Mar-07 11:27 
AnswerRe: network query Pin
David Crow19-Mar-07 15:09
David Crow19-Mar-07 15:09 
GeneralRe: network query Pin
lucy20-Mar-07 7:49
lucy20-Mar-07 7:49 
GeneralRe: network query Pin
David Crow20-Mar-07 7:59
David Crow20-Mar-07 7:59 

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.