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/ptlistremovepositions.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/ptlistremovepositions.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/ptlistremovepositions.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/ptlistremovepositions.html on line 8

PtListRemovePositions()

Remove items in a list at specific positions

Synopsis:

int PtListRemovePositions( 
       PtWidget_t *widget,
       const unsigned short *pos_list,
       int pos_count );

Description:

This function deletes the item at each position specified in the array pos_list. The first item in the widget has a position of 1, not 0. The pos_count argument specifies the number of entries in the pos_list array.

Returns:

0
Success.
-1
The specified widget isn't a PtList widget.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtList, PtListDeleteAllItems(), PtListDeleteItemPos(), PtListDeleteItems()


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/ptlistremovepositions.html on line 99

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/ptlistremovepositions.html on line 99