LVectorDialog::EnableSelectedOnly
#include "ltwrappr.h"
L_BOOL LVectorDialog::EnableSelectedOnly(bSelectedOnly=TRUE)
L_BOOL bSelectedOnly; |
/* selection flag */ |
Sets a flag that indicates whether to process only selected objects or all objects.
Parameter |
Description |
|
bSelectedOnly |
Flag that indicates whether to process only selected objects or all objects. Possible values are: |
|
|
Value |
Meaning |
|
TRUE |
Process only selected objects. |
|
FALSE |
Process all objects. |
Returns
TRUE |
The previous setting was TRUE. |
FALSE |
The previous setting was FALSE. |
Required DLLs and Libraries
LVKRN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. |
See Also
Functions: |
|
Topics: |
Example
// This example selects object under pPoint, displays the rotate dialog,
// and only rotates selected objects
L_VOID Example92(LVectorBase *pVector, LPPOINT pPoint)
{
L_INT nRet;
LVectorObject VectorObject;
nRet = pVector->HitTest (pPoint, &VectorObject);
if (nRet == SUCCESS)
{
VectorObject.SelectObject ();
LVectorDialog VectorDlg(pVector);
VectorDlg.EnablePreview ();
VectorDlg.EnableAutoProcess ();
VectorDlg.EnableSelectedOnly ();
VectorDlg.DoModalVectorRotate();
}
}