33 :
ActiveWindow(p->GetScreen(), ax, ay, aw, ah, aid, 0, p)
46 sprintf_s(buf,
"ComboBox %d",
id);
64 sprintf_s(buf,
"ComboBox %d",
id);
82 if (nNewValue < 0) nNewValue = 0;
116 if (w < 1 || h < 1 || !
shown)
119 Rect btn_rect(x,y,w,h);
130 double h3 = (double)h/3.0;
132 arrow[0].x = (int) (w-2*h3);
133 arrow[0].y = (int) (h3);
134 arrow[1].x = (int) (w-h3);
135 arrow[1].y = (int) (h3);
136 arrow[2].x = (int) ((arrow[1].x + arrow[0].x)/2);
137 arrow[2].y = (int) (2*h3);
153 int vert_space = label_rect.
h;
154 int horz_space = label_rect.
w;
157 vert_space = (vert_space - label_rect.
h)/2;
159 label_rect.
w = horz_space;
162 label_rect.
y += vert_space;
346 if (new_seln >= 0 && new_seln <
items.
size())
376 Text* t =
new(__FILE__,__LINE__)
Text(item);
384 return items[index]->data();
391 if (index >= 0 && index <
items.
size()) {
392 *
items[index] = item;
396 Text* t =
new(__FILE__,__LINE__)
Text(item);