Click here to Skip to main content
16,011,482 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: CObject or CStatic Pin
raner2-Jan-03 16:26
raner2-Jan-03 16:26 
GeneralLinker Error Pin
Ryan B.2-Jan-03 8:39
Ryan B.2-Jan-03 8:39 
GeneralRe: Linker Error Pin
RobJones2-Jan-03 8:44
RobJones2-Jan-03 8:44 
GeneralRe: Linker Error Pin
Tim Smith2-Jan-03 8:45
Tim Smith2-Jan-03 8:45 
GeneralRe: Linker Error Pin
Ryan B.2-Jan-03 8:51
Ryan B.2-Jan-03 8:51 
GeneralMaking the background of a window invisible... Pin
Joan M2-Jan-03 8:13
professionalJoan M2-Jan-03 8:13 
GeneralRe: Making the background of a window invisible... Pin
Joaquín M López Muñoz2-Jan-03 11:50
Joaquín M López Muñoz2-Jan-03 11:50 
GeneralSplitter + CRichEditView problem... Pin
RobJones2-Jan-03 7:22
RobJones2-Jan-03 7:22 
Hello,
I have a splitter with 2 CRichEditViews.. From with in one of the views I do a SetSel(-1,-1) to put my caret at the end of the edit control.. Next I do a SendMessage(EM_SCROLLCARET) to scroll the view to the end of the control.. The control receives the message but the view isn't scrolled until it gets focus.. This is a work around but I don't want to throw the focus around.

GetRichEditCtrl().SendMessage(EM_SCROLLCARET);
CMainFrame* pMain = (CMainFrame*)AfxGetMainWnd();
if(pMain)
{
pMain->m_wndSplitter.SetActivePane(0,0);
pMain->m_wndSplitter.SetActivePane(1,0);
}

Is there any way to force the control or view to do what it's supposed to do with out messing with the focus\active pane? I've tried Invalidate RedrawWindow etc.. on both the view and the control..

Rob
GeneralProblem with DateTimePicker Pin
Mazdak2-Jan-03 7:18
Mazdak2-Jan-03 7:18 
GeneralRichEditCtrl problem Pin
Ricky_TheBard2-Jan-03 6:40
Ricky_TheBard2-Jan-03 6:40 
GeneralRe: RichEditCtrl problem Pin
RobJones2-Jan-03 7:25
RobJones2-Jan-03 7:25 
GeneralRe: RichEditCtrl problem Pin
Ricky_TheBard2-Jan-03 7:59
Ricky_TheBard2-Jan-03 7:59 
GeneralRe: RichEditCtrl problem Pin
RobJones2-Jan-03 8:40
RobJones2-Jan-03 8:40 
GeneralRe: RichEditCtrl problem Pin
Ricky_TheBard2-Jan-03 23:34
Ricky_TheBard2-Jan-03 23:34 
QuestionRotating TextOut() ? Pin
dazinith2-Jan-03 6:05
dazinith2-Jan-03 6:05 
AnswerRe: Rotating TextOut() ? Pin
Navin2-Jan-03 6:23
Navin2-Jan-03 6:23 
AnswerRe: Rotating TextOut() ? Pin
Chris Meech2-Jan-03 6:22
Chris Meech2-Jan-03 6:22 
AnswerRe: Rotating TextOut() ? Pin
Roger Allen2-Jan-03 6:42
Roger Allen2-Jan-03 6:42 
GeneralRe: Rotating TextOut() ? Pin
dazinith2-Jan-03 7:54
dazinith2-Jan-03 7:54 
GeneralRe: Rotating TextOut() ? Pin
Shog92-Jan-03 8:00
sitebuilderShog92-Jan-03 8:00 
GeneralReading a Binary Data File Pin
Frankie Lee2-Jan-03 4:50
Frankie Lee2-Jan-03 4:50 
GeneralRe: Reading a Binary Data File Pin
Joaquín M López Muñoz2-Jan-03 5:16
Joaquín M López Muñoz2-Jan-03 5:16 
GeneralRe: Reading a Binary Data File Pin
Frankie Lee2-Jan-03 12:52
Frankie Lee2-Jan-03 12:52 
QuestionHow to show system menu in client area? Pin
Subrahmanyam2-Jan-03 3:19
Subrahmanyam2-Jan-03 3:19 
AnswerRe: How to show system menu in client area? Pin
Joaquín M López Muñoz2-Jan-03 4:06
Joaquín M López Muñoz2-Jan-03 4:06 

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.