formZ SDK | 5.0 API Reference | System | User Interface (FUIM)

# fz_fuim_pview_opts_set_cmds

Description

Adds commands to the preview item. This will also add the command's tool icons in the preview items border.

Plugin Prototype

void fz_fuim_pview_opts_set_cmds(

fz_fuim_pview_opts_ptr | pview_opts,
fzrt_UUID_td * | cmd_ids,
fzrt_int | num_cmds,
fzrt_int | default_indx )

Parameters

pview_opts [Input]

fuim manager

cmd_ids [Input]

an array of command ids

num_cmds [Input]

the number of commands in the cmd_ids array

default_indx [Input]

an index into the array for the initially selected tool.

Default Value: -1; initially selected tool will be an available view tool.

Availability

7.0.0.0

See Also

fz_fuim_new_preview, , fz_fuim_pview_opts_finit,

Function Set

fz_fuim_fset

Defined in

fz_fuim_api.h