Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCan I use 1 template function instead of 2? Pin
grscot30-Apr-03 1:28
grscot30-Apr-03 1:28 
AnswerRe: Can I use 1 template function instead of 2? Pin
Pankaj Singh30-Apr-03 3:42
Pankaj Singh30-Apr-03 3:42 
GeneralEditor Pin
y_seval30-Apr-03 1:06
y_seval30-Apr-03 1:06 
GeneralRe: Editor Pin
Neville Franks30-Apr-03 1:40
Neville Franks30-Apr-03 1:40 
GeneralDateTimePicker problem! Pin
_skidrow_vn_30-Apr-03 1:03
_skidrow_vn_30-Apr-03 1:03 
GeneralRe: DateTimePicker problem! Pin
David Crow30-Apr-03 3:01
David Crow30-Apr-03 3:01 
GeneralRe: DateTimePicker problem! Pin
_skidrow_vn_30-Apr-03 7:49
_skidrow_vn_30-Apr-03 7:49 
GeneralTwo Rich Edit Questions Pin
Gio S.29-Apr-03 23:03
Gio S.29-Apr-03 23:03 
Hi all,
I need to implement a small editor using syn.-coloring and multiple undo/redo actions.
Syn.-coloring works fine for riched32.dll, but this does not support multiple undo/redo.

1.
Richedit 2.0 supports undo/redo, but there is a strange diffrence between RE 1.0 and 2.0 which causes problems with my coloring function. Version 1.0 translates CR/LF pairs into one '\n', when copying the contents of the control into a CString, Version 2.0 does not (leaves the pairs, so there are to chars in the CString). That of course confuses the syntax coloring when using diffrent versions. Has anybody an idea to work around this diffrence without version checking of the RE versions?

2.
Does anybody know if there is a possibility to prevent coloring and selection actions inside the RE 2.0 control from being recorded into the undo/redo buffer? I just want to record typing actions.

Thanks for replies,
Giovanni

GeneralRe: Two Rich Edit Questions Pin
John R. Shaw30-Apr-03 9:27
John R. Shaw30-Apr-03 9:27 
GeneralCRichEdit & smtp mail problem Pin
granburu29-Apr-03 22:03
granburu29-Apr-03 22:03 
GeneralWindow handle of a process-code required Pin
RaajaOfSelf29-Apr-03 21:59
RaajaOfSelf29-Apr-03 21:59 
GeneralRe: Window handle of a process-code required Pin
Rage30-Apr-03 0:51
professionalRage30-Apr-03 0:51 
GeneralMiniDumpReadDumpStream Pin
Riverwind_dk29-Apr-03 21:58
Riverwind_dk29-Apr-03 21:58 
Generalwinpcap has killed me Pin
summo29-Apr-03 21:27
summo29-Apr-03 21:27 
GeneralRe: winpcap has killed me Pin
jhaga30-Apr-03 1:33
professionaljhaga30-Apr-03 1:33 
GeneralCListBox Pin
Cedric Moonen29-Apr-03 21:10
Cedric Moonen29-Apr-03 21:10 
GeneralRe: CListBox Pin
Martyn Pearson29-Apr-03 21:41
Martyn Pearson29-Apr-03 21:41 
GeneralInstall Driver Pin
peterchen29-Apr-03 20:49
peterchen29-Apr-03 20:49 
GeneralStepOver Crash in VisualC++ 6 Pin
Swinefeaster29-Apr-03 20:11
Swinefeaster29-Apr-03 20:11 
GeneralRe: StepOver Crash in VisualC++ 6 Pin
Neville Franks29-Apr-03 21:01
Neville Franks29-Apr-03 21:01 
GeneralRe: StepOver Crash in VisualC++ 6 Pin
Swinefeaster30-Apr-03 6:44
Swinefeaster30-Apr-03 6:44 
GeneralRe: StepOver Crash in VisualC++ 6 Pin
Hans Ruck29-Apr-03 22:15
Hans Ruck29-Apr-03 22:15 
GeneralError in ATL HTML Control Pin
Mahesh Perumal29-Apr-03 20:10
Mahesh Perumal29-Apr-03 20:10 
GeneralUrgent :Printer Status in PRINTER_INFO_2 Pin
Jaffer Mumtaz29-Apr-03 19:40
Jaffer Mumtaz29-Apr-03 19:40 
GeneralImmediate help required !!!!!! Pin
summo29-Apr-03 19:10
summo29-Apr-03 19:10 

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.