Good afternoon!
I want to make a resource file manually. I also want to include a drop down combo-box. How to you write the strings that are displayed in the drop down list to the resource file? For example a drop down list of month names, how/where about in the resource file does "January", February" etc go?
Does this involve Hex? I don't know anything about this, where do I learn?!
At present I use a string table and then:
Anyway, hope this makes sense,
Thanks...
I want to make a resource file manually. I also want to include a drop down combo-box. How to you write the strings that are displayed in the drop down list to the resource file? For example a drop down list of month names, how/where about in the resource file does "January", February" etc go?
Does this involve Hex? I don't know anything about this, where do I learn?!
At present I use a string table and then:
invoke LoadString, hInstance, IDS_JAN, addr sStringBuffer, 9
invoke SendMessage, hCombobox2, CB_INSERTSTRING, 0, addr sStringBuffer
for January etc.
Anyway, hope this makes sense,
Thanks...
C'mon someone! There must be a way to do this? All I want is something like:
Surely it can't be impossible to add strings to a combobox from a resource file?!
Cheers anyway,
~Adam
COMBOBOX IDC_COMBO1, 118,88,49,28, CBS_DROPDOWNLIST | WS_VSCROLL | CBS_HASSTRINGS
BEGIN
COMBOBOXITEM "Item1", IDC_COMBO1
COMBOBOXITEM "Item2", IDC_COMBO1
COMBOBOXITEM "Item3", IDC_COMBO1
END
Surely it can't be impossible to add strings to a combobox from a resource file?!
Cheers anyway,
~Adam