Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistgetselindexes.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistgetselindexes.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistgetselindexes.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistgetselindexes.html on line 8

PtGenListGetSelIndexes()

Get the indexes of the selected items

Synopsis:

unsigned short *PtGenListGetSelIndexes( 
                    PtWidget_t *widget, 
                    unsigned short *buffer );

Description:

This function fills the given buffer with the indexes of the currently selected items. The first item in the list has an index of 1, not 0.

If buffer is NULL, the function allocates a buffer using malloc(), and terminates the buffer with a zero. It's your application's responsibility to free the buffer when it's no longer needed.

If buffer isn't NULL, the function adds a 0 to the end only if there are no selected items.

Returns:

A pointer to the buffer.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistgetselindexes.html on line 93

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/widget_ref/pt/ptgenlistgetselindexes.html on line 93