Returns the position on the x-axis that represents the width of a specified control or the last parked control.
|
Syntax:
|
CWidth(control name,generation)
|
Parameters:
|
control name: The name of the control. If you specify an empty string (''), the last parked control will be used.
|
|
generation: A number that represents the task's hierarchic position in the runtime task tree. 0 represents the current task, 1 its immediate ancestor, and so on.
|
Returns:
|
Position in units of measurement
|
Platform specific:
|
This function is not supported for mobile devices.
|
See also:
|
The Online and Rich Client Samples projects (program IF01 and RIF01)
|