I have successfully created a Combo using CreateWindow API.
hdlgid = CreateWindow ("COMBOBOX", "",
WS_CHILD | CBS_SIMPLE | CBS_SORT | WS_VSCROLL,
100, 100, 180, 180, g_hWndMain, NULL, g_hInst, NULL) ;
when i add data to combo one by one, it gets added successfully.
but fails in case of a loop.
Fails in this case:-
for (cntr = 0; cntr<g_NoOfCount; cntr++)
kindly suggest any solution to fill data in combo using loop.