Click here to Skip to main content
15,921,660 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: ReadProcessMemory() problem Pin
ALLERSLIT23-Jun-10 14:23
ALLERSLIT23-Jun-10 14:23 
GeneralRe: ReadProcessMemory() problem Pin
ALLERSLIT23-Jun-10 14:44
ALLERSLIT23-Jun-10 14:44 
Questionchange color in c Pin
hasani200723-Jun-10 9:36
hasani200723-Jun-10 9:36 
AnswerRe: change color in c Pin
Rick York23-Jun-10 10:07
mveRick York23-Jun-10 10:07 
AnswerRe: change color in c Pin
Stephen Hewitt23-Jun-10 13:30
Stephen Hewitt23-Jun-10 13:30 
QuestionHow can a program in diferent PCs using the same DB be notified of a change? Pin
manchukuo23-Jun-10 9:14
manchukuo23-Jun-10 9:14 
AnswerRe: How can a program in diferent PCs using the same DB be notified of a change? Pin
Luc Pattyn23-Jun-10 9:28
sitebuilderLuc Pattyn23-Jun-10 9:28 
GeneralRe: How can a program in diferent PCs using the same DB be notified of a change? Pin
manchukuo23-Jun-10 16:24
manchukuo23-Jun-10 16:24 
GeneralRe: How can a program in diferent PCs using the same DB be notified of a change? Pin
Luc Pattyn23-Jun-10 16:39
sitebuilderLuc Pattyn23-Jun-10 16:39 
QuestionCan anyone please tell me why these initializations are causing BUS errors? Pin
M.manning23-Jun-10 8:47
M.manning23-Jun-10 8:47 
AnswerRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
Code-o-mat23-Jun-10 9:06
Code-o-mat23-Jun-10 9:06 
GeneralRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
M.manning23-Jun-10 9:26
M.manning23-Jun-10 9:26 
GeneralRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
Code-o-mat23-Jun-10 9:35
Code-o-mat23-Jun-10 9:35 
AnswerRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
Aescleal23-Jun-10 10:31
Aescleal23-Jun-10 10:31 
GeneralRe: Can anyone please tell me why these initializations are causing BUS errors? Pin
M.manning23-Jun-10 13:31
M.manning23-Jun-10 13:31 
QuestionHOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 8:40
humais23-Jun-10 8:40 
AnswerRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
CPallini23-Jun-10 9:16
mveCPallini23-Jun-10 9:16 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 9:20
humais23-Jun-10 9:20 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 9:24
humais23-Jun-10 9:24 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
CPallini23-Jun-10 10:37
mveCPallini23-Jun-10 10:37 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais23-Jun-10 19:46
humais23-Jun-10 19:46 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
Cedric Moonen23-Jun-10 20:53
Cedric Moonen23-Jun-10 20:53 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
CPallini23-Jun-10 21:08
mveCPallini23-Jun-10 21:08 
GeneralRe: HOW to save DC of onpaint(); in SDI MFC C++? Pin
humais24-Jun-10 21:49
humais24-Jun-10 21:49 
QuestionInsetObject effect the starting character selection Pin
ForNow23-Jun-10 7:50
ForNow23-Jun-10 7:50 
Hi,

I am inserting a OLE object yellow arrow to the left of some text

It seem like whenever I insert the object it effects the starting pos of the text

C#
if (curr_start_cur == 0)
       {
           curr_start_cur = start;  // current start
           curr_end_cur = end;      // current end
   SetSel(curr_start_cur,((curr_start_cur+pos)-5));    //
           oleptr->InsertObject(&reobject);
    }
   SetSel(Begin,Begin+pos+1);
       setfontsize(11);
       setbold();                    // make bolor
       SetColour(RGB(255,0,0));            // make it red
      setfontsize(11);
    }


The following is my text

======> _ 000000 90EC D00C 0000 C STM R14,R12,12(R13) line 1

_ 000000 18CF LR R12,R15 line 2

The "======>" represent the OLE arrow object

from line 2 and downward all "_' are in red the rest of the text remains the normal color
however at line 1 the "_" is in red and also the following text is in read "000000 90EC"

was wondering if the insert object effects where the stating character of the SetSel starts

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.