mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2026-04-05 09:39:31 +02:00
Author:admin
Date:2008-09-30T16:23:49.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@65 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -10,6 +10,6 @@ WEL is an encapsulation of the Win32 Application Programming Interface (API), an
|
||||
|
||||
==Getting started with WEL==
|
||||
|
||||
If you are new to WEL, then the best place to begin is the [[Tutorial|tutorial]] which is a series of samples demonstrating the development of a simple WEL system.
|
||||
If you are new to WEL, then the best place to begin is the [[WEL Tutorial|tutorial]], which consists of a series of samples demonstrating the development of a simple WEL system.
|
||||
Also take a look at [[WEL Common Concepts|WEL common concepts]] for details of some common concepts used in WEL programming.
|
||||
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
[[Property:title|WEL Class Reference]]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|a7745f7c-48e0-342b-8eeb-c0aad7553e29]]
|
||||
==View the [[ref:libraries/wel/reference/index|WEL Class Reference]]==
|
||||
|
||||
@@ -11,12 +11,12 @@ Each WEL library component implements a set of routines for processing the most
|
||||
|
||||
|
||||
An on_paint message corresponds to the Wm_paint message generated by Windows whenever it needs to re-paint a window, and if you look at the feature, you can see that the arguments are a [[ref:libraries/wel/reference/wel_paint_dc_chart|WEL_PAINT_DC]] and a[[ref:libraries/wel/reference/wel_rect_chart| WEL_RECT]] . which are relevant to this message. By redefining this feature (and others as required), your code will be able to respond appropriately to windows events.
|
||||
{{note| '''Note'''. See [[Tutorial Step 2|step2]] in the [[WEL Tutorial|tutorial]] for a simple demonstration involving the re-definition of <eiffel>on_left_button_down</eiffel>. }}
|
||||
{{note|. See [[Tutorial Step 2|step2]] in the [[WEL Tutorial|tutorial]] for a simple demonstration involving the re-definition of <eiffel>on_left_button_down</eiffel>. }}
|
||||
|
||||
|
||||
For different messages received by a control, the arguments will differ (sometimes there are none), but those arguments will always be relevant to the message. For example, on_menu_command from [[ref:libraries/wel/reference/wel_composite_window_chart|WEL_COMPOSITE_WINDOW]] has an <eiffel>INTEGER</eiffel> as an argument, the value of which is a unique menu identifier. <br/>
|
||||
|
||||
{{note| '''Note'''. Not all windows events have a corresponding `on_' message hook defined in WEL. If you wish to process a Windows message that does not correspond to one of the available features, you will need to redefine process_message. <br/>
|
||||
{{note|. Not all windows events have a corresponding `on_' message hook defined in WEL. If you wish to process a Windows message that does not correspond to one of the available features, you will need to redefine process_message. <br/>
|
||||
}}
|
||||
|
||||
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
[[Property:title|WEL Common Concepts]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|f2486cae-0ce5-7360-d40f-aea5f2766ebd]]
|
||||
Some useful WEL concepts are listed below:
|
||||
* [[Inheriting WEL_APPLICATION|Inheriting WEL_APPLICATION]]
|
||||
* [[Redefining main_window|Redefining main_window]]
|
||||
* [[Redefining `init_application'|Redefining init_application]]
|
||||
* [[Common message hooks|Common message hooks]]
|
||||
|
||||
|
||||
WEL concepts you should understand.
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[[Property:uuid|e6b092c9-dfb1-7bf1-67fc-647d047b6a01]]
|
||||
For most WEL applications that you write, you will need to inherit [[ref:libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] .
|
||||
|
||||
{{note| '''Note'''. See [[Tutorial Step 1|step1]] in the [[WEL Tutorial|tutorial]] for a simple demonstration of how to do this }}
|
||||
{{note|. See [[Tutorial Step 1|step1]] in the [[WEL Tutorial|tutorial]] for a simple demonstration of how to do this }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3,6 +3,3 @@
|
||||
[[Property:uuid|95d9b971-7470-9191-3023-b99c22354e8f]]
|
||||
[[ref:libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] contains a feature <eiffel>init_application</eiffel> which does nothing by default, but is called before the application is started. This can be redefined to execute tasks that must be performed before the application is running. A common redefinition is to allow the loading of common dll's, see [[List View|list_view]] sample for a demonstration of this technique.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[[Property:uuid|f7bfd5d0-86ef-5387-ba79-5461a516bcf6]]
|
||||
When you inherit [[ref:/libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] , you will need to implement the deferred feature main_window as a once function. This will be the main window of your application, and can be any descendent of [[ref:libraries/wel/reference/wel_composite_window_chart|WEL_COMPOSITE_WINDOW]] .
|
||||
|
||||
{{note| '''Note'''. See [[Tutorial Step 2|step2]] in the [[WEL Tutorial|tutorial]] for a simple demonstration of how to do this. }}
|
||||
{{note|. See [[Tutorial Step 2|step2]] in the [[WEL Tutorial|tutorial]] for a simple demonstration of how to do this. }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
A Control is a window which provides a means of interacting with the application. For example, the [[ref:libraries/wel/reference/wel_edit_chart|WEL_EDIT]] control provides a user with the means of entering and modifying text. There are many common controls available within this cluster, each with a specific use.
|
||||
|
||||
{{note| '''Note:''' Each control inherits from [[ref:libraries/wel/reference/wel_control_chart|WEL_CONTROL]] which is a descendent of [[ref:libraries/wel/reference/wel_window_chart|WEL_WINDOW]] This provides the control with a large number of general features (including full window functionality). Each control also provides its own feature set which give access to specific properties of that control. }}
|
||||
{{note|Each control inherits from [[ref:libraries/wel/reference/wel_control_chart|WEL_CONTROL]] which is a descendent of [[ref:libraries/wel/reference/wel_window_chart|WEL_WINDOW]] This provides the control with a large number of general features (including full window functionality). Each control also provides its own feature set which give access to specific properties of that control. }}
|
||||
|
||||
==Creating controls==
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ A indeterminate [[ref:libraries/wel/reference/wel_check_box_3_state_chart|WEL_CH
|
||||
[[Image:wel-check-box-3-state-indeterminate|wel_check_box_3_state_indeterminate]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_CHECKBOX|WEL_CHECK_BOX]] }}
|
||||
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ A [[ref:libraries/wel/reference/wel_check_box_chart|WEL_CHECK_BOX]] <br/>
|
||||
<br/>
|
||||
A checked [[ref:libraries/wel/reference/wel_check_box_chart|WEL_CHECK_BOX]] <br/>
|
||||
[[Image:wel-check-box-checked|wel_check_box_checked]]
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_CHECK_BOX_3_STATE|WEL_CHECK_BOX_3_STATE]] }}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_UP_DOWN_CONTROL]]
|
||||
[[Property:weight|15]]
|
||||
[[Property:uuid|71cbdf70-3bf0-a087-6859-30c1564c27a4]]
|
||||
A [[ref:libraries/wel/reference/wel_up_down_control_chart|WEL_UP_DOWN_CONTROL]] consists of a pair of arrows which are used to increment or decrement a value. Using set_buddy_window, a window of type [[ref:libraries/wel/reference/wel_window_chart|WEL_WINDOW]] can be linked to this control, and is commonly used to display the current value.
|
||||
==Appearance==
|
||||
[[Image:wel-up-down-control|wel_up_down_control]]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_GROUP_BOX]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|9ef874da-4d1f-b3f4-9645-9b50b1718daf]]
|
||||
A [[ref:libraries/wel/reference/wel_group_box_chart|WEL_GROUP_BOX]] is used to enclose other controls, and certain controls such as a [[WEL_RADIO_BUTTON|WEL_RADIO_BUTTON]] have special behavior when parented in a [[ref:libraries/wel/reference/wel_group_box_chart|WEL_GROUP_BOX]] .
|
||||
|
||||
==Appearance==
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_LIST_VIEW]]
|
||||
[[Property:weight|3]]
|
||||
[[Property:uuid|730f6b22-f858-816f-090e-c32ec1bebfd9]]
|
||||
A [[ref:libraries/wel/reference/wel_list_view_chart|WEL_LIST_VIEW]] control is an encapsulation of the Windows List View control and provides several ways of displaying a collection of items. Each item can consist of a text and an icon. Certain styles allow additional information to be displayed in columns to the right of the icon and label.
|
||||
==Appearance==
|
||||
A [[ref:libraries/wel/reference/wel_list_view_chart|WEL_LIST_VIEW]] with the Lvs_report style. <br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_MULTIPLE_LINE_EDIT]]
|
||||
[[Property:weight|4]]
|
||||
[[Property:uuid|752a587f-4c17-f8bf-0f16-c0cf9f69bdc6]]
|
||||
A [[ref:libraries/wel/reference/wel_multiple_line_edit_chart|WEL_MULTIPLE_LINE_EDIT]] is used to display multiple lines of text. Using set_read_only, the text can be made non-editable.
|
||||
|
||||
==Appearance==
|
||||
|
||||
@@ -7,7 +7,7 @@ A [[ref:libraries/wel/reference/wel_multiple_selection_list_box_chart|WEL_MULTIP
|
||||
[[Image:wel-multiple-selection-list-box|wel_multiple_selection_list_box]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_SINGLE_SELECTION_LIST_BOX|WEL_SINGLE_SELECTION_LIST_BOX]] }}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ A [[ref:libraries/wel/reference/wel_owner_draw_button_chart|WEL_OWNER_DRAW_BUTTO
|
||||
|
||||
There is no sample appearance for this control.
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_PUSH_BUTTON|WEL_PUSH_BUTTON]] }}
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
[[Property:uuid|6c8b5b4c-2d55-9635-1c29-361c28f09b14]]
|
||||
A [[ref:libraries/wel/reference/wel_progress_bar_chart|WEL_PROGRESS_BAR]] control is an encapsulation of the Win32 progress bar. It can be used to display the progress of a lengthy operation.
|
||||
|
||||
{{note| '''Note:''' By specifying the style Pbs_vertical, the progress bar will be displayed vertically. }}
|
||||
{{note|By specifying the style Pbs_vertical, the progress bar will be displayed vertically. }}
|
||||
|
||||
==Appearance==
|
||||
A [[ref:libraries/wel/reference/wel_progress_bar_chart|WEL_PROGRESS_BAR]] . <br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_PUSH_BUTTON]]
|
||||
[[Property:weight|8]]
|
||||
[[Property:uuid|186eb349-b7c9-9944-285e-34dd9968c4e0]]
|
||||
A [[ref:libraries/wel/reference/wel_push_button_chart|WEL_PUSH_BUTTON]] is a control that the user can click to provide notification to the application.
|
||||
==Appearance==
|
||||
[[Image:wel-push-button|wel_push_button]]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_RADIO_BUTTON]]
|
||||
[[Property:weight|9]]
|
||||
[[Property:uuid|ce7c3bfb-7950-95fb-0f92-7e33abdefa3b]]
|
||||
A [[ref:libraries/wel/reference/wel_radio_button_chart|WEL_RADIO_BUTTON]] control can take two states, checked or unchecked. By placing more than one of these in a [[ref:libraries/wel/reference/wel_group_box_chart|WEL_GROUP_BOX]] , they will become grouped, and only one may be checked at once.
|
||||
|
||||
==Appearance==
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_SCROLL_BAR]]
|
||||
[[Property:weight|10]]
|
||||
[[Property:uuid|74da6cc8-0398-0b51-885b-d73b7ec104e0]]
|
||||
A [[ref:libraries/wel/reference/wel_scroll_bar_chart|WEL_SCROLL_BAR]] control is an encapsulation of the Windows scroll bar control and is often used to specify which portion of a large control that cannot be viewed completely, is currently visible.
|
||||
|
||||
==Appearance==
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_SINGLE_LINE_EDIT]]
|
||||
[[Property:weight|11]]
|
||||
[[Property:uuid|69694ef8-a422-7f46-d97b-d42a16bfe838]]
|
||||
A [[ref:libraries/wel/reference/wel_single_line_edit_chart|WEL_SINGLE_LINE_EDIT]] is a control used to input a single line of text.
|
||||
==Appearance==
|
||||
[[Image:wel-single-line-edit|wel_single_line_edit]]
|
||||
|
||||
@@ -7,7 +7,7 @@ A [[ref:libraries/wel/reference/wel_single_selection_list_box_chart|WEL_SINGLE_S
|
||||
[[Image:wel-single-selection-list-box|wel_single_selection_list_box]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_MULTIPLE_SELECTION_LIST_BOX|WEL_MULTIPLE_SELECTION_LIST_BOX]] }}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_TOOLTIP]]
|
||||
[[Property:weight|13]]
|
||||
[[Property:uuid|2eb53721-d1a8-cec0-5c6a-692e9dc58755]]
|
||||
A [[ref:libraries/wel/reference/wel_tooltip_chart|WEL_TOOLTIP]] is an encapsulation of the Win32 tooltip control, and controls pop-up windows which display text. Each tooltip may control multiple pop-up windows, which are added to the tooltip using <eiffel>add_tool</eiffel>.
|
||||
==Appearance==
|
||||
[[Image:wel-tooltip|wel_tooltip]]
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|WEL_TRACK_BAR]]
|
||||
[[Property:weight|14]]
|
||||
[[Property:uuid|ceb2589f-4caf-686c-b19f-6f2769b0edcb]]
|
||||
A [[ref:libraries/wel/reference/wel_track_bar_chart|WEL_TRACK_BAR]] control has a sliding pointer and optional tick marks.
|
||||
|
||||
==Appearance==
|
||||
|
||||
@@ -17,6 +17,3 @@ The WEL library includes the following clusters:
|
||||
* <eiffel>structs</eiffel> cluster which contains classes for data structures required by Win32
|
||||
* <eiffel>support</eiffel> cluster which contains many supporting classes
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Standard Dialogs]]
|
||||
[[Property:link_title|stddlgs cluster]]
|
||||
[[Property:title|stddlgs cluster]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|0af8dcbf-ed31-51d7-885c-c677090f0633]]
|
||||
This cluster contains different standard dialogs provided by WEL.
|
||||
|
||||
@@ -7,7 +7,7 @@ The [[ref:libraries/wel/reference/wel_choose_color_dialog_chart|WEL_CHOOSE_COLOR
|
||||
[[Image:wel-choose-color-dialog|wel_choose_color_dialog]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[stddlgs cluster|Standard dialogs]] }}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ The [[ref:libraries/wel/reference/wel_choose_folder_dialog_chart|WEL_CHOOSE_FOLD
|
||||
[[Image:wel-choose-folder-dialog|wel_choose_folder_dialog]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[stddlgs cluster|Standard dialogs]] }}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ The [[ref:libraries/wel/reference/wel_choose_font_dialog_chart|WEL_CHOOSE_FONT_D
|
||||
[[Image:wel-choose-font-dialog|wel_choose_font_dialog]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[stddlgs cluster|Standard dialogs]] }}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ The [[ref:libraries/wel/reference/wel_open_file_dialog_chart|WEL_OPEN_FILE_DIALO
|
||||
[[Image:wel-open-file-dialog|wel_open_file_dialoG]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[stddlgs cluster|Standard dialogs]] <br/>
|
||||
[[WEL_SAVE_FILE_DIALOG|WEL_SAVE_FILE_DIALOG]] }}
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ The [[ref:libraries/wel/reference/wel_print_dialog_chart|WEL_PRINT_DIALOG]] is
|
||||
[[Image:wel-print-dialog|wel_print_dialog]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[stddlgs cluster|Standard dialogs]] }}
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ The [[ref:libraries/wel/reference/wel_save_file_dialog_chart|WEL_SAVE_FILE_DIALO
|
||||
[[Image:wel-save-file-dialog|wel_save_file_dialoG]] <br/>
|
||||
<br/>
|
||||
|
||||
{{seealso| '''See also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[stddlgs cluster|Standard dialogs]] <br/>
|
||||
[[WEL_OPEN_FILE_DIALOG|WEL_OPEN_FILE_DIALOG]] }}
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ The following effective window types are available:
|
||||
* [[ref:/libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]]
|
||||
* [[ref:/libraries/wel/reference/wel_control_window_chart|WEL_CONTROL_WINDOW]]
|
||||
|
||||
{{note| '''Note:''' A WEL application must contain at least one window. See the [[WEL Tutorial]] for details of how to set up your first window within a [[ref:/libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] . }}
|
||||
{{note|A WEL application must contain at least one window. See the [[WEL Tutorial]] for details of how to set up your first window within a [[ref:/libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] . }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ This sample contains the following classes:
|
||||
* <code>CHILD_WINDOW</code>
|
||||
* <code>APPLICATION_IDS</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_OPEN_FILE_DIALOG|WEL_OPEN_FILE_DIALOG]] <br/>
|
||||
[[MDI (Multiple Document Interface)|Mdi sample]] }}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ To compile the example:
|
||||
After launching the program you will see a window displayed containing three push buttons marked "Brushes", "Rectangles" and "3D". Clicking "Brushes" will open a new window demonstrating different brushes available. Clicking "Rectangles" will open a new window within which many different shaped and colored rectangles will be drawn. Clicking"3D" will open a new window demonstrating the use of multiple bitmaps for animation.
|
||||
==Under the Hood==
|
||||
Each of the three windows that are opened from the programs <code>MAIN_WINDOW</code> inherit [[ref:libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]] and contains code for generating their output. <code>BRUSHES_DEMO</code> redefines <code>idle_action</code> to force a re-draw on the applicable windows.
|
||||
{{note| '''Note'''. If <code>enable_idle_action</code> is not called, then <code> idle_action</code> is never executed. }}
|
||||
{{note|. If <code>enable_idle_action</code> is not called, then <code> idle_action</code> is never executed. }}
|
||||
|
||||
This sample contains the following classes:
|
||||
* <code>APPLICATION_IDS</code>
|
||||
|
||||
@@ -18,7 +18,7 @@ To compile the example:
|
||||
After launching the program, you will see a window displayed with a similar appearance to the one illustrated above. Please follow the instructions displayed in the window.
|
||||
==Under the Hood==
|
||||
<code>MAIN_DIALOG</code> inherits [[ref:libraries/wel/reference/wel_main_dialog_chart|WEL_MAIN_DIALOG]] which provides the feature put_command, used to associate a [[ref:libraries/wel/reference/wel_command_chart|WEL_COMMAND]] to a Windows message received by the window. A [[ref:libraries/wel/reference/wel_command_chart|WEL_COMMAND]] contains a deferred feature, execute which is executed when the command is fired. <code>SHOW_COMMAND_INFORMATION</code>, <code>SHOW_MOUSE_BUTTON_INFORMATION</code> and <code>SHOW_MOVE_INFORMATION</code> all inherit [[ref:libraries/wel/reference/wel_command_chart|WEL_COMMAND]] .
|
||||
{{note| '''Note '''execute has an argument of type <code>ANY</code> which is used to pass any additional information required. }}
|
||||
{{note|execute has an argument of type <code>ANY</code> which is used to pass any additional information required. }}
|
||||
|
||||
This sample contains the following classes:
|
||||
* <code>APPLICATION_IDS</code>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Common Controls]]
|
||||
[[Property:weight|-13]]
|
||||
[[Property:uuid|d50d633a-2ba5-995e-637c-6694cee8bf55]]
|
||||
[[Image:comctrls|comctrls]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -26,7 +26,7 @@ This sample contains the following classes:
|
||||
* <code>CONTROLS</code>
|
||||
* <code>MAIN_WINDOW</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_LIST_VIEW|WEL_LIST_VIEW]] <br/>
|
||||
[[ref:/libraries/wel/reference/wel_combo_box_chart|WEL_COMBO_BOX]] <br/>
|
||||
[[WEL_PUSH_BUTTON|WEL_PUSH_BUTTON]] <br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Ctlcolor]]
|
||||
[[Property:weight|-10]]
|
||||
[[Property:uuid|0f9f5155-1c21-dd20-4810-32c105eeb02a]]
|
||||
[[Image:ctlcolor|ctlcolor]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Cursors]]
|
||||
[[Property:weight|-9]]
|
||||
[[Property:uuid|2f1abcdd-182f-3fdf-27b9-861d1c2e2167]]
|
||||
[[Image:cursors|cursors]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Disk Space]]
|
||||
[[Property:weight|-8]]
|
||||
[[Property:uuid|09c90710-45c8-f674-376c-30ed0da738cd]]
|
||||
[[Image:diskspace|diskspace]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Fontenum]]
|
||||
[[Property:weight|-7]]
|
||||
[[Property:uuid|7dbb5e5c-3e00-e4f6-9fc6-29ba4f2476d9]]
|
||||
[[Image:fontenum|fontenum]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Fun]]
|
||||
[[Property:weight|-6]]
|
||||
[[Property:uuid|ad05362e-76a3-db98-a58d-d49f9f2b5f2a]]
|
||||
[[Image:fun|fun]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Header Control]]
|
||||
[[Property:weight|-5]]
|
||||
[[Property:uuid|9b2bee5f-8676-4f9f-c6e0-e00b44b3bef4]]
|
||||
[[Image:header-ctrl|header_ctrl]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -37,7 +37,7 @@ This sample contains the following classes:
|
||||
* MAIN_WINDOW
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[Tutorial Step 3|Tutorial Step3]] <br/>
|
||||
[[Common message hooks|Common message hooks]] }}
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
[[Property:uuid|f6df9869-52b7-0d10-dd0c-52796f631998]]
|
||||
There are a large number of samples provided with the WEL library, each designed to demonstrate different functionality. The samples available are listed below.
|
||||
|
||||
{{note| '''Note''': If you are new to WEL programming, the recommended place to start is the set of samples called the [[WEL Tutorial]]. }}
|
||||
{{note|If you are new to WEL programming, the recommended place to start is the set of samples called the [[WEL Tutorial]]. }}
|
||||
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ This sample contains the following classes:
|
||||
* <code>LISTVIEW_DEMO</code>
|
||||
* <code>APPLICATION_IDS</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
WEL_LIST_VIEW }}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Magnify]]
|
||||
[[Property:weight|-2]]
|
||||
[[Property:uuid|2c50fccc-2481-6f2d-d223-b4b246398636]]
|
||||
[[Image:magnify|MAGNIFY]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ This sample contains the following classes:
|
||||
* <code>MAIN_WINDOW</code>
|
||||
* <code>MDI_DEMO</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[Bmpview|Bmpview]] }}
|
||||
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ This sample contains only one class:
|
||||
* <code>MINIMAL_DEMO</code>
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[Tutorial Step 1|tutorial step 1]] <br/>
|
||||
[[ref:/libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]] }}
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Pizza]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|5375fdad-ab5e-7f6e-ef44-a4f34d137231]]
|
||||
=Pizza Sample=
|
||||
[[Image:pizza|pizza]] <br/>
|
||||
<br/>
|
||||
|
||||
@@ -25,7 +25,7 @@ This sample contains the following classes:
|
||||
* <code>MAIN_WINDOW</code>
|
||||
* <code>PRINTER_DEMO</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_PRINT_DIALOG|WEL_PRINT_DIALOG]] }}
|
||||
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ This sample contains the following classes:
|
||||
* MAIN_WINDOW
|
||||
* RICHEDIT_DEMO
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[ref:/libraries/wel/reference/wel_rich_edit_chart|WEL_RICH_EDIT]] <br/>
|
||||
[[WEL_PRINT_DIALOG|WEL_PRINT_DIALOG]] <br/>
|
||||
[[WEL_SAVE_FILE_DIALOG|WEL_SAVE_FILE_DIALOG]] <br/>
|
||||
|
||||
@@ -26,7 +26,7 @@ This sample contains the following classes:
|
||||
* <code>WEL_SPLIT_AREA</code>
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[ref:/libraries/wel/reference/wel_rich_edit_chart|WEL_RICH_EDIT]] }}
|
||||
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ This sample contains the following classes:
|
||||
* <code>MAIN_WINDOW</code>
|
||||
* <code>STDDLG_DEMO</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL_OPEN_FILE_DIALOG|WEL_OPEN_FILE_DIALOG]] <br/>
|
||||
[[WEL_CHOOSE_FONT_DIALOG|WEL_CHOOSE_FONT_DIALOG]] <br/>
|
||||
[[WEL_CHOOSE_COLOR_DIALOG|WEL_CHOOSE_COLOR_DIALOG]] <br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Timer]]
|
||||
[[Property:weight|7]]
|
||||
[[Property:uuid|ec5895ca-5d09-292f-f5dc-4787d3495bae]]
|
||||
[[Image:timer|timer]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ This sample contains the following classes:
|
||||
* <code>TREEVIEW_DEMO</code>
|
||||
* <code>APPLICATION_IDS</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[ref:/libraries/wel/reference/wel_tree_view_chart|WEL_TREE_VIEW]] }}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Wel Sample: Unicode]]
|
||||
[[Property:link_title|Unicode Sample]]
|
||||
[[Property:title|Unicode Sample]]
|
||||
[[Property:weight|9]]
|
||||
[[Property:uuid|9905de6c-3f13-1c31-2f8c-efddd71abc6d]]
|
||||
[[Image:unicode|unicode]] <br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Wel Sample: Menus]]
|
||||
[[Property:weight|0]]
|
||||
[[Property:uuid|9cd62273-3624-fc6c-44d5-c42150d9b684]]
|
||||
[[Image:menus|menus]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Wel Sample: Windows]]
|
||||
[[Property:link_title|Windows Sample]]
|
||||
[[Property:title|Windows Sample]]
|
||||
[[Property:weight|10]]
|
||||
[[Property:uuid|3ace1338-c85b-c7d8-faaf-52e9fb4e157e]]
|
||||
[[Image:windows|windows]] <br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Xcell]]
|
||||
[[Property:weight|11]]
|
||||
[[Property:uuid|b48ed2d1-d91f-e288-5705-7a6bfa612c29]]
|
||||
[[Image:xcell|xcell]] <br/>
|
||||
<br/>
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ This sample contains the following classes:
|
||||
* <code>MAIN_WINDOW</code>
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[Tutorial Step 3|tutorial_step3]] <br/>
|
||||
[[WEL_PUSH_BUTTON|WEL_PUSH_BUTTON]] <br/>
|
||||
}}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Tutorial]]
|
||||
[[Property:link_title|WEL Tutorial]]
|
||||
[[Property:title|WEL Tutorial]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|68faa545-c658-ad5e-ca6f-ab693a7aabf8]]
|
||||
WEL is shipped with a tutorial among its sample programs. This tutorial shows you how to develop a simple WEL application and contains eight different samples listed below:
|
||||
|
||||
@@ -27,7 +27,7 @@ Although this system does nothing except create and display a [[ref:/libraries/w
|
||||
|
||||
This sample only contains one class, TUTORIAL_STEP1 which inherits [[ref:/libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] and redefines <code>main_window</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[Inheriting WEL_APPLICATION|Inheriting WEL application]] <br/>
|
||||
[[Redefining main_window|Redefining main_window]] }}
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ This sample contains the following classes:
|
||||
* <code>MAIN_WINDOW</code>
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[WEL Common Concepts|Common message hooks]] <br/>
|
||||
}}
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ This sample contains the following classes:
|
||||
* <code>MAIN_WINDOW</code>
|
||||
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[Common message hooks|Common message hooks]] <br/>
|
||||
}}
|
||||
|
||||
|
||||
@@ -19,7 +19,7 @@ This sample builds on the knowledge learned in the previous tutorials ( [[Tutori
|
||||
After launching the sample, you will see a [[ref:libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]] displayed. By holding down the left mouse button, and moving the mouse (Within the client area of the window), you will be able to draw on the client area of the window. Pressing the right mouse button within the window will clear the client area of the window.
|
||||
==Under the Hood==
|
||||
|
||||
This system is an improvement over tutorial [[Tutorial Step 3|step3]] and only uses WEL techniques demonstrated in previous [[Tutorial|tutorials]] to allow you to draw on the client DC of the window.
|
||||
This system is an improvement over tutorial [[Tutorial Step 3|step3]] and only uses WEL techniques demonstrated in previous tutorials to allow you to draw on the client DC of the window.
|
||||
|
||||
This sample contains the following classes:
|
||||
* <code>TUTORIAL_STEP4</code>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Tutorial Step 5]]
|
||||
[[Property:weight|4]]
|
||||
[[Property:uuid|05145328-5d2a-4d48-68cc-746ddf66b68f]]
|
||||
The sample builds on tutorial [[Tutorial Step 4|step 4]] and also demonstrates the use of a [[ref:libraries/wel/reference/wel_modal_dialog_chart|WEL_MODAL_DIALOG]] . The output is shown below:
|
||||
[[Image:step5|step5]] <br/>
|
||||
<br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Tutorial Step 6]]
|
||||
[[Property:weight|5]]
|
||||
[[Property:uuid|90d557e1-c4a6-e6ff-ff19-95a44c99f0ae]]
|
||||
This sample builds on tutorial [[Tutorial Step 5|step 5]] by preventing the loss of the drawing when Windows re-draws the client area of the [[ref:libraries/wel/reference/wel_frame_window_chart|WEL_FRAME_WINDOW]] . The output is shown below:
|
||||
[[Image:step6|step6]] <br/>
|
||||
<br/>
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
[[Property:title|Tutorial Step 7]]
|
||||
[[Property:weight|6]]
|
||||
[[Property:uuid|751a492d-6902-838e-7468-38b67e40f4e2]]
|
||||
This sample builds on tutorial [[Tutorial Step 6|step 6]] , and also demonstrates the use of a [[ref:libraries/wel/reference/wel_menu_chart|WEL_MENU]] . The output is shown below:
|
||||
[[Image:step7|step7]] <br/>
|
||||
<br/>
|
||||
|
||||
@@ -30,7 +30,7 @@ This sample contains the following classes:
|
||||
* <code>LINES</code>
|
||||
* <code>LINE</code>
|
||||
|
||||
{{seealso| '''See Also''' <br/>
|
||||
{{seealso|<br/>
|
||||
[[ref:/libraries/wel/reference/wel_save_file_dialog_chart|Save file dialog]] <br/>
|
||||
[[ref:/libraries/wel/reference/wel_open_file_dialog_chart|Open file dialog]] }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user