Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: open a Document with invisible View? Pin
dazinith14-Aug-02 7:59
dazinith14-Aug-02 7:59 
AnswerClarification Pin
Jake Palmer14-Aug-02 9:54
Jake Palmer14-Aug-02 9:54 
GeneralImage field 3 Pin
Mazdak14-Aug-02 6:53
Mazdak14-Aug-02 6:53 
GeneralCFindReplaceDialog Pin
RK_200014-Aug-02 6:37
RK_200014-Aug-02 6:37 
GeneralTFTP and RS232 Communications Pin
SanShou14-Aug-02 5:54
SanShou14-Aug-02 5:54 
GeneralRe: TFTP and RS232 Communications Pin
Stuart Dootson14-Aug-02 20:57
professionalStuart Dootson14-Aug-02 20:57 
GeneralContext menu in CHtmlView question. Pin
Michael Liu14-Aug-02 5:37
Michael Liu14-Aug-02 5:37 
GeneralRe: Context menu in CHtmlView question. Pin
Anonymous14-Aug-02 6:10
Anonymous14-Aug-02 6:10 
OnContextMenu and OnRButtonDown are MFC command handlers. The trouble is that CHtmlView derives from a CView but provides no real support for it. CHtmlView is basically a wrapper around the web browser ActiveX control. You can check out yourself by the way because we have all the code for it.
So all right clicks are in fact consumed by the ActiveX.

The good news is that the web browser control has a mechanism to supersede context menus. You have to implement the IDocHostUIHandler interface. You have built-in samples in MSDN library. (and even in codeproject as far as I remember).
GeneralRe: Context menu in CHtmlView question. Pin
Michael Liu14-Aug-02 6:35
Michael Liu14-Aug-02 6:35 
QuestionPressed Enter ? Pin
Hadi Rezaee14-Aug-02 5:09
Hadi Rezaee14-Aug-02 5:09 
AnswerRe: Pressed Enter ? Pin
Andreas Saurwein14-Aug-02 5:40
Andreas Saurwein14-Aug-02 5:40 
AnswerRe: Pressed Enter ? Pin
KingsGambit14-Aug-02 5:50
KingsGambit14-Aug-02 5:50 
QuestionListen a port using CSocket class ?? Pin
Cris14-Aug-02 4:52
Cris14-Aug-02 4:52 
AnswerRe: Listen a port using CSocket class ?? Pin
User 665814-Aug-02 5:39
User 665814-Aug-02 5:39 
GeneralRe: Listen a port using CSocket class ?? Pin
Cris14-Aug-02 7:21
Cris14-Aug-02 7:21 
GeneralRe: Listen a port using CSocket class ?? Pin
User 665814-Aug-02 7:50
User 665814-Aug-02 7:50 
GeneralRe: Listen a port using CSocket class ?? Pin
Cris14-Aug-02 9:20
Cris14-Aug-02 9:20 
GeneralRe: Listen a port using CSocket class ?? Pin
User 665814-Aug-02 9:46
User 665814-Aug-02 9:46 
GeneralRe: Listen a port using CSocket class ?? Pin
Cris14-Aug-02 10:21
Cris14-Aug-02 10:21 
QuestionListbox, how to make only full items visible? Pin
Anonymous14-Aug-02 4:21
Anonymous14-Aug-02 4:21 
AnswerRe: Listbox, how to make only full items visible? Pin
Anonymous14-Aug-02 15:54
Anonymous14-Aug-02 15:54 
GeneralDirection with MDI's Pin
NickOne14-Aug-02 3:58
NickOne14-Aug-02 3:58 
GeneralRe: Direction with MDI's Pin
Steen Krogsgaard15-Aug-02 4:05
Steen Krogsgaard15-Aug-02 4:05 
General2 Qs. (MFC basic level) Pin
RalfPeter14-Aug-02 3:56
RalfPeter14-Aug-02 3:56 
GeneralRe: 2 Qs. (MFC basic level) Pin
567890123414-Aug-02 4:47
567890123414-Aug-02 4:47 

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.