Click here to Skip to main content
15,915,513 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: some problems about listbox control Pin
Chen-XuNuo20-Mar-07 3:46
Chen-XuNuo20-Mar-07 3:46 
QuestionHow to move a bitmap from a splitted window to another? Pin
hcygxr200819-Mar-07 16:38
hcygxr200819-Mar-07 16:38 
AnswerRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu19-Mar-07 20:39
Parthi_Appu19-Mar-07 20:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200826-Mar-07 16:28
hcygxr200826-Mar-07 16:28 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
Parthi_Appu26-Mar-07 17:39
Parthi_Appu26-Mar-07 17:39 
GeneralRe: How to move a bitmap from a splitted window to another? Pin
hcygxr200827-Mar-07 19:18
hcygxr200827-Mar-07 19:18 
Questionerror by system user Pin
hanlei000000000919-Mar-07 16:35
hanlei000000000919-Mar-07 16:35 
Questioncsv parser function needed ? Pin
Software_Specialist19-Mar-07 13:51
Software_Specialist19-Mar-07 13:51 
AnswerRe: csv parser function needed ? Pin
Stephen Hewitt19-Mar-07 15:02
Stephen Hewitt19-Mar-07 15:02 
AnswerRe: csv parser function needed ? [modified] Pin
cp987619-Mar-07 15:02
cp987619-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:02
El Corazon19-Mar-07 15:02 
QuestionRe: csv parser function needed ? Pin
David Crow19-Mar-07 15:02
David Crow19-Mar-07 15:02 
AnswerRe: csv parser function needed ? Pin
El Corazon19-Mar-07 15:07
El Corazon19-Mar-07 15:07 
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 
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 
I've used the control, but not extensively enough to notice the problem. I've used it to write a paragraph worth of info basically, never had to use the scrolls. I was just saying that I don't have experience with the problem, but I was trying to offer things I would try as a solution if I did have that problem, but I see you're ahead of me, lol.

I notice in Wordpad, when the problem occurs if I hit the down arrow on the scroll bar, it'll fix it. Have you tried using SendMessage to send messages to emulate the user doing that? I don't know what those messages are tho.

The other thing you can do which may be "wrong" is

int oldScrollPos = GetScrollPos(SV_VERT);
SetScrollPos(SB_VERT, 0);
SetScrollPos(SB_VERT, oldScrollPos);

so it scrolls to the beginning then back to the end. I don't like it myself, it's sloppy, but if you want you can try it.
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 

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.