Archive: [Nsdialogs] Combobox readonly


[Nsdialogs] Combobox readonly
  Hello,
I have a problem with combobox. I create this control, adds some items and want to do it as readonly. How to do it?
Items on the list can't be edited (it must be Item 1, Item 2 or Item 3)...

This is how I create the control.


CB_Buttons

>Var CB_Index_Buttons

>${NSD_CreateComboBox} 0 20 32% 100 ""
>Pop $CB_Buttons
${NSD_CB_AddString} $CB_Buttons "Item 1"
${NSD_CB_AddString} $CB_Buttons "Item 2"
${NSD_CB_AddString} $CB_Buttons "Item 3"

StrCpy $CB_Index_Buttons 0
SendMessage $CB_Buttons${CB_SETCURSEL} $CB_Index_Buttons 0

${NSD_OnChange} $CB_Buttons CB_Buttons_Change
>
In "CB_Buttons_Change" function I change displaying image on the page, when user change item on the combobox.
What should I do to make combobox readonly?
Thanks in advance,
-Pawel

OK, the problem can be resolved by using this control ${NSD_CreateDropList}. But, I still wonder how to do readonly ComboBox using nsdialogs...

a droplist is a read only combobox, so I don't understand the problem