🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.web
Article #1203

Re: Combobox and Dropdown Box Interfaces?

#1203
From: Remy Lebeau (TeamB)
Date: Wed, 03 Aug 2005 19:48
22 lines
1861 bytes
"Mitch McInelly" <mitch@agencysoftware.com> wrote in message
news:42f1176b$1@newsgroups.borland.com...

> it just skips over my combo boxes displayed in the browser.

Of course it does, because you did not code in the ComboBox interfaces.  You
did not read the MSHTML interface documentation, did you?


http://msdn.microsoft.com/workshop/browser/mshtml/reference/ifaces/interface.asp

ComboBoxes are not handled by the <input> HTML tag to begin with, so
IHTMLInputElement is the wrong interface to use.  ComboBoxes are handled by
the <select> HTML tag instead, and thus you should be using the
IHTMLSelectElement interface instead.  The individual items of the list are
contained in <option> tags inside the <select> so you can use the
IHTMLSelectElement's item() method to retreive the IHTMLOptionElement
interface for each item in the list.


Gambit
Technical Details
Message-ID: <42f11f81$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42f1176b$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: feeec,7d001b48edf887db
X-Google-Attributes: gidfeeec,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.internet.web
References: <42f1176b$1@newsgroups.borland.com>
Subject: Re: Combobox and Dropdown Box Interfaces?
Date: Wed, 3 Aug 2005 12:48:17 -0700
Lines: 24
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1409
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409
NNTP-Posting-Host: 68.69.17.41
Message-ID: <42f11f81$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123098497 68.69.17.41 (3 Aug 2005 12:48:17 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder.xsnews.nl!feeder.enertel.nl!nntpfeed-01.ops.asmr-01.energis-idc.net!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail