1 | .******************************************************
|
---|
2 |
|
---|
3 | :h2 res=450
|
---|
4 | width=30%
|
---|
5 | .wpClose
|
---|
6 | :link reftype=hd res=451
|
---|
7 | auto dependent group=2.
|
---|
8 | :p.
|
---|
9 | :link reftype=hd res=451.Syntax:elink.
|
---|
10 | .br
|
---|
11 | :link reftype=hd res=453 dependent.Returns:elink.
|
---|
12 | .*.br
|
---|
13 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
14 | .*.br
|
---|
15 | .*:link reftype=hd res=315.Usage:elink.
|
---|
16 | .*.br
|
---|
17 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
18 |
|
---|
19 | :h2 res=451
|
---|
20 | x=30%
|
---|
21 | width=70%
|
---|
22 | hide
|
---|
23 | group=2
|
---|
24 | .wpClose - Syntax
|
---|
25 | :xmp.
|
---|
26 | /* Close all open views of an object */
|
---|
27 |
|
---|
28 | theObject /* WPS-object */
|
---|
29 | :p.
|
---|
30 | rc=MFldrCallWPSFunc("wpClose", theObject);
|
---|
31 | :exmp.
|
---|
32 |
|
---|
33 |
|
---|
34 | :h2 res=453
|
---|
35 | x=30%
|
---|
36 | width=70% height=35%
|
---|
37 | group=3
|
---|
38 | hide
|
---|
39 | .wpClose - Return value
|
---|
40 | :p.
|
---|
41 | :hp2.rc:ehp2. numeric
|
---|
42 | :p.
|
---|
43 | The return value is 0 if an error occured.
|
---|
44 |
|
---|
45 | .******************************************************
|
---|
46 |
|
---|
47 | :h2 res=460
|
---|
48 | width=30%
|
---|
49 | .wpHide
|
---|
50 | :link reftype=hd res=461
|
---|
51 | auto dependent group=2.
|
---|
52 | :p.
|
---|
53 | :link reftype=hd res=461.Syntax:elink.
|
---|
54 | .br
|
---|
55 | :link reftype=hd res=463 dependent.Returns:elink.
|
---|
56 | .*.br
|
---|
57 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
58 | .*.br
|
---|
59 | .*:link reftype=hd res=315.Usage:elink.
|
---|
60 | .*.br
|
---|
61 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
62 |
|
---|
63 | :h2 res=461
|
---|
64 | x=30%
|
---|
65 | width=70%
|
---|
66 | hide
|
---|
67 | group=2
|
---|
68 | .wpHide - Syntax
|
---|
69 | :xmp.
|
---|
70 | /* Hide all open views of an object */
|
---|
71 |
|
---|
72 | theObject /* WPS-object */
|
---|
73 | :p.
|
---|
74 | rc=MFldrCallWPSFunc("wpHide", theObject);
|
---|
75 | :exmp.
|
---|
76 |
|
---|
77 |
|
---|
78 | :h2 res=463
|
---|
79 | x=30%
|
---|
80 | width=70% height=35%
|
---|
81 | group=3
|
---|
82 | hide
|
---|
83 | .wpHide - Return value
|
---|
84 | :p.
|
---|
85 | :hp2.rc:ehp2. numeric
|
---|
86 | :p.
|
---|
87 | The return value is 0 if an error occured.
|
---|
88 |
|
---|
89 | .******************************************************
|
---|
90 |
|
---|
91 | :h2 res=470
|
---|
92 | width=30%
|
---|
93 | .wpIsDeleteable
|
---|
94 | :link reftype=hd res=471
|
---|
95 | auto dependent group=2.
|
---|
96 | :p.
|
---|
97 | :link reftype=hd res=471.Syntax:elink.
|
---|
98 | .br
|
---|
99 | :link reftype=hd res=473 dependent.Returns:elink.
|
---|
100 | .*.br
|
---|
101 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
102 | .*.br
|
---|
103 | .*:link reftype=hd res=315.Usage:elink.
|
---|
104 | .*.br
|
---|
105 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
106 |
|
---|
107 | :h2 res=471
|
---|
108 | x=30%
|
---|
109 | width=70%
|
---|
110 | hide
|
---|
111 | group=2
|
---|
112 | .wpIsDeleteable - Syntax
|
---|
113 | :xmp.
|
---|
114 | /* Check if an object is deleteable */
|
---|
115 |
|
---|
116 | theObject /* The WPS-object to be checked */
|
---|
117 | :p.
|
---|
118 | rc=MFldrCallWPSFunc("wpIsDeleteable", theObject);
|
---|
119 | :exmp.
|
---|
120 |
|
---|
121 |
|
---|
122 | :h2 res=473
|
---|
123 | x=30%
|
---|
124 | width=70% height=35%
|
---|
125 | group=3
|
---|
126 | hide
|
---|
127 | .wpIsDeleteable - Return value
|
---|
128 | :p.
|
---|
129 | :hp2.rc:ehp2. numeric
|
---|
130 | :p.
|
---|
131 | The return value is 0 if not deletable.
|
---|
132 |
|
---|
133 | .******************************************************
|
---|
134 |
|
---|
135 | :h2 res=480
|
---|
136 | width=30%
|
---|
137 | .wpQueryAttr
|
---|
138 | :link reftype=hd res=481
|
---|
139 | auto dependent group=2.
|
---|
140 | :p.
|
---|
141 | :link reftype=hd res=481.Syntax:elink.
|
---|
142 | .br
|
---|
143 | :link reftype=hd res=483 dependent.Returns:elink.
|
---|
144 | .*.br
|
---|
145 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
146 | .*.br
|
---|
147 | .*:link reftype=hd res=315.Usage:elink.
|
---|
148 | .*.br
|
---|
149 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
150 |
|
---|
151 | :h2 res=481
|
---|
152 | x=30%
|
---|
153 | width=70%
|
---|
154 | hide
|
---|
155 | group=2
|
---|
156 | .wpQueryAttr - Syntax
|
---|
157 | :xmp.
|
---|
158 | /* Query the file attributes of an object */
|
---|
159 |
|
---|
160 | theObject /* The WPS-object to be checked
|
---|
161 | Must be of class WPFileSystem */
|
---|
162 | :p.
|
---|
163 | rc=MFldrCallWPSFunc("wpQueryAttr", theObject);
|
---|
164 | :exmp.
|
---|
165 |
|
---|
166 |
|
---|
167 | :h2 res=483
|
---|
168 | x=30%
|
---|
169 | width=70% height=35%
|
---|
170 | group=3
|
---|
171 | hide
|
---|
172 | .wpQueryAttr - Return value
|
---|
173 | :p.
|
---|
174 | :hp2.rc:ehp2. numeric
|
---|
175 | :p.
|
---|
176 | The return value is a bit mask of the file attributes.
|
---|
177 |
|
---|
178 |
|
---|
179 | .******************************************************
|
---|
180 |
|
---|
181 | :h2 res=490
|
---|
182 | width=30%
|
---|
183 | .wpQueryConcurrentView
|
---|
184 | :link reftype=hd res=491
|
---|
185 | auto dependent group=2.
|
---|
186 | :p.
|
---|
187 | :link reftype=hd res=491.Syntax:elink.
|
---|
188 | .br
|
---|
189 | :link reftype=hd res=493 dependent.Returns:elink.
|
---|
190 | .*.br
|
---|
191 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
192 | .*.br
|
---|
193 | .*:link reftype=hd res=315.Usage:elink.
|
---|
194 | .*.br
|
---|
195 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
196 |
|
---|
197 | :h2 res=491
|
---|
198 | x=30%
|
---|
199 | width=70%
|
---|
200 | hide
|
---|
201 | group=2
|
---|
202 | .wpQueryConcurrentView - Syntax
|
---|
203 | :xmp.
|
---|
204 | /* Query the concurrent view behavior of an object */
|
---|
205 |
|
---|
206 | theObject /* The WPS-object to be checked */
|
---|
207 | :p.
|
---|
208 | ulView=MFldrCallWPSFunc("wpQueryConcurrentView",
|
---|
209 | theObject);
|
---|
210 | :exmp.
|
---|
211 |
|
---|
212 |
|
---|
213 | :h2 res=493
|
---|
214 | x=30%
|
---|
215 | width=70% height=55%
|
---|
216 | group=3
|
---|
217 | hide
|
---|
218 | .wpQueryConcurrentView - Return value
|
---|
219 | :p.
|
---|
220 | :hp2.ulView:ehp2. numeric
|
---|
221 | :p.
|
---|
222 | The return value is one of the following:
|
---|
223 |
|
---|
224 | :ul.
|
---|
225 | :li.CCVIEW_DEFAULT: 0
|
---|
226 | .br
|
---|
227 | Concurrent view is set to system default.
|
---|
228 | :li.CCVIEW_ON: 1
|
---|
229 | .br
|
---|
230 | Concurrent view is off.
|
---|
231 | :li.CCVIEW_OFF: 2
|
---|
232 | .br
|
---|
233 | Concurrent view is off.
|
---|
234 | :eul.
|
---|
235 |
|
---|
236 |
|
---|
237 |
|
---|
238 | .******************************************************
|
---|
239 |
|
---|
240 | :h2 res=500
|
---|
241 | width=30%
|
---|
242 | .wpQueryConfirmations
|
---|
243 | :link reftype=hd res=501
|
---|
244 | auto dependent group=2.
|
---|
245 | :p.
|
---|
246 | :link reftype=hd res=501.Syntax:elink.
|
---|
247 | .br
|
---|
248 | :link reftype=hd res=503 dependent.Returns:elink.
|
---|
249 | .*.br
|
---|
250 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
251 | .*.br
|
---|
252 | .*:link reftype=hd res=315.Usage:elink.
|
---|
253 | .*.br
|
---|
254 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
255 |
|
---|
256 | :h2 res=501
|
---|
257 | x=30%
|
---|
258 | width=70%
|
---|
259 | hide
|
---|
260 | group=2
|
---|
261 | .wpQueryConfirmations - Syntax
|
---|
262 | :xmp.
|
---|
263 | /* Query which confirmations are set for this
|
---|
264 | object */
|
---|
265 |
|
---|
266 | theObject /* The WPS-object on which the method is invoked */
|
---|
267 | :p.
|
---|
268 | ulFlag=MFldrCallWPSFunc("wpQueryConfirmations", theObject);
|
---|
269 | :exmp.
|
---|
270 |
|
---|
271 |
|
---|
272 | :h2 res=503
|
---|
273 | x=30%
|
---|
274 | width=70% height=55%
|
---|
275 | group=3
|
---|
276 | hide
|
---|
277 | .wpQueryConfirmations - Return value
|
---|
278 | :p.
|
---|
279 | :hp2.ulFlag:ehp2. numeric
|
---|
280 | :p.
|
---|
281 | The return value is one of the following.
|
---|
282 | :ul.
|
---|
283 | :li.0
|
---|
284 | .br
|
---|
285 | No confirmation set.
|
---|
286 | :li.CONFIRM_DELETE 0x0001
|
---|
287 | .br
|
---|
288 | Prompt for all objects.
|
---|
289 | :li.CONFIRM_DELETEFOLDER 0x0002
|
---|
290 | .br
|
---|
291 | Prompt for folders only.
|
---|
292 | :li.CONFIRM_RENAMEFILESWITHEXT 0x0004
|
---|
293 | .br
|
---|
294 | Prompt when renaming files with extension.
|
---|
295 | :li.CONFIRM_KEEPASSOC 0x0008
|
---|
296 | .br
|
---|
297 | Prompt if file to be renamed has an association depending on the extension.
|
---|
298 | :li.CONFIRM_ACTION 0x0010
|
---|
299 | .br
|
---|
300 | Prompt when moving, copying or creating shadows.
|
---|
301 | :li.CONFIRM_PROGRESS 0x0020
|
---|
302 | .br
|
---|
303 | Display a dialog box when performing a copy, move etc.
|
---|
304 | :li.CONFIRM_ALLOWFORCEDELETE 0x0040
|
---|
305 | .br
|
---|
306 | Allow forced delete. Must be set when CONFIRM_FORCEDELETE is set.
|
---|
307 | :li.CONFIRM_FORCEDELETE 0x0080
|
---|
308 | .br
|
---|
309 | Prompt for confirmation of forced deletion.
|
---|
310 | :eul.
|
---|
311 |
|
---|
312 | The values are returned as decimal numbers.
|
---|
313 |
|
---|
314 |
|
---|
315 | .******************************************************
|
---|
316 |
|
---|
317 | :h2 res=510
|
---|
318 | width=30%
|
---|
319 | .wpQueryContent
|
---|
320 | :link reftype=hd res=511
|
---|
321 | auto dependent group=2.
|
---|
322 | :p.
|
---|
323 | :link reftype=hd res=511.Syntax:elink.
|
---|
324 | .br
|
---|
325 | :link reftype=hd res=513 dependent.Returns:elink.
|
---|
326 | .br
|
---|
327 | :link reftype=hd res=514 dependent.Remarks:elink.
|
---|
328 | .*.br
|
---|
329 | .*:link reftype=hd res=315.Usage:elink.
|
---|
330 | .*.br
|
---|
331 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
332 |
|
---|
333 | :h2 res=511
|
---|
334 | x=30%
|
---|
335 | width=70%
|
---|
336 | hide
|
---|
337 | group=2
|
---|
338 | .wpQueryContent - Syntax
|
---|
339 | :xmp.
|
---|
340 | /* Query the contents of a folder */
|
---|
341 |
|
---|
342 | theFolder /* The folder to be checked */
|
---|
343 | theObject /* Previous object or NULL */
|
---|
344 | option /* option, which object to query
|
---|
345 | (QC_FIRST, QC_NEXT, QC_LAST)
|
---|
346 | :p.
|
---|
347 | object=MFldrCallWPSFunc("wpQueryContent",
|
---|
348 | theObject, option);
|
---|
349 | :exmp.
|
---|
350 |
|
---|
351 |
|
---|
352 | :h2 res=513
|
---|
353 | x=30%
|
---|
354 | width=70% height=55%
|
---|
355 | group=3
|
---|
356 | hide
|
---|
357 | .wpQueryContent - Return value
|
---|
358 | :p.
|
---|
359 | :hp2.object:ehp2. numeric
|
---|
360 | :p.
|
---|
361 | Pointer to the requested object.
|
---|
362 |
|
---|
363 |
|
---|
364 | :h2 res=514
|
---|
365 | x=30%
|
---|
366 | width=70%
|
---|
367 | group=2
|
---|
368 | hide
|
---|
369 | .wpQueryContent - Remarks
|
---|
370 | :p.
|
---|
371 | Specify QC_FIRST (0) to get the first object in the folder, QC_LAST (2) for the last. When
|
---|
372 | using QC_NEXT (1) then :hp2.theObject:ehp2. points to the previous object otherwise this
|
---|
373 | parameter is ignored.
|
---|
374 | :p.
|
---|
375 | The order of the objects returned is the order in the internal list of the folder. It's no
|
---|
376 | necessarily the order in which the objects appear in the container.
|
---|
377 |
|
---|
378 |
|
---|
379 |
|
---|
380 | .******************************************************
|
---|
381 |
|
---|
382 | :h2 res=520
|
---|
383 | width=30%
|
---|
384 | .wpQueryDefaultView
|
---|
385 | :link reftype=hd res=521
|
---|
386 | auto dependent group=2.
|
---|
387 | :p.
|
---|
388 | :link reftype=hd res=521.Syntax:elink.
|
---|
389 | .br
|
---|
390 | :link reftype=hd res=523 dependent.Returns:elink.
|
---|
391 | .*.br
|
---|
392 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
393 | .*.br
|
---|
394 | .*:link reftype=hd res=315.Usage:elink.
|
---|
395 | .*.br
|
---|
396 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
397 |
|
---|
398 | :h2 res=521
|
---|
399 | x=30%
|
---|
400 | width=70%
|
---|
401 | hide
|
---|
402 | group=2
|
---|
403 | .wpQueryDefaultView - Syntax
|
---|
404 | :xmp.
|
---|
405 | /* Query the default view of an object */
|
---|
406 |
|
---|
407 | theObject /* The WPS-object to be checked */
|
---|
408 | :p.
|
---|
409 | ulView=MFldrCallWPSFunc("wpQueryDefaultView",
|
---|
410 | theObject);
|
---|
411 | :exmp.
|
---|
412 |
|
---|
413 |
|
---|
414 | :h2 res=523
|
---|
415 | x=30%
|
---|
416 | width=70% height=55%
|
---|
417 | group=3
|
---|
418 | hide
|
---|
419 | .wpQueryDefaultView - Return value
|
---|
420 | :p.
|
---|
421 | :hp2.ulView:ehp2. numeric
|
---|
422 | :p.
|
---|
423 | The return value is one of the following:
|
---|
424 |
|
---|
425 | :ul.
|
---|
426 | :li.OPEN_CONTENTS: 1
|
---|
427 | .br
|
---|
428 | Open in contents view (icon).
|
---|
429 | :li.OPEN_DEFAULT: 0
|
---|
430 | .br
|
---|
431 | Same as doubleclick.
|
---|
432 | :li.OPEN_DETAILS: 102
|
---|
433 | .br
|
---|
434 | Details view.
|
---|
435 | :li.OPEN_HELP: 3
|
---|
436 | .br
|
---|
437 | Display the help panel.
|
---|
438 | :li.OPEN_RUNNING: 4
|
---|
439 | .br
|
---|
440 | Execute the object.
|
---|
441 | :li.OPEN_SETTINGS: 2
|
---|
442 | .br
|
---|
443 | Open the settings of the object.
|
---|
444 | :li.OPEN_TREE: 101
|
---|
445 | .br
|
---|
446 | Open the tree view.
|
---|
447 | :li.OPEN_UNKNOWN: -1
|
---|
448 | .br
|
---|
449 | Unknown view.
|
---|
450 | :li.OPEN_USER: 0x6500 or higher
|
---|
451 | .br
|
---|
452 | A user view introduced by a subclass.
|
---|
453 | :eul.
|
---|
454 |
|
---|
455 |
|
---|
456 |
|
---|
457 | .******************************************************
|
---|
458 |
|
---|
459 | :h2 res=530
|
---|
460 | width=30%
|
---|
461 | .wpQueryDisk
|
---|
462 | :link reftype=hd res=531
|
---|
463 | auto dependent group=2.
|
---|
464 | :p.
|
---|
465 | :link reftype=hd res=531.Syntax:elink.
|
---|
466 | .br
|
---|
467 | :link reftype=hd res=533 dependent.Returns:elink.
|
---|
468 | .*.br
|
---|
469 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
470 | .*.br
|
---|
471 | .*:link reftype=hd res=315.Usage:elink.
|
---|
472 | .*.br
|
---|
473 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
474 |
|
---|
475 | :h2 res=531
|
---|
476 | x=30%
|
---|
477 | width=70%
|
---|
478 | hide
|
---|
479 | group=2
|
---|
480 | .wpQueryDisk - Syntax
|
---|
481 | :xmp.
|
---|
482 | /* Query the disk object a file system
|
---|
483 | object is located on */
|
---|
484 |
|
---|
485 | theObject /* The file system object to be checked */
|
---|
486 | :p.
|
---|
487 | Disk=MFldrCallWPSFunc("wpQueryDisk",
|
---|
488 | theObject);
|
---|
489 | :exmp.
|
---|
490 |
|
---|
491 |
|
---|
492 | :h2 res=533
|
---|
493 | x=30%
|
---|
494 | width=70% height=55%
|
---|
495 | group=3
|
---|
496 | hide
|
---|
497 | .wpQueryDisk - Return value
|
---|
498 | :p.
|
---|
499 | :hp2.Disk:ehp2. numeric
|
---|
500 | :p.
|
---|
501 | The return value is a pointer to the disk object of the drive the file system object is
|
---|
502 | located on.
|
---|
503 |
|
---|
504 | .******************************************************
|
---|
505 |
|
---|
506 | :h2 res=540
|
---|
507 | width=30%
|
---|
508 | .wpQueryEASize
|
---|
509 | :link reftype=hd res=541
|
---|
510 | auto dependent group=2.
|
---|
511 | :p.
|
---|
512 | :link reftype=hd res=541.Syntax:elink.
|
---|
513 | .br
|
---|
514 | :link reftype=hd res=543 dependent.Returns:elink.
|
---|
515 | .*.br
|
---|
516 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
517 | .*.br
|
---|
518 | .*:link reftype=hd res=315.Usage:elink.
|
---|
519 | .*.br
|
---|
520 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
521 |
|
---|
522 | :h2 res=541
|
---|
523 | x=30%
|
---|
524 | width=70%
|
---|
525 | hide
|
---|
526 | group=2
|
---|
527 | .wpQueryEASize - Syntax
|
---|
528 | :xmp.
|
---|
529 | /* Query the size of the EAs of a file system
|
---|
530 | object */
|
---|
531 |
|
---|
532 | theObject /* The file system object */
|
---|
533 | :p.
|
---|
534 | eaSize=MFldrCallWPSFunc("wpQueryEASize",
|
---|
535 | theObject);
|
---|
536 | :exmp.
|
---|
537 |
|
---|
538 |
|
---|
539 | :h2 res=543
|
---|
540 | x=30%
|
---|
541 | width=70% height=55%
|
---|
542 | group=3
|
---|
543 | hide
|
---|
544 | .wpQueryEASize - Return value
|
---|
545 | :p.
|
---|
546 | :hp2.eaSize:ehp2. numeric
|
---|
547 | :p.
|
---|
548 | The return value is the size of the extended attributes of a file.
|
---|
549 |
|
---|
550 |
|
---|
551 | .******************************************************
|
---|
552 |
|
---|
553 | :h2 res=550
|
---|
554 | width=30%
|
---|
555 | .wpQueryFileSize
|
---|
556 | :link reftype=hd res=551
|
---|
557 | auto dependent group=2.
|
---|
558 | :p.
|
---|
559 | :link reftype=hd res=551.Syntax:elink.
|
---|
560 | .br
|
---|
561 | :link reftype=hd res=553 dependent.Returns:elink.
|
---|
562 | .*.br
|
---|
563 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
564 | .*.br
|
---|
565 | .*:link reftype=hd res=315.Usage:elink.
|
---|
566 | .*.br
|
---|
567 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
568 |
|
---|
569 | :h2 res=551
|
---|
570 | x=30%
|
---|
571 | width=70%
|
---|
572 | hide
|
---|
573 | group=2
|
---|
574 | .wpQueryFileSize - Syntax
|
---|
575 | :xmp.
|
---|
576 | /* Query the size file */
|
---|
577 |
|
---|
578 | theObject /* The file system object */
|
---|
579 | :p.
|
---|
580 | size=MFldrCallWPSFunc("wpQueryFileSize",
|
---|
581 | theObject);
|
---|
582 | :exmp.
|
---|
583 |
|
---|
584 |
|
---|
585 | :h2 res=553
|
---|
586 | x=30%
|
---|
587 | width=70% height=55%
|
---|
588 | group=3
|
---|
589 | hide
|
---|
590 | .wpQueryFileSize - Return value
|
---|
591 | :p.
|
---|
592 | :hp2.size:ehp2. numeric
|
---|
593 | :p.
|
---|
594 | The return value is the size of the file.
|
---|
595 |
|
---|
596 | .******************************************************
|
---|
597 |
|
---|
598 | :h2 res=560
|
---|
599 | width=30%
|
---|
600 | .wpQueryFldrFlags
|
---|
601 | :link reftype=hd res=561
|
---|
602 | auto dependent group=2.
|
---|
603 | :p.
|
---|
604 | :link reftype=hd res=561.Syntax:elink.
|
---|
605 | .br
|
---|
606 | :link reftype=hd res=563 dependent.Returns:elink.
|
---|
607 | .*.br
|
---|
608 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
609 | .*.br
|
---|
610 | .*:link reftype=hd res=315.Usage:elink.
|
---|
611 | .*.br
|
---|
612 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
613 |
|
---|
614 | :h2 res=561
|
---|
615 | x=30%
|
---|
616 | width=70%
|
---|
617 | hide
|
---|
618 | group=2
|
---|
619 | .wpQueryFldrFlags - Syntax
|
---|
620 | :xmp.
|
---|
621 | /* Query the flags of a folder */
|
---|
622 |
|
---|
623 | theFolder /* The folder object */
|
---|
624 | :p.
|
---|
625 | flags=MFldrCallWPSFunc("wpQueryFldrFlags",
|
---|
626 | theFolder);
|
---|
627 | :exmp.
|
---|
628 |
|
---|
629 |
|
---|
630 | :h2 res=563
|
---|
631 | x=30%
|
---|
632 | width=70% height=55%
|
---|
633 | group=3
|
---|
634 | hide
|
---|
635 | .wpQueryFldrFlags - Return value
|
---|
636 | :p.
|
---|
637 | :hp2.flags:ehp2. numeric
|
---|
638 | :p.
|
---|
639 | The return value is a bitmask of the following.
|
---|
640 |
|
---|
641 | :ul.
|
---|
642 | :li.FOI_POPULATEDWITHALL 0x0001
|
---|
643 | .br
|
---|
644 | The folder is populated with all objects.
|
---|
645 | :li.FOI_POPULATEDWITHFOLDERS 0x0002
|
---|
646 | .br
|
---|
647 | The folder is only populated with folders it contains.
|
---|
648 | :li.FOI_WORKAREA 0x0004
|
---|
649 | .br
|
---|
650 | The folder is a workarea folder.
|
---|
651 | :eul.
|
---|
652 |
|
---|
653 | .******************************************************
|
---|
654 |
|
---|
655 | :h2 res=570
|
---|
656 | width=30%
|
---|
657 | .wpQueryFldrFont
|
---|
658 | :link reftype=hd res=571
|
---|
659 | auto dependent group=2.
|
---|
660 | :p.
|
---|
661 | :link reftype=hd res=571.Syntax:elink.
|
---|
662 | .br
|
---|
663 | :link reftype=hd res=573 dependent.Returns:elink.
|
---|
664 | .br
|
---|
665 | :link reftype=hd res=574 dependent.Remarks:elink.
|
---|
666 | .*.br
|
---|
667 | .*:link reftype=hd res=315.Usage:elink.
|
---|
668 | .*.br
|
---|
669 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
670 |
|
---|
671 | :h2 res=571
|
---|
672 | x=30%
|
---|
673 | width=70%
|
---|
674 | hide
|
---|
675 | group=2
|
---|
676 | .wpQueryFldrFont - Syntax
|
---|
677 | :xmp.
|
---|
678 | /* Query the font of a folder view */
|
---|
679 |
|
---|
680 | thefolder /* The folder on which the method is invoked */
|
---|
681 | fldrView /* One of OPEN_CONTENTS (1), OPEN_DETAILS (102) or OPEN_TREE (101) */
|
---|
682 | :p.
|
---|
683 | font=MFldrCallWPSFunc("wpQueryFldrFont",
|
---|
684 | theFolder, fldrView);
|
---|
685 | :exmp.
|
---|
686 |
|
---|
687 |
|
---|
688 | :h2 res=573
|
---|
689 | x=30%
|
---|
690 | width=70% height=55%
|
---|
691 | group=3
|
---|
692 | hide
|
---|
693 | .wpQueryFldrFont - Return value
|
---|
694 | :p.
|
---|
695 | :hp2.font:ehp2. string
|
---|
696 | :p.
|
---|
697 | The return value is font of the specified folder view for example :hp2.10.Helv:ehp2..
|
---|
698 |
|
---|
699 |
|
---|
700 | :h2 res=574
|
---|
701 | x=30%
|
---|
702 | width=70%
|
---|
703 | hide
|
---|
704 | group=2
|
---|
705 | .wpQueryFldrFont - Remarks
|
---|
706 | :p.
|
---|
707 | There's only one font per view. All concurrent views share the same font.
|
---|
708 |
|
---|
709 |
|
---|
710 | .******************************************************
|
---|
711 |
|
---|
712 | :h2 res=580
|
---|
713 | width=30%
|
---|
714 | .wpQueryFolder
|
---|
715 | :link reftype=hd res=581
|
---|
716 | auto dependent group=2.
|
---|
717 | :p.
|
---|
718 | :link reftype=hd res=581.Syntax:elink.
|
---|
719 | .br
|
---|
720 | :link reftype=hd res=583 dependent.Returns:elink.
|
---|
721 | .*.br
|
---|
722 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
723 | .*.br
|
---|
724 | .*:link reftype=hd res=315.Usage:elink.
|
---|
725 | .*.br
|
---|
726 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
727 |
|
---|
728 | :h2 res=581
|
---|
729 | x=30%
|
---|
730 | width=70%
|
---|
731 | hide
|
---|
732 | group=2
|
---|
733 | .wpQueryFolder - Syntax
|
---|
734 | :xmp.
|
---|
735 | /* Query the folder an objects resides in */
|
---|
736 |
|
---|
737 | theObject /* A WPS object */
|
---|
738 | :p.
|
---|
739 | theFolder=MFldrCallWPSFunc("wpQueryFolder",
|
---|
740 | theObject);
|
---|
741 | :exmp.
|
---|
742 |
|
---|
743 |
|
---|
744 | :h2 res=583
|
---|
745 | x=30%
|
---|
746 | width=70% height=55%
|
---|
747 | group=3
|
---|
748 | hide
|
---|
749 | .wpQueryFolder - Return value
|
---|
750 | :p.
|
---|
751 | :hp2.theFolder:ehp2. numeric
|
---|
752 | :p.
|
---|
753 | The return value is the folder a given object resides in. The pointer
|
---|
754 | may be used with other methods.
|
---|
755 |
|
---|
756 |
|
---|
757 | .******************************************************
|
---|
758 |
|
---|
759 | :h2 res=590
|
---|
760 | width=30%
|
---|
761 | .wpQueryHandle
|
---|
762 | :link reftype=hd res=591
|
---|
763 | auto dependent group=2.
|
---|
764 | :p.
|
---|
765 | :link reftype=hd res=591.Syntax:elink.
|
---|
766 | .br
|
---|
767 | :link reftype=hd res=593 dependent.Returns:elink.
|
---|
768 | .*.br
|
---|
769 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
770 | .*.br
|
---|
771 | .*:link reftype=hd res=315.Usage:elink.
|
---|
772 | .*.br
|
---|
773 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
774 |
|
---|
775 | :h2 res=591
|
---|
776 | x=30%
|
---|
777 | width=70%
|
---|
778 | hide
|
---|
779 | group=2
|
---|
780 | .wpQueryHandle - Syntax
|
---|
781 | :xmp.
|
---|
782 | /* Query the persistent handle of an object */
|
---|
783 |
|
---|
784 | theObject /* A WPS object */
|
---|
785 | :p.
|
---|
786 | handle=MFldrCallWPSFunc("wpQueryHandle",
|
---|
787 | theObject);
|
---|
788 | :exmp.
|
---|
789 |
|
---|
790 |
|
---|
791 | :h2 res=593
|
---|
792 | x=30%
|
---|
793 | width=70% height=55%
|
---|
794 | group=3
|
---|
795 | hide
|
---|
796 | .wpQueryHandle - Return value
|
---|
797 | :p.
|
---|
798 | :hp2.handle:ehp2. numeric
|
---|
799 | :p.
|
---|
800 | The return value is a persistent handle to the given object. This
|
---|
801 | handle is unique on the system.
|
---|
802 |
|
---|
803 |
|
---|
804 | .******************************************************
|
---|
805 |
|
---|
806 | :h2 res=600
|
---|
807 | width=30%
|
---|
808 | .wpQueryObjectID
|
---|
809 | :link reftype=hd res=601
|
---|
810 | auto dependent group=2.
|
---|
811 | :p.
|
---|
812 | :link reftype=hd res=601.Syntax:elink.
|
---|
813 | .br
|
---|
814 | :link reftype=hd res=603 dependent.Returns:elink.
|
---|
815 | .*.br
|
---|
816 | .*:link reftype=hd res=314 dependent.Remarks:elink.
|
---|
817 | .*.br
|
---|
818 | .*:link reftype=hd res=315.Usage:elink.
|
---|
819 | .*.br
|
---|
820 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
821 |
|
---|
822 | :h2 res=601
|
---|
823 | x=30%
|
---|
824 | width=70%
|
---|
825 | hide
|
---|
826 | group=2
|
---|
827 | .wpQueryObjectID - Syntax
|
---|
828 | :xmp.
|
---|
829 | /* Query the ID of an object */
|
---|
830 |
|
---|
831 | theObject /* A WPS object */
|
---|
832 | :p.
|
---|
833 | id=MFldrCallWPSFunc("wpQueryObjectID",
|
---|
834 | theObject);
|
---|
835 | :exmp.
|
---|
836 |
|
---|
837 |
|
---|
838 | :h2 res=603
|
---|
839 | x=30%
|
---|
840 | width=70% height=55%
|
---|
841 | group=3
|
---|
842 | hide
|
---|
843 | .wpQueryObjectID - Return value
|
---|
844 | :p.
|
---|
845 | :hp2.id:ehp2. string
|
---|
846 | :p.
|
---|
847 | The return value is the ID of the given object or NULL. This
|
---|
848 | ID is unique on the system for example <WP_DESKTOP>.
|
---|
849 |
|
---|
850 | .******************************************************
|
---|
851 |
|
---|
852 | :h2 res=610
|
---|
853 | width=30%
|
---|
854 | .wpQueryShadowedObject
|
---|
855 | :link reftype=hd res=611
|
---|
856 | auto dependent group=2.
|
---|
857 | :p.
|
---|
858 | :link reftype=hd res=611.Syntax:elink.
|
---|
859 | .br
|
---|
860 | :link reftype=hd res=613 dependent.Returns:elink.
|
---|
861 | .br
|
---|
862 | :link reftype=hd res=614 dependent.Remarks:elink.
|
---|
863 | .*.br
|
---|
864 | .*:link reftype=hd res=315.Usage:elink.
|
---|
865 | .*.br
|
---|
866 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
867 |
|
---|
868 | :h2 res=611
|
---|
869 | x=30%
|
---|
870 | width=70%
|
---|
871 | hide
|
---|
872 | group=2
|
---|
873 | .wpQueryShadowedObject - Syntax
|
---|
874 | :xmp.
|
---|
875 | /* Query the object a shadow links to */
|
---|
876 |
|
---|
877 | theShadow /* A shadow object */
|
---|
878 | fLock /* lock flag 0/1*/
|
---|
879 | :p.
|
---|
880 | object=MFldrCallWPSFunc("wpQueryShadowedObject",
|
---|
881 | theShadow, fLock);
|
---|
882 | :exmp.
|
---|
883 |
|
---|
884 |
|
---|
885 | :h2 res=613
|
---|
886 | x=30%
|
---|
887 | width=70% height=55%
|
---|
888 | group=3
|
---|
889 | hide
|
---|
890 | .wpQueryShadowedObject - Return value
|
---|
891 | :p.
|
---|
892 | :hp2.object:ehp2. numeric
|
---|
893 | :p.
|
---|
894 | The return value is the object the shadow links to.
|
---|
895 |
|
---|
896 |
|
---|
897 | :h2 res=614
|
---|
898 | x=30%
|
---|
899 | width=70%
|
---|
900 | hide
|
---|
901 | group=2
|
---|
902 | .wpQueryShadowedObject - Remarks
|
---|
903 | :p.
|
---|
904 | If fLock is 0 the queried object will go dormant when the object and the folder
|
---|
905 | the object resides in are closed. Otherwise the object stays awake until a
|
---|
906 | wpUnlockObject call is made. Awake objects stay in memory while dormant objects release
|
---|
907 | their resources when not longer accessed.
|
---|
908 |
|
---|
909 |
|
---|
910 | .******************************************************
|
---|
911 |
|
---|
912 | :h2 res=620
|
---|
913 | width=30%
|
---|
914 | .wpQueryStyle
|
---|
915 | :link reftype=hd res=621
|
---|
916 | auto dependent group=2.
|
---|
917 | :p.
|
---|
918 | :link reftype=hd res=621.Syntax:elink.
|
---|
919 | .br
|
---|
920 | :link reftype=hd res=623 dependent.Returns:elink.
|
---|
921 | .*.br
|
---|
922 | .*:link reftype=hd res=614 dependent.Remarks:elink.
|
---|
923 | .*.br
|
---|
924 | .*:link reftype=hd res=315.Usage:elink.
|
---|
925 | .*.br
|
---|
926 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
927 |
|
---|
928 | :h2 res=621
|
---|
929 | x=30%
|
---|
930 | width=70%
|
---|
931 | hide
|
---|
932 | group=2
|
---|
933 | .wpQueryStyle - Syntax
|
---|
934 | :xmp.
|
---|
935 | /* Query the style of an object */
|
---|
936 |
|
---|
937 | theObject /* An object */
|
---|
938 | :p.
|
---|
939 | style=MFldrCallWPSFunc("wpQueryStyle",
|
---|
940 | theObject);
|
---|
941 | :exmp.
|
---|
942 |
|
---|
943 |
|
---|
944 | :h2 res=623
|
---|
945 | x=30%
|
---|
946 | width=70% height=55%
|
---|
947 | group=3
|
---|
948 | hide
|
---|
949 | .wpQueryStyle - Return value
|
---|
950 | :p.
|
---|
951 | :hp2.style:ehp2. numeric
|
---|
952 | :p.
|
---|
953 | The return value is a bitmask of the style flags of an object.
|
---|
954 | :ul.
|
---|
955 | :li.OBJSTYLE_NOMOVE 2
|
---|
956 | .br
|
---|
957 | Object cannot be moved.
|
---|
958 | :li.OBJSTYLE_NOLINK 4
|
---|
959 | .br
|
---|
960 | Shadows can't be created
|
---|
961 | :li.OBJSTYLE_NOCOPY 8
|
---|
962 | .br
|
---|
963 | Object cannot be copied.
|
---|
964 | :li.OBJSTYLE_TEMPLATE 32
|
---|
965 | .br
|
---|
966 | The object is a template.
|
---|
967 | :li.OBJSTYLE_NODELETE 64
|
---|
968 | .br
|
---|
969 | The object cannot be deleted.
|
---|
970 | :li.OBJSTYLE_NOPRINT 128
|
---|
971 | .br
|
---|
972 | The object cannot be printed.
|
---|
973 | :li.OBJSTYLE_NODRAG 256
|
---|
974 | .br
|
---|
975 | The object cannot be dragged.
|
---|
976 | :li.OBJSTYLE_NOTVISIBLE 512
|
---|
977 | .br
|
---|
978 | The object is hidden.
|
---|
979 | :li.OBJSTYLE_NOSETTINGS 1024
|
---|
980 | .br
|
---|
981 | There're not settings for this object.
|
---|
982 | :li.OBJSTYLE_NORENAME 2048
|
---|
983 | .br
|
---|
984 | The object cannot be renamed.
|
---|
985 | :li.OBJSTYLE_NODROPON 8192
|
---|
986 | .br
|
---|
987 | Other objects can't be dropped on this object.
|
---|
988 | :li.OBJSTYLE_CUSTOMICON 16384
|
---|
989 | .br
|
---|
990 | Icon is destroyed when object goes dormant.
|
---|
991 | :eul.
|
---|
992 |
|
---|
993 | .******************************************************
|
---|
994 |
|
---|
995 | :h2 res=630
|
---|
996 | width=30%
|
---|
997 | .wpQueryTitle
|
---|
998 | :link reftype=hd res=631
|
---|
999 | auto dependent group=2.
|
---|
1000 | :p.
|
---|
1001 | :link reftype=hd res=631.Syntax:elink.
|
---|
1002 | .br
|
---|
1003 | :link reftype=hd res=633 dependent.Returns:elink.
|
---|
1004 | .br
|
---|
1005 | :link reftype=hd res=634 dependent.Remarks:elink.
|
---|
1006 | .*.br
|
---|
1007 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1008 | .*.br
|
---|
1009 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1010 |
|
---|
1011 | :h2 res=631
|
---|
1012 | x=30%
|
---|
1013 | width=70%
|
---|
1014 | hide
|
---|
1015 | group=2
|
---|
1016 | .wpQueryTitle - Syntax
|
---|
1017 | :xmp.
|
---|
1018 | /* Query the title of an object */
|
---|
1019 |
|
---|
1020 | theObject /* An object */
|
---|
1021 | :p.
|
---|
1022 | title=MFldrCallWPSFunc("wpQueryTitle",
|
---|
1023 | theObject);
|
---|
1024 | :exmp.
|
---|
1025 |
|
---|
1026 |
|
---|
1027 | :h2 res=633
|
---|
1028 | x=30%
|
---|
1029 | width=70% height=55%
|
---|
1030 | group=3
|
---|
1031 | hide
|
---|
1032 | .wpQueryTitle - Return value
|
---|
1033 | :p.
|
---|
1034 | :hp2.title:ehp2. string
|
---|
1035 | :p.
|
---|
1036 | This call returns the title of the object as a string.
|
---|
1037 |
|
---|
1038 | :h2 res=634
|
---|
1039 | x=30%
|
---|
1040 | width=70%
|
---|
1041 | hide
|
---|
1042 | group=2
|
---|
1043 | .wpQueryTitle - Remarks
|
---|
1044 | :p.
|
---|
1045 | The title may differ from the real name of an object. For example
|
---|
1046 | FAT-drives don't support long file names but the WPS may take
|
---|
1047 | them from the EAs.
|
---|
1048 |
|
---|
1049 |
|
---|
1050 | .******************************************************
|
---|
1051 |
|
---|
1052 | :h2 res=640
|
---|
1053 | width=30%
|
---|
1054 | .wpQueryType
|
---|
1055 | :link reftype=hd res=641
|
---|
1056 | auto dependent group=2.
|
---|
1057 | :p.
|
---|
1058 | :link reftype=hd res=641.Syntax:elink.
|
---|
1059 | .br
|
---|
1060 | :link reftype=hd res=643 dependent.Returns:elink.
|
---|
1061 | .*.br
|
---|
1062 | .*:link reftype=hd res=634 dependent.Remarks:elink.
|
---|
1063 | .*.br
|
---|
1064 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1065 | .*.br
|
---|
1066 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1067 |
|
---|
1068 | :h2 res=641
|
---|
1069 | x=30%
|
---|
1070 | width=70%
|
---|
1071 | hide
|
---|
1072 | group=2
|
---|
1073 | .wpQueryType - Syntax
|
---|
1074 | :xmp.
|
---|
1075 | /* Query the type of an object */
|
---|
1076 |
|
---|
1077 | theObject /* An object */
|
---|
1078 | :p.
|
---|
1079 | type=MFldrCallWPSFunc("wpQueryType",
|
---|
1080 | theObject);
|
---|
1081 | :exmp.
|
---|
1082 |
|
---|
1083 |
|
---|
1084 | :h2 res=643
|
---|
1085 | x=30%
|
---|
1086 | width=70% height=55%
|
---|
1087 | group=3
|
---|
1088 | hide
|
---|
1089 | .wpQueryType - Return value
|
---|
1090 | :p.
|
---|
1091 | :hp2.type:ehp2. string
|
---|
1092 | :p.
|
---|
1093 | The return string contains a list of types delimited with linefeed characters.
|
---|
1094 | For example :hp2.Plain Text\nC Code:ehp2..
|
---|
1095 |
|
---|
1096 | .******************************************************
|
---|
1097 |
|
---|
1098 | :h2 res=650
|
---|
1099 | width=30%
|
---|
1100 | .wpRefresh
|
---|
1101 | :link reftype=hd res=651
|
---|
1102 | auto dependent group=2.
|
---|
1103 | :p.
|
---|
1104 | :link reftype=hd res=651.Syntax:elink.
|
---|
1105 | .br
|
---|
1106 | :link reftype=hd res=653 dependent.Returns:elink.
|
---|
1107 | .*.br
|
---|
1108 | .*:link reftype=hd res=634 dependent.Remarks:elink.
|
---|
1109 | .*.br
|
---|
1110 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1111 | .*.br
|
---|
1112 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1113 |
|
---|
1114 | :h2 res=651
|
---|
1115 | x=30%
|
---|
1116 | width=70%
|
---|
1117 | hide
|
---|
1118 | group=2
|
---|
1119 | .wpRefresh - Syntax
|
---|
1120 | :xmp.
|
---|
1121 | /* Force a file system object to reread its information */
|
---|
1122 |
|
---|
1123 | theObject /* A file system object */
|
---|
1124 | view /* The view to be refreshed (OPEN_CONTENTS, OPEN_TREE, OPEN_DETAILS or any other defined view) */
|
---|
1125 | reserved /* reserved parameter, must be 0 */
|
---|
1126 | :p.
|
---|
1127 | rc=MFldrCallWPSFunc("wpRefresh",
|
---|
1128 | theObject, view, reserved);
|
---|
1129 | :exmp.
|
---|
1130 |
|
---|
1131 |
|
---|
1132 | :h2 res=653
|
---|
1133 | x=30%
|
---|
1134 | width=70% height=55%
|
---|
1135 | group=3
|
---|
1136 | hide
|
---|
1137 | .wpRefresh - Return value
|
---|
1138 | :p.
|
---|
1139 | :hp2.rc:ehp2. numeric
|
---|
1140 | :p.
|
---|
1141 | Returns 0 if an error occurs.
|
---|
1142 |
|
---|
1143 |
|
---|
1144 | .******************************************************
|
---|
1145 |
|
---|
1146 | :h2 res=660
|
---|
1147 | width=30%
|
---|
1148 | .wpSaveDeferred
|
---|
1149 | :link reftype=hd res=661
|
---|
1150 | auto dependent group=2.
|
---|
1151 | :p.
|
---|
1152 | :link reftype=hd res=661.Syntax:elink.
|
---|
1153 | .br
|
---|
1154 | :link reftype=hd res=663 dependent.Returns:elink.
|
---|
1155 | .br
|
---|
1156 | :link reftype=hd res=664 dependent.Remarks:elink.
|
---|
1157 | .*.br
|
---|
1158 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1159 | .*.br
|
---|
1160 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1161 |
|
---|
1162 | :h2 res=661
|
---|
1163 | x=30%
|
---|
1164 | width=70%
|
---|
1165 | hide
|
---|
1166 | group=2
|
---|
1167 | .wpSaveDeferred - Syntax
|
---|
1168 | :xmp.
|
---|
1169 | /* Save the instance data of an object asynchronously */
|
---|
1170 |
|
---|
1171 | theObject /* A WPS object */
|
---|
1172 | :p.
|
---|
1173 | rc=MFldrCallWPSFunc("wpSaveDeferred",
|
---|
1174 | theObject);
|
---|
1175 | :exmp.
|
---|
1176 |
|
---|
1177 |
|
---|
1178 | :h2 res=663
|
---|
1179 | x=30%
|
---|
1180 | width=70% height=55%
|
---|
1181 | group=3
|
---|
1182 | hide
|
---|
1183 | .wpSaveDeferred - Return value
|
---|
1184 | :p.
|
---|
1185 | :hp2.rc:ehp2. numeric
|
---|
1186 | :p.
|
---|
1187 | Returns 0 if an error occurs.
|
---|
1188 |
|
---|
1189 |
|
---|
1190 | :h2 res=664
|
---|
1191 | x=30%
|
---|
1192 | width=70%
|
---|
1193 | hide
|
---|
1194 | group=2
|
---|
1195 | .wpSaveDeferred - Remarks
|
---|
1196 | :p.
|
---|
1197 | The instance data is saved on a separate thread in the background when the system is idle.
|
---|
1198 | If it's necessary to save critical data immediately use wpSaveImmediate.
|
---|
1199 |
|
---|
1200 |
|
---|
1201 |
|
---|
1202 | :h2 res=670
|
---|
1203 | width=30%
|
---|
1204 | .wpSaveImmediate
|
---|
1205 | :link reftype=hd res=671
|
---|
1206 | auto dependent group=2.
|
---|
1207 | :p.
|
---|
1208 | :link reftype=hd res=671.Syntax:elink.
|
---|
1209 | .br
|
---|
1210 | :link reftype=hd res=673 dependent.Returns:elink.
|
---|
1211 | .br
|
---|
1212 | :link reftype=hd res=674 dependent.Remarks:elink.
|
---|
1213 | .*.br
|
---|
1214 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1215 | .*.br
|
---|
1216 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1217 |
|
---|
1218 | :h2 res=671
|
---|
1219 | x=30%
|
---|
1220 | width=70%
|
---|
1221 | hide
|
---|
1222 | group=2
|
---|
1223 | .wpSaveImmediate - Syntax
|
---|
1224 | :xmp.
|
---|
1225 | /* Save the instance data of an object synchronously */
|
---|
1226 |
|
---|
1227 | theObject /* A WPS object */
|
---|
1228 | :p.
|
---|
1229 | rc=MFldrCallWPSFunc("wpSaveImmediate",
|
---|
1230 | theObject);
|
---|
1231 | :exmp.
|
---|
1232 |
|
---|
1233 |
|
---|
1234 | :h2 res=673
|
---|
1235 | x=30%
|
---|
1236 | width=70% height=55%
|
---|
1237 | group=3
|
---|
1238 | hide
|
---|
1239 | .wpSaveImmediate - Return value
|
---|
1240 | :p.
|
---|
1241 | :hp2.rc:ehp2. numeric
|
---|
1242 | :p.
|
---|
1243 | Returns 0 if an error occurs.
|
---|
1244 |
|
---|
1245 |
|
---|
1246 | :h2 res=674
|
---|
1247 | x=30%
|
---|
1248 | width=70%
|
---|
1249 | hide
|
---|
1250 | group=2
|
---|
1251 | .wpSaveImmediate - Remarks
|
---|
1252 | :p.
|
---|
1253 | The instance data is saved immediate when calling this method. In general
|
---|
1254 | wpSaveDeferred should be used because when using that method the data is written
|
---|
1255 | when the system is idle.
|
---|
1256 |
|
---|
1257 | .******************************************************
|
---|
1258 |
|
---|
1259 | :h2 res=680
|
---|
1260 | width=30%
|
---|
1261 | .wpSetDefaultView
|
---|
1262 | :link reftype=hd res=681
|
---|
1263 | auto dependent group=2.
|
---|
1264 | :p.
|
---|
1265 | :link reftype=hd res=681.Syntax:elink.
|
---|
1266 | .br
|
---|
1267 | :link reftype=hd res=683 dependent.Returns:elink.
|
---|
1268 | .br
|
---|
1269 | :link reftype=hd res=684 dependent.Remarks:elink.
|
---|
1270 | .*.br
|
---|
1271 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1272 | .*.br
|
---|
1273 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1274 |
|
---|
1275 | :h2 res=681
|
---|
1276 | x=30%
|
---|
1277 | width=70%
|
---|
1278 | hide
|
---|
1279 | group=2
|
---|
1280 | .wpSetDefaultView - Syntax
|
---|
1281 | :xmp.
|
---|
1282 | /* Set the default view of an object */
|
---|
1283 |
|
---|
1284 | theObject /* A WPS object */#
|
---|
1285 | view /* The new default view */
|
---|
1286 | :p.
|
---|
1287 | rc=MFldrCallWPSFunc("wpSetDefaultView",
|
---|
1288 | theObject, view);
|
---|
1289 | :exmp.
|
---|
1290 |
|
---|
1291 |
|
---|
1292 | :h2 res=683
|
---|
1293 | x=30%
|
---|
1294 | width=70% height=55%
|
---|
1295 | group=3
|
---|
1296 | hide
|
---|
1297 | .wpSetDefaultView - Return value
|
---|
1298 | :p.
|
---|
1299 | :hp2.rc:ehp2. numeric
|
---|
1300 | :p.
|
---|
1301 | Returns 0 if an error occurs.
|
---|
1302 |
|
---|
1303 |
|
---|
1304 | :h2 res=684
|
---|
1305 | x=30%
|
---|
1306 | width=70%
|
---|
1307 | hide
|
---|
1308 | group=2
|
---|
1309 | .wpSetDefaultView - Remarks
|
---|
1310 | :p.
|
---|
1311 | The object may be set to one of the following views.
|
---|
1312 |
|
---|
1313 | :ul.
|
---|
1314 | :li.OPEN_CONTENTS: 1
|
---|
1315 | .br
|
---|
1316 | Open in contents view (icon).
|
---|
1317 | :li.OPEN_DEFAULT: 0
|
---|
1318 | .br
|
---|
1319 | Same as doubleclick.
|
---|
1320 | :li.OPEN_DETAILS: 102
|
---|
1321 | .br
|
---|
1322 | Details view.
|
---|
1323 | :li.OPEN_HELP: 3
|
---|
1324 | .br
|
---|
1325 | Display the help panel.
|
---|
1326 | :li.OPEN_RUNNING: 4
|
---|
1327 | .br
|
---|
1328 | Execute the object.
|
---|
1329 | :li.OPEN_SETTINGS: 2
|
---|
1330 | .br
|
---|
1331 | Open the settings of the object.
|
---|
1332 | :li.OPEN_TREE: 101
|
---|
1333 | .br
|
---|
1334 | Unknown view.
|
---|
1335 | :li.OPEN_USER: 0x6500 or higher
|
---|
1336 | .br
|
---|
1337 | A user view introduced by a subclass.
|
---|
1338 | :eul.
|
---|
1339 |
|
---|
1340 |
|
---|
1341 | .******************************************************
|
---|
1342 |
|
---|
1343 | :h2 res=690
|
---|
1344 | width=30%
|
---|
1345 | .wpSetLinkToObject
|
---|
1346 | :link reftype=hd res=681
|
---|
1347 | auto dependent group=2.
|
---|
1348 | :p.
|
---|
1349 | :link reftype=hd res=691.Syntax:elink.
|
---|
1350 | .br
|
---|
1351 | :link reftype=hd res=693 dependent.Returns:elink.
|
---|
1352 | .*.br
|
---|
1353 | .*:link reftype=hd res=684 dependent.Remarks:elink.
|
---|
1354 | .*.br
|
---|
1355 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1356 | .*.br
|
---|
1357 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1358 |
|
---|
1359 | :h2 res=691
|
---|
1360 | x=30%
|
---|
1361 | width=70%
|
---|
1362 | hide
|
---|
1363 | group=2
|
---|
1364 | .wpSetLinkToObject - Syntax
|
---|
1365 | :xmp.
|
---|
1366 | /* This method links the shadow to
|
---|
1367 | the specified object */
|
---|
1368 |
|
---|
1369 | theShadow
|
---|
1370 | theObject /* A WPS object to link to */
|
---|
1371 | :p.
|
---|
1372 | rc=MFldrCallWPSFunc("wpSetLinkToObject",
|
---|
1373 | theShadow, theObject);
|
---|
1374 | :exmp.
|
---|
1375 |
|
---|
1376 |
|
---|
1377 | :h2 res=693
|
---|
1378 | x=30%
|
---|
1379 | width=70% height=55%
|
---|
1380 | group=3
|
---|
1381 | hide
|
---|
1382 | .wpSetLinkToObject - Return value
|
---|
1383 | :p.
|
---|
1384 | :hp2.rc:ehp2. numeric
|
---|
1385 | :p.
|
---|
1386 | Returns 0 if an error occurs.
|
---|
1387 |
|
---|
1388 |
|
---|
1389 | .******************************************************
|
---|
1390 |
|
---|
1391 | :h2 res=700
|
---|
1392 | width=30%
|
---|
1393 | .wpSetStyle
|
---|
1394 | :link reftype=hd res=701
|
---|
1395 | auto dependent group=2.
|
---|
1396 | :p.
|
---|
1397 | :link reftype=hd res=701.Syntax:elink.
|
---|
1398 | .br
|
---|
1399 | :link reftype=hd res=703 dependent.Returns:elink.
|
---|
1400 | .br
|
---|
1401 | :link reftype=hd res=704 dependent.Remarks:elink.
|
---|
1402 | .*.br
|
---|
1403 | .*:link reftype=hd res=315.Usage:elink.
|
---|
1404 | .*.br
|
---|
1405 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
1406 |
|
---|
1407 | :h2 res=701
|
---|
1408 | x=30%
|
---|
1409 | width=70%
|
---|
1410 | hide
|
---|
1411 | group=2
|
---|
1412 | .wpSetStyle - Syntax
|
---|
1413 | :xmp.
|
---|
1414 | /* Set the style of an object */
|
---|
1415 |
|
---|
1416 | theObject /* A WPS object */
|
---|
1417 | newStyle /* The new style of the object */
|
---|
1418 | :p.
|
---|
1419 | rc=MFldrCallWPSFunc("wpSetStyle",
|
---|
1420 | theObject, newStyle);
|
---|
1421 | :exmp.
|
---|
1422 |
|
---|
1423 |
|
---|
1424 | :h2 res=703
|
---|
1425 | x=30%
|
---|
1426 | width=70% height=55%
|
---|
1427 | group=3
|
---|
1428 | hide
|
---|
1429 | .wpSetStyle - Return value
|
---|
1430 | :p.
|
---|
1431 | :hp2.rc:ehp2. numeric
|
---|
1432 | :p.
|
---|
1433 | Returns 0 if an error occurs.
|
---|
1434 |
|
---|
1435 | :h2 res=704
|
---|
1436 | x=30%
|
---|
1437 | width=70%
|
---|
1438 | hide
|
---|
1439 | group=2
|
---|
1440 | .wpSetStyle - Remarks
|
---|
1441 | :p.
|
---|
1442 | The following flags may be ored together.
|
---|
1443 | :ul.
|
---|
1444 | :li.OBJSTYLE_NOMOVE 2
|
---|
1445 | .br
|
---|
1446 | Object cannot be moved.
|
---|
1447 | :li.OBJSTYLE_NOLINK 4
|
---|
1448 | .br
|
---|
1449 | Shadows can't be created
|
---|
1450 | :li.OBJSTYLE_NOCOPY 8
|
---|
1451 | .br
|
---|
1452 | Object cannot be copied.
|
---|
1453 | :li.OBJSTYLE_TEMPLATE 32
|
---|
1454 | .br
|
---|
1455 | The object is a template.
|
---|
1456 | :li.OBJSTYLE_NODELETE 64
|
---|
1457 | .br
|
---|
1458 | The object cannot be deleted.
|
---|
1459 | :li.OBJSTYLE_NOPRINT 128
|
---|
1460 | .br
|
---|
1461 | The object cannot be printed.
|
---|
1462 | :li.OBJSTYLE_NODRAG 256
|
---|
1463 | .br
|
---|
1464 | The object cannot be dragged.
|
---|
1465 | :li.OBJSTYLE_NOTVISIBLE 512
|
---|
1466 | .br
|
---|
1467 | The object is hidden.
|
---|
1468 | :li.OBJSTYLE_NOSETTINGS 1024
|
---|
1469 | .br
|
---|
1470 | There're not settings for this object.
|
---|
1471 | :li.OBJSTYLE_NORENAME 2048
|
---|
1472 | .br
|
---|
1473 | The object cannot be renamed.
|
---|
1474 | :li.OBJSTYLE_NODROPON 8192
|
---|
1475 | .br
|
---|
1476 | Other objects can't be dropped on this object.
|
---|
1477 | :li.OBJSTYLE_CUSTOMICON 16384
|
---|
1478 | .br
|
---|
1479 | Icon is destroyed when object goes dormant.
|
---|
1480 | :eul.
|
---|
1481 |
|
---|