insert_string3w
Insert string into res, starting at start
Usage
gen_res *insert_string
(
gen_res *res,
unsigned char *string,
int start,
int terminating0
);
Overview
Insert string into res, starting at start.
See also
save_memcpy(3w)
SunOS' memcpy is wrong for overlapping arrays
put_WORD(3w)
allow unaligned access
new_res(3w)
create a new gen_res, initial size 100
grow(3w)
double the space
insert_at_beginning(3w)
insert bytes at offset 0, increase num_entries
insert_bytes(3w)
insert length characters from bytes into res, starting at start
insert_string_at_beginning(3w)
insert string at offset 0, increase num_entries
delete_bytes(3w)
delete len bytes from res, starting at start
new_style(3w)
create a new style
add_accelerator(3w)
entries are inserted at the beginning, starting from the last one
add_string_accelerator(3w)
create an integer from the event, taking things as "^c" into account
add_ascii_accelerator(3w)
is there a difference between ASCII and VIRTKEY accelerators?
new_dialog(3w)
create a new dialog header, set all items to 0
dialog_style(3w)
the STYLE option was specified
dialog_get_menu(3w)
menu name is at offset 13 (win32: 18)
dialog_get_class(3w)
the class is after the menu name
dialog_get_caption(3w)
the caption is after the class
dialog_get_fontsize(3w)
the fontsize, if present, is after the caption, followed by the font name
dialog_caption(3w)
the CAPTION option was specified
dialog_font(3w)
the FONT option was specified, set the DS_SETFONT flag
create_control_desc(3w)
set the dialogs id, position, extent, and style
label_control_desc(3w)
insert the control's label
create_generic_control(3w)
a CONTROL was specified
add_control(3w)
insert cd into rest, set the type, add flags
add_icon(3w)
an ICON control was specified, whf contains width, height, and flags
add_generic_control(3w)
insert the generic control into rest
make_dialog(3w)
create a dialog resource by inserting the header into the controls.
hex_to_raw(3w)
create {0x15,0x16,0xFF} from '15 16 FF'
make_bitmap(3w)
create a bitmap resource
load_file(3w)
load resource bytes from the file name
add_menuitem(3w)
insert a normal menu item into res, starting from the last item
add_popup(3w)
insert a popup item into res
make_menu(3w)
prefix the menu header into res
add_resource(3w)
link top-level resources
get_resource_name(3w)
create strings like _Sysres_DIALOG_2
create_output(3w)
create the final output
parse_c_string(3w)
translate "Hello,\tworld!\10" to "Hello, world!0
Referred to by
grow(3w)
double the space
new_res(3w)
create a new gen_res, initial size 100
add_icon(3w)
an ICON control was specified, whf contains width, height, and flags
put_WORD(3w)
allow unaligned access
add_popup(3w)
insert a popup item into res
load_file(3w)
load resource bytes from the file name
make_menu(3w)
prefix the menu header into res
new_style(3w)
create a new style
hex_to_raw(3w)
create {0x15,0x16,0xFF} from '15 16 FF'
new_dialog(3w)
create a new dialog header, set all items to 0
add_control(3w)
insert cd into rest, set the type, add flags
dialog_font(3w)
the FONT option was specified, set the DS_SETFONT flag
make_bitmap(3w)
create a bitmap resource
make_dialog(3w)
create a dialog resource by inserting the header into the controls.
save_memcpy(3w)
SunOS' memcpy is wrong for overlapping arrays
add_menuitem(3w)
insert a normal menu item into res, starting from the last item
add_resource(3w)
link top-level resources
delete_bytes(3w)
delete len bytes from res, starting at start
dialog_style(3w)
the STYLE option was specified
insert_bytes(3w)
insert length characters from bytes into res, starting at start
create_output(3w)
create the final output
dialog_caption(3w)
the CAPTION option was specified
parse_c_string(3w)
translate "Hello,\tworld!\10" to "Hello, world!0
add_accelerator(3w)
entries are inserted at the beginning, starting from the last one
dialog_get_menu(3w)
menu name is at offset 13 (win32: 18)
dialog_get_class(3w)
the class is after the menu name
get_resource_name(3w)
create strings like _Sysres_DIALOG_2
dialog_get_caption(3w)
the caption is after the class
label_control_desc(3w)
insert the control's label
add_generic_control(3w)
insert the generic control into rest
create_control_desc(3w)
set the dialogs id, position, extent, and style
dialog_get_fontsize(3w)
the fontsize, if present, is after the caption, followed by the font name
insert_at_beginning(3w)
insert bytes at offset 0, increase num_entries
add_ascii_accelerator(3w)
is there a difference between ASCII and VIRTKEY accelerators?
add_string_accelerator(3w)
create an integer from the event, taking things as "^c" into account
create_generic_control(3w)
a CONTROL was specified
insert_string_at_beginning(3w)
insert string at offset 0, increase num_entries