Closed
Bug 310054
Opened 19 years ago
Closed 13 years ago
IHtmlImgElement interface implementation
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, enhancement)
Tracking
(Not tracked)
RESOLVED
INVALID
People
(Reporter: atremon, Unassigned)
Details
Attachments
(1 file)
|
18.73 KB,
patch
|
Details | Diff | Splinter Review |
I implemented the complete, width, height (get), src (get/put) properties.
| Reporter | ||
Comment 1•19 years ago
|
||
| Reporter | ||
Updated•19 years ago
|
Component: General → Embedding: ActiveX Wrapper
Product: Mozilla Application Suite → Core
| Reporter | ||
Comment 2•19 years ago
|
||
VB test code:
Private Sub Command1_Click()
Dim doc2 As IHTMLDocument2
Set doc2 = MozillaBrowser1.Document
Dim coll As IHTMLElementCollection
Set coll = doc2.All.tags("img")
Dim img As IHTMLImgElement
Set img = coll.Item(0)
Dim l As Long
l = img.Height
l = img.Width
Dim s As String
s = img.src
Dim b As Boolean
b = img.complete
End Sub
Private Sub Form_Load()
MozillaBrowser1.Navigate "www.mozilla.org"
End Sub| Reporter | ||
Comment 3•19 years ago
|
||
Comment on attachment 197409 [details] [diff] [review] implementation Adam, can you review this for me? IHtmlImgElement is defined in the 98 SDK.
Attachment #197409 -
Flags: review?(adamlock)
Updated•19 years ago
|
Assignee: atremon → adamlock
QA Contact: general → dunn5557
Comment 4•19 years ago
|
||
Apologies, I hit the wrong button :(
Assignee: adamlock → atremon
QA Contact: dunn5557 → general
| Reporter | ||
Comment 5•19 years ago
|
||
Comment on attachment 197409 [details] [diff] [review] implementation Hi Benjamin. Could you review this for me? Thank you!
Attachment #197409 -
Flags: review?(adamlock) → review?(benjamin)
Comment 6•19 years ago
|
||
Comment on attachment 197409 [details] [diff] [review] implementation Hrm, what are all the E_NOTIMPL methods? Is it a good idea to have a half-implemented interface?
| Reporter | ||
Comment 7•19 years ago
|
||
Hi benjamin, Actually, for most interfaces I implemented I left methods unimplemented. Three of these partially implemented interfaces are checked in: DomNode, ButtonElement and TxtRange. Others are waiting for VS7 SDK, like IMarkup, and I have some others I didn't open a bug for. But if you look at Adam's work, IHtmlElement is only partially implemented. The goal for me is simply provide the methods I need to begin with, and so there is a framwork for others who would simply want to implement one method without going through the hassle of trying to get something like this checked in. For some interfaces, I also have the main methods implemented for initial check in, and I put some rather complicated methods in another bug. Alex
Comment 8•18 years ago
|
||
Comment on attachment 197409 [details] [diff] [review] implementation As we discussed on email a long time ago, I don't like the piecemeal approach.
Attachment #197409 -
Flags: review?(benjamin)
Updated•15 years ago
|
QA Contact: general → activex
Comment 9•13 years ago
|
||
The ActiveX embedding API was removed in bug 662023 and friends, making this INVALID. [Filter bugspam on activexinvalid]
Assignee: atremon → nobody
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → INVALID
| Assignee | ||
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•