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

C / C++ / MFC

 
QuestionDoes any one have any vc++ code which promotes a web site or determines the position of a web site? Pin
Erich Ruth6-Jan-00 11:55
Erich Ruth6-Jan-00 11:55 
AnswerRE: Does any one have any vc++ code which promotes a web site or determines the position of a web site? Pin
Ghazi /Dundas17-Jan-00 9:24
sussGhazi /Dundas17-Jan-00 9:24 
General[Q] How to detect when a window is created/displayed by another application Pin
Bruce Duncan6-Jan-00 6:52
Bruce Duncan6-Jan-00 6:52 
Generaltemplate in a mfc static lib Pin
b_Davis6-Jan-00 5:50
suss b_Davis6-Jan-00 5:50 
QuestionRichEditCtrl - pasted text not visible initially!? Pin
Steve Roach5-Jan-00 3:41
Steve Roach5-Jan-00 3:41 
AnswerRE: RichEditCtrl - pasted text not visible initially!? Pin
Steve Roach5-Jan-00 4:29
Steve Roach5-Jan-00 4:29 
GeneralRE: RE: RichEditCtrl - pasted text not visible initially!? Pin
Steve Roach6-Jan-00 2:56
Steve Roach6-Jan-00 2:56 
GeneralRE: RE: RE: RichEditCtrl - pasted text not visible initially!? Pin
Dmitriy6-Jan-00 3:14
Dmitriy6-Jan-00 3:14 
Make sure you have handler for Ctrl+V and it pointed to your function that does Paste(); RedrawWindow();

==================
The original message was:

I still have a problem..

The processing behind the "Paste" button in my application is simply:
m_pMyRichEditCtrl->Paste();
m_pMyRichEditCtrl->RedrawWindow();

which solves the text not visible problem from the button but it does not solve the same problem when I paste using Ctrl-V. Any idea what else I need to do?

Thanks

Steve

==================
The original message was:

I found that calling
m_pMyRichEditCtrl->RedrawWindow();
does the trick but why? What's going on? Are there others ways?

Steve

==================
The original message was:

I have a RichEditCtrl that "initially" does not diplay text that is pasted into it (using my_RichEditCtrl->Paste() or by Shift-Insert,Ctrl- V). The text "is" displayed if you then obscure the window and cause a redraw.

What do I have to do to get the text to be made visible after the paste? Is it something to do with the configuration of the RE Ctrl, e.g in the Create call, or something I must do after the paste?.

Thank-you

Steve

GeneralAdmin Lockouts Pin
Member 11564-Jan-00 14:20
Member 11564-Jan-00 14:20 
GeneralKeyboard hook Pin
Phil McGahan4-Jan-00 8:47
Phil McGahan4-Jan-00 8:47 
GeneralRE: Keyboard hook Pin
Member 10545-Jan-00 1:58
Member 10545-Jan-00 1:58 
GeneralRE: RE: Keyboard hook Pin
Anonymous5-Jan-00 7:49
suss Anonymous5-Jan-00 7:49 
GeneralRE: Keyboard hook Pin
Andreas Jäger14-Feb-00 8:20
suss Andreas Jäger14-Feb-00 8:20 
GeneralReduce color depth Pin
Alex4-Jan-00 7:15
Alex4-Jan-00 7:15 
GeneralModeless Dialog Ending Help needed Pin
Buck3-Jan-00 18:10
Buck3-Jan-00 18:10 
GeneralRE: Modeless Dialog Ending Help needed Pin
Member 10544-Jan-00 2:09
Member 10544-Jan-00 2:09 
GeneralRE: Modeless Dialog Ending Help needed Pin
Michael Owen4-Jan-00 5:05
Michael Owen4-Jan-00 5:05 
GeneralResize ActiveX control hosted in CWnd Pin
Peter Hauptmann3-Jan-00 8:24
sussPeter Hauptmann3-Jan-00 8:24 
GeneralSelect more than one item in a listbox Pin
Anonymous3-Jan-00 7:07
suss Anonymous3-Jan-00 7:07 
GeneralRE: Select more than one item in a listbox Pin
Andrei Zenkovitch3-Jan-00 8:03
Andrei Zenkovitch3-Jan-00 8:03 
GeneralRE: RE: Select more than one item in a listbox Pin
Anonymous4-Jan-00 5:48
suss Anonymous4-Jan-00 5:48 
GeneralRE: RE: RE: Select more than one item in a listbox Pin
Anonymous4-Jan-00 5:51
suss Anonymous4-Jan-00 5:51 
QuestionHow do you use a Rich Edit Control in a dialog? Pin
Steve Roach14-Dec-99 3:35
Steve Roach14-Dec-99 3:35 
AnswerRE: How do you use a Rich Edit Control in a dialog? Pin
Jesse Ezell14-Dec-99 14:43
Jesse Ezell14-Dec-99 14:43 
GeneralExplorer.exe Pin
compwiz12-Dec-99 13:39
compwiz12-Dec-99 13:39 

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.