1 | .******************************************************
|
---|
2 | :h2 res=2050
|
---|
3 | width=30%
|
---|
4 | .winFileDlg
|
---|
5 | :link reftype=hd res=2051
|
---|
6 | auto dependent group=2.
|
---|
7 | :p.
|
---|
8 | :link reftype=hd res=2051.Syntax:elink.
|
---|
9 | .br
|
---|
10 | :link reftype=hd res=2053 dependent.Returns:elink.
|
---|
11 | .br
|
---|
12 | :link reftype=hd res=2054 dependent.Remarks:elink.
|
---|
13 | .*.br
|
---|
14 | .*:link reftype=hd res=315.Usage:elink.
|
---|
15 | .*.br
|
---|
16 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
17 |
|
---|
18 | :h2 res=2051
|
---|
19 | x=30%
|
---|
20 | width=70%
|
---|
21 | hide
|
---|
22 | group=2
|
---|
23 | .winFileDlg - Syntax
|
---|
24 | :xmp.
|
---|
25 | /* Display a file dialog. It may be an 'open'- or
|
---|
26 | a 'Save as' dialog */
|
---|
27 |
|
---|
28 | flag /* 0: open dialog, 1: SaveAs dialog */
|
---|
29 | title /* Title of the file dialog */
|
---|
30 | fileMask /* The file mask for example *.exe */
|
---|
31 |
|
---|
32 | :p.
|
---|
33 | fileName=MFldrCallWinFunc("winFileDlg",
|
---|
34 | flag, title, fileMask);
|
---|
35 | :exmp.
|
---|
36 |
|
---|
37 |
|
---|
38 | :h2 res=2053
|
---|
39 | x=30%
|
---|
40 | width=70% height=35%
|
---|
41 | group=3
|
---|
42 | hide
|
---|
43 | .winFileDlg - Return value
|
---|
44 | :p.
|
---|
45 | :hp2.fileName:ehp2. string
|
---|
46 | :p.
|
---|
47 | Selected file name
|
---|
48 | :p.
|
---|
49 | In case of error :hp2.ERROR::ehp2. is returned.
|
---|
50 |
|
---|
51 |
|
---|
52 | :h2 res=2054
|
---|
53 | x=30%
|
---|
54 | width=70%
|
---|
55 | hide
|
---|
56 | group=2
|
---|
57 | .winFileDlg - Remarks
|
---|
58 | :p.
|
---|
59 | The frame handle of the media folder is given to the skript as a parameter
|
---|
60 | when started.
|
---|
61 |
|
---|
62 |
|
---|
63 | .******************************************************
|
---|
64 | :h2 res=2010
|
---|
65 | width=30%
|
---|
66 | .winQueryContainerHWND
|
---|
67 | :link reftype=hd res=2011
|
---|
68 | auto dependent group=2.
|
---|
69 | :p.
|
---|
70 | :link reftype=hd res=2011.Syntax:elink.
|
---|
71 | .br
|
---|
72 | :link reftype=hd res=2013 dependent.Returns:elink.
|
---|
73 | .br
|
---|
74 | :link reftype=hd res=2014 dependent.Remarks:elink.
|
---|
75 | .*.br
|
---|
76 | .*:link reftype=hd res=315.Usage:elink.
|
---|
77 | .*.br
|
---|
78 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
79 |
|
---|
80 | :h2 res=2011
|
---|
81 | x=30%
|
---|
82 | width=70%
|
---|
83 | hide
|
---|
84 | group=2
|
---|
85 | .winQueryContainerHWND - Syntax
|
---|
86 | :xmp.
|
---|
87 | /* This function returns the container handle from
|
---|
88 | the frame handle of a folder */
|
---|
89 |
|
---|
90 | frameHandle /* Handle of the folder frame */
|
---|
91 | :p.
|
---|
92 | containerHandle=MFldrCallWinFunc("winQueryContainerHWND",
|
---|
93 | frameHandle);
|
---|
94 | :exmp.
|
---|
95 |
|
---|
96 |
|
---|
97 | :h2 res=2013
|
---|
98 | x=30%
|
---|
99 | width=70% height=35%
|
---|
100 | group=3
|
---|
101 | hide
|
---|
102 | .winQueryContainerHWND - Return value
|
---|
103 | :p.
|
---|
104 | :hp2.containerHandle:ehp2. numeric
|
---|
105 | :p.
|
---|
106 | Handle to the container of a folder.
|
---|
107 |
|
---|
108 |
|
---|
109 | :h2 res=2014
|
---|
110 | x=30%
|
---|
111 | width=70%
|
---|
112 | hide
|
---|
113 | group=2
|
---|
114 | .winQueryContainerHWND - Remarks
|
---|
115 | :p.
|
---|
116 | The frame handle of the media folder is given to the skript as a parameter
|
---|
117 | when started.
|
---|
118 |
|
---|
119 |
|
---|
120 | .******************************************************
|
---|
121 | :h2 res=2020
|
---|
122 | width=30%
|
---|
123 | .winQueryContainerRecord
|
---|
124 | :link reftype=hd res=2021
|
---|
125 | auto dependent group=2.
|
---|
126 | :p.
|
---|
127 | :link reftype=hd res=2021.Syntax:elink.
|
---|
128 | .br
|
---|
129 | :link reftype=hd res=2023 dependent.Returns:elink.
|
---|
130 | .br
|
---|
131 | :link reftype=hd res=2024 dependent.Remarks:elink.
|
---|
132 | .br
|
---|
133 | :link reftype=hd res=2025.Parameters:elink.
|
---|
134 | .*.br
|
---|
135 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
136 |
|
---|
137 | :h2 res=2021
|
---|
138 | x=30%
|
---|
139 | width=70%
|
---|
140 | hide
|
---|
141 | group=2
|
---|
142 | .winQueryContainerRecord - Syntax
|
---|
143 | :xmp.
|
---|
144 | /* This function returns the requested item from
|
---|
145 | the specified container handle from */
|
---|
146 |
|
---|
147 | containerHandle /* Handle to the container */
|
---|
148 | pRec /* Pointer to previous item or 0 */
|
---|
149 | cmd /* Value specifying which item to query */
|
---|
150 | fsSearch /* Enumeration order */
|
---|
151 | :p.
|
---|
152 | ptrRec=MFldrCallWinFunc("winQueryContainerRecord",
|
---|
153 | containerHandle, pRec,
|
---|
154 | cmd, fsSearch);
|
---|
155 | :exmp.
|
---|
156 |
|
---|
157 |
|
---|
158 | :h2 res=2023
|
---|
159 | x=30%
|
---|
160 | width=70% height=35%
|
---|
161 | group=3
|
---|
162 | hide
|
---|
163 | .winQueryContainerRecord - Return value
|
---|
164 | :p.
|
---|
165 | :hp2.ptrRec:ehp2. numeric
|
---|
166 | :p.
|
---|
167 | Pointer to a container item.
|
---|
168 |
|
---|
169 |
|
---|
170 | :h2 res=2024
|
---|
171 | x=30%
|
---|
172 | width=70%
|
---|
173 | hide
|
---|
174 | group=2
|
---|
175 | .winQueryContainerRecord - Remarks
|
---|
176 | :p.
|
---|
177 | The frame handle of the media folder is given to the skript as a parameter
|
---|
178 | when started.
|
---|
179 |
|
---|
180 | :h2 res=2025
|
---|
181 | x=30%
|
---|
182 | width=70%
|
---|
183 | hide
|
---|
184 | group=2
|
---|
185 | .winQueryContainerRecord - Parameters
|
---|
186 | :p.
|
---|
187 | :ul.
|
---|
188 | :li.:hp2.containerHandle:ehp2.
|
---|
189 | .br
|
---|
190 | Handle to a container.
|
---|
191 | :li.:hp2.pRec:ehp2.
|
---|
192 | .br
|
---|
193 | Pointer to previous item or 0. This parameter is ignored if CMA_FIRST or CMA_LAST is specified.
|
---|
194 | :li.:hp2.cmd:ehp2.
|
---|
195 | .br
|
---|
196 | Command value specifying which container item to retrieve.
|
---|
197 | :sl.
|
---|
198 | :li.CMA_FIRST 0x0010
|
---|
199 | .br
|
---|
200 | Get first container record.
|
---|
201 | :li.CMA_LAST 0x0020
|
---|
202 | .br
|
---|
203 | Get last container record.
|
---|
204 | :li.CMA_PREV 0x0080
|
---|
205 | .br
|
---|
206 | Get previous container record of :hp1.pRec:ehp1..
|
---|
207 | :li.CMA_NEXT 0x0100
|
---|
208 | .br
|
---|
209 | Get next container record after :hp1.pRec:ehp1..
|
---|
210 | :esl.
|
---|
211 | :li.:hp2.fsSearch:ehp2.
|
---|
212 | .br
|
---|
213 | Enumeration order.
|
---|
214 | :sl.
|
---|
215 | :li.CMA_ITEMORDER 1
|
---|
216 | .br
|
---|
217 | Query records in item order.
|
---|
218 | :li.CMA_ZORDER 8
|
---|
219 | .br
|
---|
220 | Query records in z-order. The last record is the last to be drawn. This flag
|
---|
221 | is only valid in icon view.
|
---|
222 | :esl.
|
---|
223 |
|
---|
224 | :eul.
|
---|
225 |
|
---|
226 | .******************************************************
|
---|
227 | :h2 res=2040
|
---|
228 | width=30%
|
---|
229 | .winQueryContRecEmphasis
|
---|
230 | :link reftype=hd res=2041
|
---|
231 | auto dependent group=2.
|
---|
232 | :p.
|
---|
233 | :link reftype=hd res=2041.Syntax:elink.
|
---|
234 | .br
|
---|
235 | :link reftype=hd res=2043 dependent.Returns:elink.
|
---|
236 | .br
|
---|
237 | :link reftype=hd res=2044 dependent.Remarks:elink.
|
---|
238 | .br
|
---|
239 | :link reftype=hd res=2045.Parameters:elink.
|
---|
240 | .*.br
|
---|
241 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
242 |
|
---|
243 | :h2 res=2041
|
---|
244 | x=30%
|
---|
245 | width=70%
|
---|
246 | hide
|
---|
247 | group=2
|
---|
248 | .winQueryContRecEmphasis - Syntax
|
---|
249 | :xmp.
|
---|
250 | /* This function returns a record with a certain
|
---|
251 | emphasis from the specified container handle */
|
---|
252 |
|
---|
253 | containerHandle /* Handle to the container */
|
---|
254 | pRec /* Pointer to previous item or 0 */
|
---|
255 | fEmphasis /* Emphasis mask */
|
---|
256 | :p.
|
---|
257 | ptrRec=MFldrCallWinFunc("winQueryContainerRecord",
|
---|
258 | containerHandle, pRec,
|
---|
259 | fEmphasis);
|
---|
260 | :exmp.
|
---|
261 |
|
---|
262 |
|
---|
263 | :h2 res=2043
|
---|
264 | x=30%
|
---|
265 | width=70% height=35%
|
---|
266 | group=3
|
---|
267 | hide
|
---|
268 | .winQueryContRecEmphasis - Return value
|
---|
269 | :p.
|
---|
270 | :hp2.ptrRec:ehp2. numeric
|
---|
271 | :p.
|
---|
272 | Pointer to a container record or 0. In case of an error -1 is returned.
|
---|
273 |
|
---|
274 |
|
---|
275 | :h2 res=2044
|
---|
276 | x=30%
|
---|
277 | width=70%
|
---|
278 | hide
|
---|
279 | group=2
|
---|
280 | .winQueryContRecEmphasis - Remarks
|
---|
281 | :p.
|
---|
282 | The frame handle of the media folder is given to the skript as a parameter
|
---|
283 | when started.
|
---|
284 |
|
---|
285 | :h2 res=2045
|
---|
286 | x=30%
|
---|
287 | width=70%
|
---|
288 | hide
|
---|
289 | group=2
|
---|
290 | .winQueryContRecEmphasis - Parameters
|
---|
291 | :p.
|
---|
292 | :ul.
|
---|
293 | :li.:hp2.containerHandle:ehp2.
|
---|
294 | .br
|
---|
295 | Handle to a container.
|
---|
296 | :li.:hp2.pRec:ehp2.
|
---|
297 | .br
|
---|
298 | Pointer to previous item or CMA_FIRST (0x0010).
|
---|
299 | :li.:hp2.fEmphasis:ehp2.
|
---|
300 | .br
|
---|
301 | Enumeration order.
|
---|
302 | :sl.
|
---|
303 | :li.CRA_SELECTED 1
|
---|
304 | .br
|
---|
305 | Selected records.
|
---|
306 | :li.CRA_CURSORED 4
|
---|
307 | .br
|
---|
308 | Records drawn with a selection cursor.
|
---|
309 | :li.CRA_INUSE 8
|
---|
310 | .br
|
---|
311 | Records with in-use emphasis
|
---|
312 | :li.CRA_FILTERED 16
|
---|
313 | .br
|
---|
314 | Filtered records that means hidden from view.
|
---|
315 | :li.CRA_SOURCE 0x4000
|
---|
316 | .br
|
---|
317 | Records drawn with source emphasis.
|
---|
318 | :li.CRA_DISABLED 0x1000
|
---|
319 | .br
|
---|
320 | Disabled records.
|
---|
321 | :esl.
|
---|
322 | :eul.
|
---|
323 |
|
---|
324 | .******************************************************
|
---|
325 | :h2 res=2030
|
---|
326 | width=30%
|
---|
327 | .winObjectFromPRec
|
---|
328 | :link reftype=hd res=2031
|
---|
329 | auto dependent group=2.
|
---|
330 | :p.
|
---|
331 | :link reftype=hd res=2031.Syntax:elink.
|
---|
332 | .br
|
---|
333 | :link reftype=hd res=2033 dependent.Returns:elink.
|
---|
334 | .br
|
---|
335 | :link reftype=hd res=2034 dependent.Remarks:elink.
|
---|
336 | .*.br
|
---|
337 | .*:link reftype=hd res=2025.Parameters:elink.
|
---|
338 | .*.br
|
---|
339 | .*:link reftype=hd res=416 dependent.Example:elink.
|
---|
340 |
|
---|
341 | :h2 res=2031
|
---|
342 | x=30%
|
---|
343 | width=70%
|
---|
344 | hide
|
---|
345 | group=2
|
---|
346 | .winObjectFromPRec - Syntax
|
---|
347 | :xmp.
|
---|
348 | /* This function returns the object pointer
|
---|
349 | from a container record. */
|
---|
350 |
|
---|
351 | pRec /* Pointer to a WPS container record */
|
---|
352 | :p.
|
---|
353 | pObject=MFldrCallWinFunc("winObjectFromPRec",
|
---|
354 | pRec)
|
---|
355 |
|
---|
356 | :exmp.
|
---|
357 |
|
---|
358 |
|
---|
359 | :h2 res=2033
|
---|
360 | x=30%
|
---|
361 | width=70% height=35%
|
---|
362 | group=3
|
---|
363 | hide
|
---|
364 | .winObjectFromPRec - Return value
|
---|
365 | :p.
|
---|
366 | :hp2.ptrRec:ehp2. numeric
|
---|
367 | :p.
|
---|
368 | Pointer to an object.
|
---|
369 |
|
---|
370 |
|
---|
371 | :h2 res=2034
|
---|
372 | x=30%
|
---|
373 | width=70%
|
---|
374 | hide
|
---|
375 | group=2
|
---|
376 | .winObjectFromPRec - Remarks
|
---|
377 | :p.
|
---|
378 | The record pointer must be queried from a WPS container that means a container
|
---|
379 | created by a WPS object and filled with WPS objects.
|
---|
380 |
|
---|
381 |
|
---|