Click here to Skip to main content
16,006,886 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: visible/disible of picture in run_time Pin
17-May-01 8:24
suss17-May-01 8:24 
QuestionError message..??? Pin
Richard Cheng16-May-01 8:53
Richard Cheng16-May-01 8:53 
AnswerRe: Error message..??? Pin
16-May-01 9:00
suss16-May-01 9:00 
GeneralPicture Controls and Dialogs Pin
lpvoid16-May-01 7:53
lpvoid16-May-01 7:53 
GeneralRe: Picture Controls and Dialogs Pin
Brendan Tregear16-May-01 20:09
Brendan Tregear16-May-01 20:09 
GeneralRe: Picture Controls and Dialogs Pin
lpvoid17-May-01 3:38
lpvoid17-May-01 3:38 
GeneralCRichedit Blues....... Pin
Kevin Gutteridge16-May-01 7:01
Kevin Gutteridge16-May-01 7:01 
GeneralRe: CRichedit Blues....... Pin
Christian Graus16-May-01 12:22
protectorChristian Graus16-May-01 12:22 
Don't rich edit controls just suck ? I mean, if I *have* one, why do I have to specify with a call that I want to *use* it ?

Anyhow, the fun is not over yet. You need to tell the rich edit to send you messages using the SetEventMask function with a combination of the following flags:

ENM_CHANGE Sends EN_CHANGE notifications.
ENM_CORRECTTEXT Sends EN_CORRECTTEXT notifications.
ENM_DRAGDROPDONE Sends EN_DRAGDROPDONE notifications.
ENM_DROPFILES Sends EN_DROPFILES notifications.
ENM_IMECHANGE Rich Edit 1.0 only: Sends EN_IMECHANGE notifications when the IME conversion status has changed. Only for Asian-language versions of the operating system.
ENM_KEYEVENTS Sends EN_MSGFILTER notifications for keyboard events.
ENM_LINK Rich Edit 2.0 and later: Sends EN_LINK notifications when the mouse pointer is over text that has the CFE_LINK and one of several mouse actions is performed.
ENM_MOUSEEVENTS Sends EN_MSGFILTER notifications for mouse events.
ENM_OBJECTPOSITIONS Sends EN_OBJECTPOSITIONS notifications.
ENM_PROTECTED Sends EN_PROTECTED notifications.
ENM_REQUESTRESIZE Sends EN_REQUESTRESIZE notifications.
ENM_SCROLL Sends EN_HSCROLL and EN_VSCROLL notifications.
ENM_SCROLLEVENTS Sends EN_MSGFILTER notifications for mouse wheel events.
ENM_SELCHANGE Sends EN_SELCHANGE notifications.
ENM_UPDATE Sends EN_UPDATE notifications.
Rich Edit 2.0 and later: this flag is ignored and the EN_UPDATE notifications are always sent. However, if Rich Edit 3.0 emulates Rich Edit 1.0, you must use this flag to send EN_UPDATE notifications..



Coz just because you initialized a CRichEditCtrl doesn't mean you want it to talk to you, right ? Sheesh...

Christian

I've learned that you cannot make someone love you. All you can do is stalk them and hope they panic and give in.

The early bird may get the worm, but it's the second mouse that gets the cheese.
GeneralRe: CRichedit Blues....... Pin
Kevin Gutteridge17-May-01 6:55
Kevin Gutteridge17-May-01 6:55 
GeneralRe: CRichedit Blues....... Pin
Christian Graus17-May-01 13:07
protectorChristian Graus17-May-01 13:07 
GeneralRe: CRichedit Blues....... Pin
Kevin Gutteridge21-May-01 11:06
Kevin Gutteridge21-May-01 11:06 
GeneralUpdating Controls Pin
Adi Shavit16-May-01 6:52
Adi Shavit16-May-01 6:52 
GeneralRe: Updating Controls Pin
Christian Graus16-May-01 12:26
protectorChristian Graus16-May-01 12:26 
GeneralSetFocus question Pin
16-May-01 6:22
suss16-May-01 6:22 
GeneralRe: SetFocus question Pin
Michael Dunn16-May-01 16:27
sitebuilderMichael Dunn16-May-01 16:27 
GeneralDelete a tab in a Tab Control Pin
16-May-01 6:04
suss16-May-01 6:04 
GeneralRe: Delete a tab in a Tab Control Pin
Tomasz Sowinski16-May-01 8:25
Tomasz Sowinski16-May-01 8:25 
QuestionPassive (PASV) FTP-Mode with MFC's Internet classes? Pin
Uwe Keim16-May-01 6:02
sitebuilderUwe Keim16-May-01 6:02 
GeneralOpenDocument problem Pin
16-May-01 5:00
suss16-May-01 5:00 
GeneralRe: OpenDocument problem Pin
Christian Graus16-May-01 12:36
protectorChristian Graus16-May-01 12:36 
GeneralRe: OpenDocument problem Pin
17-May-01 8:17
suss17-May-01 8:17 
GeneralEasy one,,,(this is quick) Pin
mr200316-May-01 4:49
mr200316-May-01 4:49 
GeneralRe: Easy one,,,(this is quick) Pin
Christian Graus16-May-01 12:29
protectorChristian Graus16-May-01 12:29 
GeneralDLL Memory Issues Pin
16-May-01 3:50
suss16-May-01 3:50 
GeneralRe: DLL Memory Issues Pin
Tomasz Sowinski16-May-01 4:07
Tomasz Sowinski16-May-01 4:07 

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.