Wie programmiert man eine ComboBox?



  • und wie kann ich da eingreifen?

    [ Dieser Beitrag wurde am 01.04.2003 um 14:18 Uhr von Xqgene editiert. ]



  • Hab das mit dem Spy-Tool WinSpector gemacht. Da wird geloggt wann welche Fenster erstellt und zerstört wurden. Dann hab ich da ComboLBox gesehen.

    In der MSDN steht es aber auch
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnwui/html/msdn_classy32.asp

    ComboLBox: The class for the drop-down list box contained in a combo box.



  • Keine Antwort auf die Frage, aber vielleicht trotzdem interessant:

    However, the ComboLBox (list box) window for combo boxes that have the CBS_DROPDOWN or CBS_DROPDOWNLIST style is not a child of the ComboBox window. Instead, each ComboLBox window is a child of the desktop window. This is required so that, when the drop-down list box is dropped, it can extend outside the application window or dialog box. Otherwise, the list box would be clipped at the window or dialog box border.

    Because the ComboLBox window is not a child of the ComboBox window, there is no simple method to get the handle of one window, given the other. For example, given a handle to the ComboBox, the handle to any associated drop- down list box is not readily available. The ComboLBox is a private class registered by USER that is a list box with the class style CS_SAVEBITS.


Anmelden zum Antworten