Click here to Skip to main content
15,889,216 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: About ComboBox Pin
David Crow24-Jul-06 3:32
David Crow24-Jul-06 3:32 
QuestionHow to add a JPEG image to a Dialog box ? Pin
Vinod Sankaranarayanan23-Jul-06 20:28
Vinod Sankaranarayanan23-Jul-06 20:28 
AnswerRe: How to add a JPEG image to a Dialog box ? Pin
Anilkumar K V23-Jul-06 20:34
Anilkumar K V23-Jul-06 20:34 
AnswerRe: How to add a JPEG image to a Dialog box ? Pin
Hamid_RT23-Jul-06 21:00
Hamid_RT23-Jul-06 21:00 
GeneralRe: How to add a JPEG image to a Dialog box ? Pin
ThatsAlok23-Jul-06 23:31
ThatsAlok23-Jul-06 23:31 
GeneralRe: How to add a JPEG image to a Dialog box ? Pin
Hamid_RT24-Jul-06 2:41
Hamid_RT24-Jul-06 2:41 
GeneralRe: How to add a JPEG image to a Dialog box ? Pin
ThatsAlok24-Jul-06 17:37
ThatsAlok24-Jul-06 17:37 
QuestionIHTMLWindow4::get_frameElement returns E_NOINTERFACE??? Pin
kumar_subrahmanya23-Jul-06 20:27
kumar_subrahmanya23-Jul-06 20:27 
Hi all,

I am getting E_NOINTERFACE on calling IHTMLWindow4::get_frameElement.

Here is the simplified code -

CComPtr<IHTMLElement> apElement; <br />
CComPtr<IHTMLDocument2> apElementDoc;<br />
CComPtr<IHTMLWindow2> apElementWindow;<br />
CComQIPtr<IHTMLWindow4> apElementWindow4;<br />
CComPtr<IHTMLFrameBase> apFrameBase2;<br />
<br />
<br />
apElement->get_document(&apElementDoc);<br />
apElementDoc->get_parentWindow(&apElementWindow);<br />
apElementWindow4 = apElementWindow;<br />
apElementWindow4->get_frameElement(&apFrameBase2);



I am recieving IHTMLElement object in my event sink (which I have set up to listen to DIID_HTMLDocumentEvents2).
The HTML element in question is part of an iFrame.
But still get_frameElement returns me E_NOINTERFACE.
Am I doing something wrong here?

Thanks in advance



Questionisspace!? Pin
tanarnelinistit23-Jul-06 19:48
tanarnelinistit23-Jul-06 19:48 
AnswerRe: isspace!? Pin
NiceNaidu23-Jul-06 20:25
NiceNaidu23-Jul-06 20:25 
GeneralRe: isspace!? Pin
tanarnelinistit23-Jul-06 20:34
tanarnelinistit23-Jul-06 20:34 
GeneralRe: isspace!? Pin
Steve Echols23-Jul-06 20:40
Steve Echols23-Jul-06 20:40 
GeneralRe: isspace!? Pin
NiceNaidu23-Jul-06 20:54
NiceNaidu23-Jul-06 20:54 
GeneralRe: isspace!? Pin
Steve Echols23-Jul-06 20:58
Steve Echols23-Jul-06 20:58 
GeneralRe: isspace!? Pin
tanarnelinistit23-Jul-06 21:05
tanarnelinistit23-Jul-06 21:05 
GeneralRe: isspace!? Pin
Steve Echols23-Jul-06 21:08
Steve Echols23-Jul-06 21:08 
QuestionRe: isspace!? Pin
David Crow24-Jul-06 3:36
David Crow24-Jul-06 3:36 
GeneralRe: isspace!? Pin
tanarnelinistit23-Jul-06 21:06
tanarnelinistit23-Jul-06 21:06 
AnswerRe: isspace!? Pin
Hamid_RT23-Jul-06 21:01
Hamid_RT23-Jul-06 21:01 
AnswerRe: isspace!? Pin
Steve Echols23-Jul-06 21:16
Steve Echols23-Jul-06 21:16 
QuestionClose Handle and FindClose Pin
ashokvishnu23-Jul-06 19:25
ashokvishnu23-Jul-06 19:25 
AnswerRe: Close Handle and FindClose Pin
NiceNaidu23-Jul-06 19:37
NiceNaidu23-Jul-06 19:37 
GeneralRe: Close Handle and FindClose Pin
Michael Dunn23-Jul-06 21:42
sitebuilderMichael Dunn23-Jul-06 21:42 
AnswerRe: Close Handle and FindClose Pin
Hamid_RT23-Jul-06 21:03
Hamid_RT23-Jul-06 21:03 
Questionapplication with built in administrator privilege. Pin
ragavan23-Jul-06 19:07
ragavan23-Jul-06 19: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.