[python-win32] Creating PyCComboBox?

Vernon Cole vernondcole at gmail.com
Sat Jun 11 18:09:06 CEST 2011


I've been intending to make enough time to create a combobox for PyGUI.  In
my humble opinion, the combobox provided by Windows GUI is brain damaged to
the point of utter frustration and should not be used for human
consumption.  I sent an epistle to this effect to the wxpython group, and
got the answer "that's what the OS provides."
  The problem is that the Windows combobox does not allow for the user to
type more than one letter to select an item from the list -- there is no
provision for matching to a substring. Let's say that I am trying to select
"Wisconsin" from a list of states of the U.S.  I type the "W" and get
"Washington". Then I type the "I" and get "Idaho".  Most frustrating.  If I
am trying to select "1950" from a list of acceptable years, I must use the
mouse, or scroll down 50 times from "1900". Yech!
  I think that a proper combobox will have to be coded at a higher level.  I
hope I'm wrong.
--
Vernon Cole


On Sat, Jun 11, 2011 at 12:55 AM, Greg Ewing <greg.ewing at canterbury.ac.nz>wrote:

> How are you supposed to create a PyCComboBox? There
> doesn't seem to be a CreateComboBox function anywhere.
>
> I tried using CreateControl("COMBOBOX", ...) but it
> says that the CLSID is invalid.
>
> --
> Greg
> _______________________________________________
> python-win32 mailing list
> python-win32 at python.org
> http://mail.python.org/mailman/listinfo/python-win32
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-win32/attachments/20110611/c7f7372d/attachment.html>


More information about the python-win32 mailing list