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

PtGenListLockItem()

Lock an item so it can be resized

Synopsis:

void PtGenListLockItem( PtWidget_t *list, 
                        PtGenListItem_t *item );

Description:

Use this function if the size field of a list item must be changed. Call PtGenListLockItem() first to save the old size of the item, then modify the item. Then, call PtGenListUnlockItem() last to update and resize or redisplay the widget if necessary.


Note: You can lock only one item per widget at a time. If you resize a large number of items, set all the sizes and then call PtGenListResize().

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtGenList, PtGenListItem_t


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/ptgenlistlockitem.html on line 96

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/ptgenlistlockitem.html on line 96