Click here to Skip to main content
15,922,325 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CDaoRecordset & Access2000 Pin
jerry0davis17-Jan-01 2:39
jerry0davis17-Jan-01 2:39 
GeneralRe: CDaoRecordset & Access2000 Pin
Anders Molin17-Jan-01 1:47
professionalAnders Molin17-Jan-01 1:47 
GeneralRichEditCtrl Pin
14-Jan-01 18:51
suss14-Jan-01 18:51 
GeneralRe: RichEditCtrl Pin
14-Jan-01 19:09
suss14-Jan-01 19:09 
GeneralRe: RichEditCtrl Pin
Erik Funkenbusch15-Jan-01 11:51
Erik Funkenbusch15-Jan-01 11:51 
GeneralRe: RichEditCtrl Pin
16-Jan-01 9:51
suss16-Jan-01 9:51 
GeneralRe: RichEditCtrl Pin
16-Jan-01 9:52
suss16-Jan-01 9:52 
GeneralRe: RichEditCtrl Pin
Erik Funkenbusch16-Jan-01 12:19
Erik Funkenbusch16-Jan-01 12:19 
To me it's very intuitive. ReplaceSel with no selection inserts. What would you expect it to do when there is no selection (or more precisely, a selection of 0)?

Taking your example one step farther, why should it alway add text to the end when inserting text? What if you want it inserted at the beginning, or in the middle?

This is standard. Look at the C Runtime library, which forces you to seek in the file to the point you want to overwrite. There is no "Write to end of file" function.

Microsoft gives you the flexibility to do what you want. And yes, as a programmer you *SHOULD* be familiar with every word of the documentation for what you're working with. You don't have to remember it all, but you should be familiar with it and be able to find what you're looking for easily.

StreamIn is used for (not surprisingly) streaming data into the control from a file, not for general replacement or insertion of text.

QuestionThick Cursor - How to avoid it? Pin
14-Jan-01 17:01
suss14-Jan-01 17:01 
GeneralHiding the ToolbarControl at the right-top of CFileDialog Pin
Sjoerd van Leent14-Jan-01 10:49
Sjoerd van Leent14-Jan-01 10:49 
Questioncan i create a font to my native lang using VC Pin
13-Jan-01 22:53
suss13-Jan-01 22:53 
AnswerRe: can i create a font to my native lang using VC Pin
14-Jan-01 13:22
suss14-Jan-01 13:22 
GeneralUnicode clipboard Pin
13-Jan-01 16:08
suss13-Jan-01 16:08 
GeneralRe: Unicode clipboard Pin
Michael Dunn13-Jan-01 16:27
sitebuilderMichael Dunn13-Jan-01 16:27 
GeneralContext Menu and Mouse Cursor Pin
Patrick Dughi13-Jan-01 14:19
Patrick Dughi13-Jan-01 14:19 
Generallogging on Pin
13-Jan-01 11:24
suss13-Jan-01 11:24 
GeneralRe: logging on Pin
Christian Graus13-Jan-01 12:58
protectorChristian Graus13-Jan-01 12:58 
GeneralRe: logging on Pin
Anders Molin14-Jan-01 6:03
professionalAnders Molin14-Jan-01 6:03 
Generaldll files Pin
13-Jan-01 10:44
suss13-Jan-01 10:44 
GeneralRe: dll files Pin
Anders Molin13-Jan-01 11:16
professionalAnders Molin13-Jan-01 11:16 
GeneralMyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIReadMail@24 Pin
Dan Madden13-Jan-01 10:10
Dan Madden13-Jan-01 10:10 
GeneralRe: MyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIReadMail@24 Pin
Michael Dunn13-Jan-01 10:17
sitebuilderMichael Dunn13-Jan-01 10:17 
GeneralRe: MyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIReadMail@24 Pin
Dan Madden13-Jan-01 11:31
Dan Madden13-Jan-01 11:31 
GeneralRe: MyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIReadMail@24 Pin
Michael Dunn13-Jan-01 13:56
sitebuilderMichael Dunn13-Jan-01 13:56 
GeneralRe: MyMAPIDlg.obj : error LNK2001: unresolved external symbol _MAPIReadMail@24 Pin
Dan Madden13-Jan-01 21:44
Dan Madden13-Jan-01 21:44 

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.