Prev: Vista DrawThemeBackground
Next: Access violation error
From: Ajay Kalra on 2 Jul 2007 14:08 On Jul 2, 2:01 pm, "Sheng Jiang[MVP]" <sheng_ji...(a)hotmail.com.discuss> wrote: > A new view or new dialog, whatever, the application needs to handle a click > first > Ha... why do you assume that the click is on HTML page? --- Ajay
From: mido1971 on 2 Jul 2007 14:10 thanks for ur help and replay i create the views and i dcreate the switch between the views but what i needed is to switch to view from the fierst page witch is the chtmlview from the llinks insied the html and how to update the html at runtime like outlook today thanks "Ajay Kalra" wrote: > On Jul 2, 1:31 pm, "Sheng Jiang[MVP]" > <sheng_ji...(a)hotmail.com.discuss> wrote: > > If you want to handle a click on a link, search for "Handling HTML Element > > Events" in MSDN > > > > I dont know if OP wanted this. It appears that OPs issue was creating > a new view, at least thats what I gathered from it. > > --- > Ajay > >
From: Ajay Kalra on 2 Jul 2007 14:13 On Jul 2, 2:10 pm, mido1971 <mido1...(a)discussions.microsoft.com> wrote: > thanks for ur help and replay i create the views and i dcreate the switch > between the views but what i needed is to switch to view from the fierst > page witch is the chtmlview from the llinks insied the html and how to > update the html at runtime like outlook today > See Sheng's reply about handling clicks in a CHTMLView. You will need to sink to IWebBrowser2's events to do it. --- Ajay
From: Sheng Jiang[MVP] on 2 Jul 2007 17:31
because CHTMLView is nothing but a CFormView and a webbrowser control... -- Sheng Jiang Microsoft MVP in VC++ "Ajay Kalra" <ajaykalra(a)yahoo.com> wrote in message news:1183399717.406017.184790(a)a26g2000pre.googlegroups.com... > On Jul 2, 2:01 pm, "Sheng Jiang[MVP]" > <sheng_ji...(a)hotmail.com.discuss> wrote: > > A new view or new dialog, whatever, the application needs to handle a click > > first > > > > Ha... why do you assume that the click is on HTML page? > > --- > Ajay > |