Click here to Skip to main content
15,896,154 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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
QuestionDebug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
oppstp23-Jun-10 6:19
oppstp23-Jun-10 6:19 
AnswerRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
Code-o-mat23-Jun-10 7:00
Code-o-mat23-Jun-10 7:00 
GeneralRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
oppstp23-Jun-10 7:21
oppstp23-Jun-10 7:21 
GeneralRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
Code-o-mat23-Jun-10 8:30
Code-o-mat23-Jun-10 8:30 
AnswerRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? [modified] Pin
Aescleal23-Jun-10 7:30
Aescleal23-Jun-10 7:30 
GeneralRe: Debug with breakpoint works, but debug without breakpoint or release mode fails ? Pin
oppstp23-Jun-10 15:58
oppstp23-Jun-10 15:58 
QuestionRAW Triangle Format: How to parse it properly Pin
ant-damage23-Jun-10 5:37
ant-damage23-Jun-10 5:37 
AnswerRe: RAW Triangle Format: How to parse it properly Pin
El Corazon23-Jun-10 5:44
El Corazon23-Jun-10 5:44 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
ant-damage23-Jun-10 5:55
ant-damage23-Jun-10 5:55 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
El Corazon23-Jun-10 6:03
El Corazon23-Jun-10 6:03 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
ant-damage23-Jun-10 6:05
ant-damage23-Jun-10 6:05 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
El Corazon23-Jun-10 6:45
El Corazon23-Jun-10 6:45 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
ant-damage23-Jun-10 7:01
ant-damage23-Jun-10 7:01 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
El Corazon23-Jun-10 7:03
El Corazon23-Jun-10 7:03 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
ant-damage23-Jun-10 8:08
ant-damage23-Jun-10 8:08 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
ant-damage23-Jun-10 8:16
ant-damage23-Jun-10 8:16 
GeneralRe: RAW Triangle Format: How to parse it properly Pin
El Corazon23-Jun-10 8:21
El Corazon23-Jun-10 8:21 

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.