Are all Windows controls called Common Controls?

I'm confused by the term "Shared Controls", are Windows controls separated into generic controls and not generic controls?

I tried to search for a list of common controls, but I couldn't find anything, if not all controls on Windows are common controls, can I get a list of common controls?

+3


source to share


2 answers


In simple terms, "common controls" are those that are implemented comctl32.dll

, the first of which appeared in Windows 95. They are:



They differ from the controls implemented user32.dll

that are "original" the Windows controls (starting with 16-bit the Windows): BUTTON

, EDIT

, LISTBOX

, COMBOBOX

, STATIC

and SCROLLBAR

.

+8


source


I would use Windows Controls and Common Controls are quite swappable, but it seems that if you want to be strict, there are (basic) Windows controls and (advanced) common controls.

Windows Controls says that Windows controls are child windows and that a complete list is available in the Control Library . The list is quite long and includes, for example, buttons, edit fields, tree views, and date and time pickers.

The MSDN About Windows Classes page provides you with a list of the main window classes. The controls listed there are basic only, such as buttons and edit boxes.



The MSDN page About Shared Controls says that shared controls are implemented by the shared control library Comctl32.dll. Creating Common Controls says that you must load Comctl32.dll by calling InitCommonControlsEx to provide the controls you need. There are bits for different classes , for example for tree views and data and timing.

To summarize: the list in the Control Library appears to be a complete list of all controls. These are either simple (simple, simple) Windows controls (see About Windows Classes for a list) or (more complex and more commonly used) Common Controls (for a list see INITCOMMONCONTROLSEX ).

+4


source







All Articles