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:


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...
Posted on 2002-09-23 08:37:07 by adamjjackson
heya,

check some FASM samples at http://fasm.metro-nt.pl

uNdErX
Posted on 2002-09-23 22:07:02 by uNdErX
C'mon someone! There must be a way to do this? All I want is something like:


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
Posted on 2002-09-24 04:12:17 by adamjjackson