Professional Web Applications Themes

HIComboBox - Mac Programming

Hi to all I have created a ComboBox under Carbon using the HIComboBoxCreate function, but I'm not able to manage it. Have anyone a code example in order to understand how associate an event when a ComboBox item is selected ? Moreover using that function in order to create a ComboBox I have the subsequent problem : when I select an item in the ComboBox list the mouse up event seems to be disabled, because when I click in the down-arrow appear the items list but the list doesn't disappear when I select one of them. It disappear when I ...

  1. #1

    Default HIComboBox

    Hi to all
    I have created a ComboBox under Carbon using the HIComboBoxCreate
    function, but I'm not able to manage it. Have anyone a code example in
    order to understand how associate an event when a ComboBox item is
    selected ? Moreover using that function in order to create a ComboBox I
    have the subsequent problem : when I select an item in the ComboBox list
    the mouse up event seems to be disabled, because when I click in the
    down-arrow appear the items list but the list doesn't disappear when I
    select one of them. It disappear when I click in another part of the
    active window that contains the combobox itself.
    best regards


    --
    Posted via Mailgate.ORG Server - [url]http://www.Mailgate.ORG[/url]
    Loris Cecchinelli Guest

  2. #2

    Default Re: HIComboBox

    dans l'article [email]188cd4ab8bb86bd872ee2ce86e3571eb.115629mygate.mai lgate.org[/email],
    Loris Cecchinelli à [email]kemes2000yahoo.it[/email] a écrit le 26/08/03 9:20:
    > Hi to all
    > I have created a ComboBox under Carbon using the HIComboBoxCreate
    > function, but I'm not able to manage it. Have anyone a code example in
    > order to understand how associate an event when a ComboBox item is
    > selected ? Moreover using that function in order to create a ComboBox I
    > have the subsequent problem : when I select an item in the ComboBox list
    > the mouse up event seems to be disabled, because when I click in the
    > down-arrow appear the items list but the list doesn't disappear when I
    > select one of them. It disappear when I click in another part of the
    > active window that contains the combobox itself.
    > best regards
    >
    I think you need to use SetControlMaximum to the number of items in your
    list

    Eric

    Eric VERGNAUD Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139