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/lib_ref/pt/ptcreatetransportctrl.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/lib_ref/pt/ptcreatetransportctrl.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/lib_ref/pt/ptcreatetransportctrl.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/lib_ref/pt/ptcreatetransportctrl.html on line 8

PtCreateTransportCtrl()

Create a transport control structure for use with Drag and Drop

Synopsis:

PtTransportCtrl_t *PtCreateTransportCtrl();

Library:

ph

Description:

This function creates and initializes a control structure for the request and inline transport mechanism used for Drag and Drop. A widget that wants to act as the source in a drag-and-drop operation typically calls PtCreateTransportCtrl() in its Pt_CB_ARM callback.

Returns:

A pointer to the PtTransportCtrl_t structure, or NULL if it couldn't be created.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtDndFetch_t, PtDndSelect(), PtInitDnd(), PtReleaseTransportCtrl(), PtTransportCtrl_t, PtTransportType()

Drag and Drop chapter of the Photon Programmer's Guide


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/lib_ref/pt/ptcreatetransportctrl.html on line 101

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/lib_ref/pt/ptcreatetransportctrl.html on line 101