Re: ComboBox character handling
- From: Steven Levine <steve53@xxxxxxxxxxxxxxxxxxx>
- Date: Sun, 07 Jun 2009 22:20:45 -0700
In <0LudnSyT8-KayrHXnZ2dnUVZ_tudnZ2d@xxxxxxxxxxxx>, on 06/07/2009
at 05:10 PM, Jim Moe <jmm-list.AXSPAMGN@xxxxxxxxxxxxxx> said:
Hi Jim,
As it turns out, it is the area of the client (parent) that would be
covered by the list box if it were showing.
If you mean the parent of the combobox, then just invalidate this area of
the parent's window. Use WinMapWindowPoints to convert the combobox
rectangle to the parent's coordinates.
How would I know that? The structure of a combination box is not
described anywhere except in the most general terms ("It is a combination
of an entry field and a list box.").
I don't know where you read this. This is what my copy of the PMG&R has
to say
<snip>
A combination box is two controls in one: an entry field and a list box.
This chapter describes how to use combination-box controls, also called
combination boxes and prompted entry fields, to let the user choose and
edit items from a list in PM applications. </snip>
IAC, the docs are what they are so it's not terribly productive to
complain about missing or incorrect content. If something is not clear,
you need to ask questions. Just making statements will probably not get
you answers to your questions.
I have used PMTree. It shows the listbox as a completely separate
control from the combination box, as you say. The entry field is shown as
a child of the combination box. Why not the list box as well? The
hiearchy makes little sense to me.
Try visualizing it differently and it should make sense. PMTree shows the
combobox and the entry field windows because they exist. PMTree can not
show what does not exist. Activating PMTree causes the combobox window
procedure to close the listbox window, at least that is what appears to be
happening. It does not appear that the listbox is given to the Object
window for safekeeping while it is not visible.
Since the drop down arrow does not show up as a separate window, one has
to suspect it's a graphic image managed by the combobox control.
Steven
--
--------------------------------------------------------------------------------------------
Steven Levine <steve53@xxxxxxxxxxxxxxxxxxx>
eCS/Warp/DIY etc. www.scoug.com www.ecomstation.com
--------------------------------------------------------------------------------------------
.
- Follow-Ups:
- Re: ComboBox character handling
- From: Jim Moe
- Re: ComboBox character handling
- References:
- ComboBox character handling
- From: Jim Moe
- Re: ComboBox character handling
- From: Jim Moe
- Re: ComboBox character handling
- From: Steven Levine
- Re: ComboBox character handling
- From: Jim Moe
- Re: ComboBox character handling
- From: Steven Levine
- Re: ComboBox character handling
- From: Jim Moe
- Re: ComboBox character handling
- From: Steven Levine
- Re: ComboBox character handling
- From: Jim Moe
- ComboBox character handling
- Prev by Date: Re: ComboBox character handling
- Next by Date: Re: Replacing a EntryField with a ComboBox
- Previous by thread: Re: ComboBox character handling
- Next by thread: Re: ComboBox character handling
- Index(es):
Relevant Pages
|