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

C / C++ / MFC

 
AnswerRe: Identifying multiple instances of a program? Pin
Maximilien7-Jan-05 8:17
Maximilien7-Jan-05 8:17 
AnswerRe: Identifying multiple instances of a program? Pin
PJ Arends7-Jan-05 8:21
professionalPJ Arends7-Jan-05 8:21 
GeneralCDC and BItmap question Pin
Maverick7-Jan-05 7:25
Maverick7-Jan-05 7:25 
GeneralRe: CDC and BItmap question Pin
PJ Arends7-Jan-05 9:13
professionalPJ Arends7-Jan-05 9:13 
GeneralRe: CDC and BItmap question Pin
Maverick7-Jan-05 15:36
Maverick7-Jan-05 15:36 
GeneralSynchronization with CTypedPtrArray Pin
Konrad Windszus7-Jan-05 7:24
Konrad Windszus7-Jan-05 7:24 
GeneralRe: Synchronization with CTypedPtrArray Pin
Ravi Bhavnani7-Jan-05 14:44
professionalRavi Bhavnani7-Jan-05 14:44 
GeneralSelecting last line of text in my View class Pin
7-Jan-05 6:59
suss7-Jan-05 6:59 
I want to be able to, on a command, select the LAST line of text in my ViewEdit class and cut it or clear it. I have been working with
GetEditCtrl().SetSel(LineBeginning, LineEnd);
GetEditCtrl().Cut();

I am having a lot of difficulty in getting this to work correctly.
The problem I am having is selecting the last line, finding linebegining and line end.

Is there an easier way to clear or cut the last line of text?

Thanks
John


GeneralCurious about the file sort order Pin
LiYS7-Jan-05 5:46
LiYS7-Jan-05 5:46 
GeneralConvert PDF files into EMF Pin
smile86917-Jan-05 5:11
smile86917-Jan-05 5:11 
GeneralRe: Convert PDF files into EMF Pin
basementman7-Jan-05 7:09
basementman7-Jan-05 7:09 
GeneralRead single bit from a file Pin
Nitron7-Jan-05 4:57
Nitron7-Jan-05 4:57 
GeneralRe: Read single bit from a file Pin
Graham Bradshaw7-Jan-05 5:25
Graham Bradshaw7-Jan-05 5:25 
GeneralRe: Read single bit from a file Pin
Nitron7-Jan-05 5:27
Nitron7-Jan-05 5:27 
GeneralImplementing a static function for utility class Pin
Anonymous7-Jan-05 4:08
Anonymous7-Jan-05 4:08 
GeneralRe: Implementing a static function for utility class Pin
Maximilien7-Jan-05 4:20
Maximilien7-Jan-05 4:20 
GeneralRe: Implementing a static function for utility class Pin
Anonymous7-Jan-05 6:40
Anonymous7-Jan-05 6:40 
Generalvirtual drive for winXP Pin
neq7-Jan-05 3:33
neq7-Jan-05 3:33 
GeneralDebugActiveProcess question Pin
Cptkli7-Jan-05 2:55
Cptkli7-Jan-05 2:55 
GeneralRe: DebugActiveProcess question Pin
Duncan Edwards Jones7-Jan-05 3:17
professionalDuncan Edwards Jones7-Jan-05 3:17 
GeneralRe: DebugActiveProcess question Pin
klington7-Jan-05 3:28
klington7-Jan-05 3:28 
GeneralRe: DebugActiveProcess question Pin
Duncan Edwards Jones7-Jan-05 4:14
professionalDuncan Edwards Jones7-Jan-05 4:14 
GeneralRe: DebugActiveProcess question Pin
klington7-Jan-05 4:48
klington7-Jan-05 4:48 
GeneralScrollable view !?! Pin
CaptnB7-Jan-05 2:45
CaptnB7-Jan-05 2:45 
QuestionHow to get the registry location for an application specific registry details Pin
Vaibhav Sanghavi7-Jan-05 1:13
Vaibhav Sanghavi7-Jan-05 1:13 

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.