Click here to Skip to main content
15,903,388 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: COleDateTime problem ! Pin
led mike20-Jun-06 5:44
led mike20-Jun-06 5:44 
QuestionWin32 Project & ClrButton Pin
69 Bay20-Jun-06 4:48
69 Bay20-Jun-06 4:48 
AnswerRe: Win32 Project & ClrButton Pin
led mike20-Jun-06 5:53
led mike20-Jun-06 5:53 
AnswerRe: Win32 Project & ClrButton Pin
Zac Howland20-Jun-06 6:17
Zac Howland20-Jun-06 6:17 
QuestionCRichEditCtrl set text color Pin
YaronNir20-Jun-06 4:38
YaronNir20-Jun-06 4:38 
AnswerRe: CRichEditCtrl set text color Pin
Viorel.20-Jun-06 4:57
Viorel.20-Jun-06 4:57 
GeneralRe: CRichEditCtrl set text color Pin
YaronNir20-Jun-06 5:39
YaronNir20-Jun-06 5:39 
GeneralRe: CRichEditCtrl set text color Pin
Viorel.20-Jun-06 20:27
Viorel.20-Jun-06 20:27 
As I know, the scroll events for rich-edit control are EN_HSCROLL and EN_VSCROLL. In order to allow these notifications, you have to set a mask in dialog’s OnInitDialog:

m_edtMsg.SetEventMask(m_edtMsg.GetEventMask() | ENM_SCROLL);

In addition the scroll bars should be enabled in the Properties panel.

If you want to change the colours of scroll bar, I think you can try the WM_CTLCOLOR or WM_CTLCOLORSCROLLBAR notifications.

If you create your own scroll-bars (for instance, derived from CScrollBar) and put them near the edit control, then the scroll notifications will be WM_HSCROLL and WM_VSCROLL .
QuestionRead/write summary tab info Pin
petergggg20-Jun-06 4:24
petergggg20-Jun-06 4:24 
AnswerRe: Read/write summary tab info Pin
David Crow20-Jun-06 4:33
David Crow20-Jun-06 4:33 
GeneralRe: Read/write summary tab info [modified] Pin
petergggg20-Jun-06 23:00
petergggg20-Jun-06 23:00 
GeneralRe: Read/write summary tab info Pin
David Crow21-Jun-06 2:36
David Crow21-Jun-06 2:36 
Questioncontrol color Pin
yogendra kaushik20-Jun-06 4:15
yogendra kaushik20-Jun-06 4:15 
AnswerRe: control color Pin
see me20-Jun-06 4:25
see me20-Jun-06 4:25 
AnswerRe: control color Pin
Laxman Auti20-Jun-06 5:45
Laxman Auti20-Jun-06 5:45 
AnswerRe: control color Pin
Hamid_RT20-Jun-06 18:57
Hamid_RT20-Jun-06 18:57 
GeneralRe: control color Pin
ANIL KUMAR SHARMA (INDIA)14-Jul-09 19:08
ANIL KUMAR SHARMA (INDIA)14-Jul-09 19:08 
Questionhow can i write a C++ code in BREW. Pin
nitinjdalal20-Jun-06 4:09
nitinjdalal20-Jun-06 4:09 
AnswerRe: how can i write a C++ code in BREW. Pin
toxcct20-Jun-06 4:34
toxcct20-Jun-06 4:34 
GeneralRe: how can i write a C++ code in BREW. Pin
Michael Dunn20-Jun-06 9:15
sitebuilderMichael Dunn20-Jun-06 9:15 
AnswerRe: how can i write a C++ code in BREW. Pin
Stephen Hewitt20-Jun-06 16:18
Stephen Hewitt20-Jun-06 16:18 
AnswerRe: how can i write a C++ code in BREW. Pin
Hamid_RT20-Jun-06 18:56
Hamid_RT20-Jun-06 18:56 
AnswerRe: how can i write a C++ code in BREW. Pin
kakan20-Jun-06 20:12
professionalkakan20-Jun-06 20:12 
Questionprarameter mismatch in SMPP Pin
johnalek20-Jun-06 4:01
johnalek20-Jun-06 4:01 
Questionhow we can use strechblt Pin
vasusree20-Jun-06 3:19
vasusree20-Jun-06 3:19 

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.