Fix CreateProcess to handle lpCommandline better.
[wine/multimedia.git] / documentation / common_controls
blob180ae3a6ed8b2de3bcdac20a0dada779958cb5e3
2                   COMMON CONTROLS
3               their development status
4     and their UNDOCUMENTED features and functions
5 -----------------------------------------------------
8 1. Introduction
9 ---------------
10   The information provided herein is based on the dll version 4.72 which
11   is included in MS Internet Explorer 4.01.
13   All information about common controls should be collected in this document.
15   All Wine programmers are encouraged to add their knowledge to this document.
18 2. General Information
19 ----------------------
20   Further information about common controls can be found in the MS Platform SDK
21   and the MS Internet Client SDK (most recent). Information from these SDK's
22   will NOT be repeated here. Only information which can NOT be found in these
23   SDK's will be collected here. Some information in the SDK's mentioned above
24   is (intentionally???) WRONG. Corrections to wrong information will be
25   collected here too.
28 2.1 Structure sizes of different common control versions
29 --------------------------------------------------------
30   The common controls have been continously improved in the past. Some of the
31   orignal structures had to be extended and their size changed. Most of the
32   common control structures include their size as the first parameter. If
33   a control gets the wrong size in a message or function a failure is very
34   likely to occur. To avoid this, MS defined new constants that reflect the
35   structure size of older COMCTL32.DLL versions. The following list shows the
36   structure size constants that are currently defined in the original
37   COMCTL32.DLL.
38   NOTE: Some stuctures are NOT defined in wine's COMCTL32 yet.
40     HDITEM_V1_SIZE:
41       The size of the HDITEM structure in version 4.00.
43     LVCOLUMN_V1_SIZE:
44       The size of the LVCOLUMN structure in version 4.00.
46     LVHITTESTINFO_V1_SIZE:
47       The size of the LVHITTESTINFO structure in version 4.00.
49     LVITEM_V1_SIZE:
50       The size of the LVITEM structure in version 4.00.
52     NMLVCUSTOMDRAW_V3_SIZE:
53       The size of the NMLVCUSTOMDRAW structure in version 4.70.
55     NMTTDISPINFO_V1_SIZE:
56       The size of the NMTTDISPINFO structure in version 4.00.
58     NMTVCUSTOMDRAW_V3_SIZE:
59       The size of the NMTVCUSTOMDRAW structure in version 4.70.
61     PROPSHEETHEADER_V1_SIZE:
62       The size of the PROPSHEETHEADER structure in version 4.00.
64     PROPSHEETPAGE_V1_SIZE:
65       The size of the PROPSHEETPAGE structure in version 4.00.
67     REBARBANDINFO_V3_SIZE:
68       The size of the REBARBANDINFO structure in version 4.70.
70     TTTOOLINFO_V1_SIZE:
71       The size of the TOOLINFO structure in version 4.00.
73     TVINSERTSTRUCT_V1_SIZE:
74       The size of the TVINSERTSTRUCT structure in version 4.00.
77 3. Controls
78 -----------
79   This paragraph describes the development status of the common controls.
82 3.1 Animation Control
83 ---------------------
84   Author:
85       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
87   Status:
88       Dummy control. No functionality.
90   Notes:
91       Author needed!! Any volunteers??
94 3.2 Combo Box Ex Control
95 ------------------------
96   Author:
97       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
99   Status:
100       Dummy control. No functionality.
102   Notes:
103       Author needed!! Any volunteers??
106 3.3 Date and Time Picker Control
107 --------------------------------
108   Author:
109       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
111   Status:
112       Dummy control. No functionality.
114   Notes:
115       Author needed!! Any volunteers??
118 3.4 Drag List Box Control
119 -------------------------
120   Author:
121       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
123   Status:
124       Dummy control. No functionality.
126   Notes:
127       Author needed!! Any volunteers??
130 3.5 Flat Scroll Bar Control
131 ---------------------------
132   Author:
133       Dummy written by Alex Priem. <alexp@sci.kun.nl>
135   Status:
136       Dummy control. No functionality.
138   Notes:
139       Author needed!! Any volunteers??
142 3.6 Header Control
143 ------------------
144   Author:
145       Eric Kohl <ekohl@abo.rhein-zeitung.de>
147   Status:
148       Almost finished.
149       Unicode notifications are not supported (WM_NOTIFYFORMAT).
150       Order array not supported.
153 3.7 Hot Key Control
154 -------------------
155   Author:
156       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
158   Status:
159       Dummy control. No functionality.
161   Notes:
162       Author needed!! Any volunteers??
165 3.8 Image List (no control)
166 ---------------------------
167   Author:
168       Eric Kohl <ekohl@abo.rhein-zeitung.de>
170   Status:
171       Almost finished.
174 3.9 IP Address Control
175 ----------------------
176   Author:
177       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
178       Alex Priem <alexp@sci.kun.nl>
180   Status:
181       Under construction.
184 3.10 List View Control
185 ----------------------
186   Author:
187       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
188       Luc Tourangeau <luc@macadamian.com>
189       Koen Deforche <jozef@kotnet.org>
190       Francis Beaudet <francis@macadamian.com> and the "Corel-Team"
192   Status:
193       Under construction.
195   Notes:
196       Basic data structure with related messages are supported.
197       No painting supported yet.
200 3.11 Month Calendar Control
201 ---------------------------
202   Author:
203       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
205   Status:
206       Dummy control. No functionality.
208   Notes:
209       Author needed!! Any volunteers??
212 3.12 Native font control
213 ------------------------
214   Author:
215       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
217   Status:
218       Dummy control. No functionality.
220   Notes:
221       Author needed!! Any volunteers??
224 3.13 Pager Control
225 ------------------
226   Author:
227       Dummy written by Eric Kohl. <ekohl@abo.rhein-zeitung.de>
229   Status:
230       Under construction.
231       Many missing features.
233   Notes:
234       Author needed!! Any volunteers??
237 3.14 Progress Bar Control
238 -------------------------
239   Author:
240       Original implementation by Dimitrie O. Paun.
241       Fixes and improvements by Eric Kohl.
243   Status:
244       Finished!
247 3.15 Property Sheet
248 -------------------
249   Author:
250       Anders Carlsson <anders.carlsson@linux.nu>
251       Francis Beaudet <francis@macadamian.com>
253   Status:
254       Development in progress.
256   Notes:
257       Tab control must be implemented first.
260 3.16 Rebar Control (Cool Bar)
261 -----------------------------
262   Author:
263       Eric Kohl <ekohl@abo.rhein-zeitung.de>
265   Status:
266       Development in progress.
267       Many bugs and missing features.
269   Notes:
270       Author needed!! Any volunteers??
273 3.17 Status Bar Control
274 -----------------------
275   Author:
276       Original implementation by Bruce Milner.
277       Fixes and improvements by Eric Kohl.
279   Status:
280       Almost finished.
282   Notes:
283       Tooltip integration is almost complete.
286 3.18 Tab Control
287 ----------------
288   Author:
289       Anders Carlsson <anders.carlsson@linux.nu>
291   Status:
292       Development in progress.
295 3.19 Toolbar Control
296 --------------------
297   Author:
298       Eric Kohl <ekohl@abo.rhein-zeitung.de>
300   Status:
301       Development in progress.
302       Basic functionality is almost done. (dll version 4.0)
304   Notes:
305       Bitmaps are not correctly displayed.
308 3.20 Tooltip Control
309 --------------------
310   Author:
311       Eric Kohl <ekohl@abo.rhein-zeitung.de>
313   Status:
314       Almost finished.
316   Notes:
317       Unicode support is incomplete (WM_NOTIFYFORMAT).
320 3.21 Trackbar Control
321 ---------------------
322   Author:
323       Dummy written by Eric Kohl <ekohl@abo.rhein-zeitung.de>
324       Alex Priem <alexp@sci.kun.nl>
326   Status:
327       Under construction.
330 3.22 Tree View Control
331 ----------------------
332   Author:
333       Dummy written by Eric Kohl.
334       Alex Priem <alexp@sci.kun.nl>
336   Status:
337       Under construction.
340 3.23 Updown Control
341 -------------------
342   Author:
343       Original implementation by Dimitrie O. Paun.
344       Some minor changes by Eric Kohl <ekohl@abo.rhein-zeitung.de>.
346   Status:
347       Unknown.
349   Notes:
350       Have a look at controls/updown.c for a list of bugs and missing
351       features.
353       The status is unknown, because I did not have a close look at this
354       control. One test-program looked quite good, but in Win95's
355       cdplayer.exe the control does not show at all.
356       
357       Any volunteers??
360 4. Additional Information
361 -------------------------
363   Has to be written...
366 5. Undocumented features
367 ------------------------
369   There are quite a lot of undocumented functions like:
370      - DSA (Dynamic Storage Array) functions.
371      - DPA (Dynamic Pointer Array) functions.
372      - MRU ("Most Recently Used" List) functions.
373      - other unknown functions.
375   Have a look at relay32/comctl32.spec.
378 5.1 Dymnamic Storage Array (DSA)
379 ---------------------------------
380   The DSA functions are used to store and manage dynamic arrays of fixed size
381   memory blocks. They are used by TASKMAN.EXE, Explorer, IE4 and other
382   Programs and DLL's that are "parts of the Windows Operating System".
383   The implementation should be complete.
385   Have a look at the source code to get more information.
388 5.2 Dynamic Pointer Array (DPA)
389 ------------------------------------
390   Similar to the DSA functions, but they just store pointers. They are used by
391   Explorer, IE4 and other Programs and DLL's that are "parts of the Windows
392   Operating System". The implementation should be complete.
394   Have a look at the source code to get more information.
397 5.3 "Most Recently Used" - List (MRU)
398 -------------------------------------
399   Only stubs are implemented to keep Explorer from bailing out.
401   No more information available at this time!
404 5.4 MenuHelp
405 ------------
406   Has to be written...
409 5.5 GetEffectiveClientRect
410 --------------------------
411   Has to be written...
414 5.6 ShowHideMenuCtl
415 -------------------
416   The official documentation provided by MS is incomplete.
418   lpInfo:
419   ...
420   Both values of the first pair must be the handle to the applications main
421   menu.
422   ...
425 5.7 Other undocumented functions
426 --------------------------------
427   Several other undocumented functions are used by IE4.
429   String functions:
430   (will be written...)
433 6. Epilogue
434 -----------
435   You see, much work has still to be done. If you are interested in writing
436   a control send me an e-mail. If you like to fix bugs or add some
437   functionality send an e-mail to the author of the control.
440 Eric Kohl <ekohl@abo.rhein-zeitung.de>