hObj = CwFindNextObject(hLastObj) hLastObj (handle) Handle to an object hObj (handle) Handle to an object
A program can cycle through all of the objects in the current view by repeatedly calling CwFindNextObject with the handle returned in the previous call as the argument. The sequence of objects visited when calling CwFindNextObject in this manner is the same as the sequence of objects selected when using the page-down key.
This function behaves identically to CwFindPreviousObject except that the order in which objects are cycled through is reversed.
/* Do something to all objects in the current view. */ o = CwFindFirstObject(CwGetCurrentView()) do while CwIsHandleValid(o) call doSomethingTo o o = CwFindNextObject(o) end
Passing a null handle is equivalent to CwFindFirstObject with the currently selected view.
Functions by NAME |
Index |
Functions by PURPOSE |