Controls Sample

controls


Compiling

To compile the example:

Running

After launching the program, an empty window will be displayed. There are numerous menus in the window, each relating to a different type of control. Each menu has "Create" and "Delete" along with a other options specific to each control. By selecting these menu options, controls will be created and modified as demonstrated in the above illustration.

Under the Hood

Each menu is an instance of WEL_MENU and on_menu_command has been redefined in MAIN_WINDOW to perform the appropriate actions.

This sample contains the following classes:

See Also
WEL_LIST_VIEW
WEL_COMBO_BOX
WEL_PUSH_BUTTON
WEL_EDIT
WEL_RADIO_BUTTON
WEL_CHECK_BUTTON
WEL_MULTIPLE_LINE_EDIT
WEL_SCROLL_BAR