2 <title>Wine Builtin DLLs Overview</title>
3 <para>A more detailed look at Wine's builtin DLLs...</para>
5 <sect1 id="common-controls">
6 <title>Common Controls</title>
8 <!-- FIXME: Huh? Subtitle element not available here?!? -->
9 <bridgehead renderas="sect3">
10 Their development status and their UNDOCUMENTED features and functions
14 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
17 (Extracted from <filename>wine/documentation/common_controls</filename>)
22 <title>1. Introduction</title>
25 The information provided herein is based on the dll version
26 4.72 which is included in MS Internet Explorer 4.01.
29 All information about common controls should be collected in this document.
32 All Wine programmers are encouraged to add their knowledge to this document.
37 <title>2. General Information</title>
40 Further information about common controls can be found in
41 the MS Platform SDK and the MS Internet Client SDK (most
42 recent). Information from these SDK's will NOT be repeated
43 here. Only information which can NOT be found in these SDK's
44 will be collected here. Some information in the SDK's
45 mentioned above is (intentionally???) WRONG. Corrections to
46 wrong information will be collected here too.
50 <title>2.1 Structure sizes of different common control versions</title>
53 The common controls have been continously improved in the
54 past. Some of the orignal structures had to be extended
55 and their size changed. Most of the common control
56 structures include their size as the first parameter. If a
57 control gets the wrong size in a message or function a
58 failure is very likely to occur. To avoid this, MS defined
59 new constants that reflect the structure size of older
60 <filename>COMCTL32.DLL</filename> versions. The following
61 list shows the structure size constants that are currently
62 defined in the original <filename>COMCTL32.DLL</filename>.
66 Some stuctures are NOT defined in wine's COMCTL32 yet.
72 <term><varname>HDITEM_V1_SIZE</varname>:</term>
74 <para>The size of the <structname>HDITEM</structname>
75 structure in version 4.00.</para>
79 <term><varname>LVCOLUMN_V1_SIZE</varname>:</term>
82 <structname>LVCOLUMN</structname> structure in
87 <term><varname>LVHITTESTINFO_V1_SIZE</varname>:</term>
90 <structname>LVHITTESTINFO</structname> structure in
95 <term><varname>LVITEM_V1_SIZE</varname>:</term>
97 <para>The size of the <structname>LVITEM</structname>
98 structure in version 4.00.</para>
102 <term><varname>NMLVCUSTOMDRAW_V3_SIZE</varname>:</term>
104 <para>The size of the
105 <structname>NMLVCUSTOMDRAW</structname> structure in
110 <term><varname>NMTTDISPINFO_V1_SIZE</varname>:</term>
112 <para>The size of the
113 <structname>NMTTDISPINFO</structname> structure in
118 <term><varname>NMTVCUSTOMDRAW_V3_SIZE</varname>:</term>
120 <para>The size of the
121 <structname>NMTVCUSTOMDRAW</structname> structure in
126 <term><varname>PROPSHEETHEADER_V1_SIZE</varname>:</term>
128 <para>The size of the
129 <structname>PROPSHEETHEADER</structname> structure
130 in version 4.00.</para>
134 <term><varname>PROPSHEETPAGE_V1_SIZE</varname>:</term>
136 <para>The size of the
137 <structname>PROPSHEETPAGE</structname> structure in
142 <term><varname>REBARBANDINFO_V3_SIZE</varname>:</term>
144 <para>The size of the
145 <structname>REBARBANDINFO</structname> structure in
150 <term><varname>TTTOOLINFO_V1_SIZE</varname>:</term>
152 <para>The size of the
153 <structname>TOOLINFO</structname> structure in
158 <term><varname>TVINSERTSTRUCT_V1_SIZE</varname>:</term>
160 <para>The size of the
161 <structname>TVINSERTSTRUCT</structname> structure in
170 <title>3. Controls</title>
173 This section describes the development status of the common controls.
177 <title>3.1 Animation Control</title>
184 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>
191 <para>Dummy control. No functionality.</para>
197 <para>Author needed!! Any volunteers??</para>
204 <title>3.2 Combo Box Ex Control</title>
211 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>
218 <para>Dummy control. No functionality.</para>
224 <para>Author needed!! Any volunteers??</para>
231 <title>3.3 Date and Time Picker Control</title>
238 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>
245 <para>Dummy control. No functionality.</para>
251 <para>Author needed!! Any volunteers??</para>
258 <title>3.4 Drag List Box Control</title>
265 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>
272 <para>Dummy control. No functionality.</para>
278 <para>Author needed!! Any volunteers??</para>
285 <title>3.5 Flat Scroll Bar Control</title>
292 Dummy written by &name-alex-priem; <email>&email-alex-priem;</email>
299 <para>Dummy control. No functionality.</para>
305 <para>Author needed!! Any volunteers??</para>
312 <title>3.6 Header Control</title>
319 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>
328 <para>Almost finished.</para>
331 <para>Unicode notifications are not supported (WM_NOTIFYFORMAT).</para>
334 <para>Order array not supported.</para>
343 <title>3.7 Hot Key Control</title>
350 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
357 <para>Dummy control. No functionality.</para>
363 <para>Author needed!! Any volunteers??</para>
370 <title>3.8 Image List (no control)</title>
377 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>
384 <para>Almost finished.</para>
391 <title>3.9 IP Address Control</title>
398 Dummy written by &name-eric-kohl; <email>&email-eric-kohl;</email>,
399 &name-alex-priem; <email>&email-alex-priem;</email>
406 <para>Under construction.</para>
413 <title>3.10 List View Control</title>
419 <para>Dummy written by: </para>
423 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
427 <para>&name-luc-tourangeau; <email>&email-luc-tourangeau;</email></para>
430 <para>&name-koen-deforche; <email>&email-koen-deforche;</email></para>
433 <para>&name-francis-beaudet; <email>&email-francis-beaudet;</email>
434 and the "Corel Team"</para>
443 <para>Under construction.</para>
450 Basic data structure with related messages are
451 supported. No painting supported yet.
459 <title>3.11 Month Calendar Control</title>
466 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
473 <para>Dummy control. No functionality.</para>
479 <para>Author needed!! Any volunteers??</para>
486 <title>3.12 Native font control</title>
493 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
500 <para>Dummy control. No functionality.</para>
506 <para>Author needed!! Any volunteers??</para>
513 <title>3.13 Pager Control</title>
520 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
528 Under construction. Many missing features.
535 <para>Author needed!! Any volunteers??</para>
542 <title>3.14 Progress Bar Control</title>
549 Original implementation by Dimitrie O. Paun. Fixes
550 and improvements by Eric Kohl.
557 <para>Finished!</para>
564 <title>3.15 Property Sheet</title>
571 &name-anders-carlsson; <email>&email-anders-carlsson;</email> and
572 &name-francis-beaudet; <email>&email-francis-beaudet;</email>
579 <para>Development in progress.</para>
585 <para>Tab control must be implemented first.</para>
592 <title>3.16 Rebar Control (Cool Bar)</title>
599 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
606 <para>Development in progress. Many bugs and missing features.</para>
612 <para>Author needed!! Any volunteers??</para>
619 <title>3.17 Status Bar Control</title>
626 Original implementation by Bruce Milner. Fixes and
627 improvements by Eric Kohl.
634 <para>Almost finished.</para>
640 <para>Tooltip integration is almost complete.</para>
647 <title>3.18 Tab Control</title>
654 &name-anders-carlsson; <email>&email-anders-carlsson;</email>
661 <para>Development in progress.</para>
668 <title>3.19 Toolbar Control</title>
675 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
683 Development in progress. Basic functionality is
684 almost done. (dll version 4.0)
692 <title>3.20 Tooltip Control</title>
699 Written by &name-eric-kohl; <email>&email-eric-kohl;</email>
706 <para>Almost finished.</para>
712 <para>Unicode support is incomplete
713 (<constant>WM_NOTIFYFORMAT</constant>).</para>
720 <title>3.21 Trackbar Control</title>
727 Written by &name-eric-kohl; <email>&email-eric-kohl;</email> and
728 &name-alex-priem; <email>&email-alex-priem;</email>
735 <para>Under construction.</para>
742 <title>3.22 Tree View Control</title>
749 Written by &name-eric-kohl; <email>&email-eric-kohl;</email> and
750 &name-alex-priem; <email>&email-alex-priem;</email>, fixes by
751 &name-aric-stewart; <email>&email-aric-stewart;</email>
758 <para>Quite usable already.</para>
765 <title>3.23 Updown Control</title>
772 Original implementation by Dimitrie O. Paun.
773 Some minor changes by &name-eric-kohl; <email>&email-eric-kohl;</email>.
780 <para>Unknown.</para>
788 Have a look at <filename>controls/updown.c</filename>
789 for a list of bugs and missing features.
792 The status is unknown, because I did not have a close
793 look at this control. One test-program looked quite
794 good, but in Win95's <filename>cdplayer.exe</filename>
795 the control does not show at all.
805 <title>4. Additional Information</title>
813 <title>5. Undocumented features</title>
816 There are quite a lot of undocumented functions like:
820 <para>DSA (Dynamic Storage Array) functions.</para>
823 <para>DPA (Dynamic Pointer Array) functions.</para>
826 <para>MRU ("Most Recently Used" List) functions.</para>
829 <para>other unknown functions.</para>
834 Have a look at <filename>relay32/comctl32.spec</filename>.
838 <title>5.1 Dynamic Storage Array (DSA)</title>
841 The DSA functions are used to store and manage dynamic
842 arrays of fixed size memory blocks. They are used by
843 <filename>TASKMAN.EXE</filename>, Explorer, IE4 and other
844 Programs and DLL's that are "parts of the Windows
845 Operating System". The implementation should be complete.
848 Have a look at the source code to get more information.
853 <title>5.2 Dynamic Pointer Array (DPA)</title>
856 Similar to the DSA functions, but they just store
857 pointers. They are used by Explorer, IE4 and other
858 Programs and DLL's that are "parts of the Windows
859 Operating System". The implementation should be complete.
862 Have a look at the source code to get more information.
867 <title>5.3 "Most Recently Used" - List (MRU)</title>
870 Only stubs are implemented to keep Explorer from bailing out.
873 No more information available at this time!
878 <title>5.4 MenuHelp</title>
886 <title>5.5 GetEffectiveClientRect</title>
894 <title>5.6 ShowHideMenuCtl</title>
897 The official documentation provided by MS is incomplete.
902 <term><varname>lpInfo</varname>:</term>
906 Both values of the first pair must be the handle
907 to the applications main menu.
916 <title>5.7 Other undocumented functions</title>
919 Several other undocumented functions are used by IE4.
922 String functions: (will be written...)
928 <title>6. Epilogue</title>
931 You see, much work has still to be done. If you are
932 interested in writing a control send me an e-mail. If you
933 like to fix bugs or add some functionality send an e-mail to
934 the author of the control.
940 <!-- Keep this comment at the end of the file
943 sgml-parent-document:("wine-doc.sgml" "set" "book" "part" "chapter" "")