Click here to Skip to main content
15,891,567 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do I check for stack oevrflow in recursive functions Pin
ZoogieZork25-May-03 16:55
ZoogieZork25-May-03 16:55 
GeneralRe: How do I check for stack oevrflow in recursive functions Pin
Neville Franks25-May-03 23:34
Neville Franks25-May-03 23:34 
AnswerRe: How do I check for stack oevrflow in recursive functions Pin
John R. Shaw26-May-03 11:11
John R. Shaw26-May-03 11:11 
QuestionHow do I make a pie chart in MFC?? Pin
IrishSonic25-May-03 13:39
IrishSonic25-May-03 13:39 
AnswerRe: How do I make a pie chart in MFC?? Pin
valikac25-May-03 14:22
valikac25-May-03 14:22 
AnswerRe: How do I make a pie chart in MFC?? Pin
John R. Shaw26-May-03 11:17
John R. Shaw26-May-03 11:17 
Questionfrom MFC's view, do u like .net and c#? Pin
includeh1025-May-03 10:53
includeh1025-May-03 10:53 
GeneralProblem with URL link in richeditctrl (with CFE_LINK) Pin
Florin Ochiana25-May-03 9:48
Florin Ochiana25-May-03 9:48 
Hi,

In a dialog box a have a RichEditCtrl. I put a link in this richeditctrl like this.
CHARFORMAT2 userFont;

userFont.dwEffects = CFE_LINK;

descText->SetSel(0,descText->GetWindowTextLength());

descText->SetSelectionCharFormat(userFont);

descText->ReplaceSel("Click here");


How can I trap the click on that link? I've tried with
ON_NOTIFY(NM_CLICK,IDC_COMMAND,DoOnLink)

[IDC_COMMAND is the id of the RichEditCtrl]

but it doesn't execute the DoOnLink function.

Any ideas?

Thanks


-----
We are what we repeatedly do. Excellence, then, is not an act, but a habit.

GeneralRe: Problem with URL link in richeditctrl (with CFE_LINK) Pin
Michael Dunn25-May-03 16:47
sitebuilderMichael Dunn25-May-03 16:47 
QuestionWM_MOUSEHOVER and TRACKMOUSEEVENT unknown? Pin
tareqsiraj25-May-03 8:33
tareqsiraj25-May-03 8:33 
AnswerRe: WM_MOUSEHOVER and TRACKMOUSEEVENT unknown? Pin
User 665825-May-03 8:39
User 665825-May-03 8:39 
GeneralRe: WM_MOUSEHOVER and TRACKMOUSEEVENT unknown? Pin
tareqsiraj25-May-03 15:00
tareqsiraj25-May-03 15:00 
QuestionWS_EX_NOACTIVATE not there? Pin
John Kohn25-May-03 8:13
sussJohn Kohn25-May-03 8:13 
AnswerRe: WS_EX_NOACTIVATE not there? Pin
User 665825-May-03 8:41
User 665825-May-03 8:41 
QuestionHow to disable an initial selection in CEdit? Pin
kydfru25-May-03 4:51
kydfru25-May-03 4:51 
AnswerRe: How to disable an initial selection in CEdit? Pin
valikac25-May-03 4:59
valikac25-May-03 4:59 
GeneralNo such property ... Pin
kydfru25-May-03 5:08
kydfru25-May-03 5:08 
AnswerRe: How to disable an initial selection in CEdit? Pin
peterchen25-May-03 8:15
peterchen25-May-03 8:15 
GeneralArray access like a snail Pin
Dominik Reichl25-May-03 3:27
Dominik Reichl25-May-03 3:27 
GeneralRe: Array access like a snail Pin
Nitron25-May-03 4:04
Nitron25-May-03 4:04 
GeneralRe: Array access like a snail - ?????????????? Pin
Dominik Reichl25-May-03 4:06
Dominik Reichl25-May-03 4:06 
GeneralRe: Array access like a snail Pin
Nick Parker25-May-03 4:17
protectorNick Parker25-May-03 4:17 
GeneralRe: Array access like a snail - !??? Pin
Dominik Reichl25-May-03 4:31
Dominik Reichl25-May-03 4:31 
Generalraw socket sendto() failure (WIN XP) Pin
Kuniva25-May-03 2:40
Kuniva25-May-03 2:40 
GeneralGetting the currently selected text in a CHtmlView Pin
Taka Muraoka25-May-03 1:09
Taka Muraoka25-May-03 1:09 

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.