mirror of
https://github.com/EiffelSoftware/eiffel-org.git
synced 2025-12-07 15:22:31 +01:00
Author:halw
Date:2008-09-24T22:02:51.000000Z git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@41 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
[[Property:uuid|b6513eee-a12c-1f9f-4257-b08d2e18cef4]]
|
||||
== Eiffel with Microsoft Windows ==
|
||||
|
||||
Primary source for Eiffel platform specific support for Microsoft Windows
|
||||
Primary source for Eiffel platform specific support for Microsoft Windows
|
||||
|
||||
* [[.NET| Eiffel for .NET documentation]]
|
||||
** [[.NET Installation instructions|Installation instructions]]
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
[[Property:title|WEL Library]]
|
||||
[[Property:link_title|WEL]]
|
||||
[[Property:title|WEL]]
|
||||
[[Property:weight|-13]]
|
||||
[[Property:uuid|a8f57de5-a0eb-262e-a825-95a706392640]]
|
||||
==WEL (Windows Eiffel Library)==
|
||||
|
||||
Type: Library <br/>
|
||||
Platform: Windows <br/>
|
||||
|
||||
See:
|
||||
* [[WEL Interface Content|Content]]
|
||||
* [[WEL Samples|Samples]]
|
||||
* [[ref:libraries/wel/reference/index|Reference]]
|
||||
|
||||
WEL is an encapsulation of the Win32 Application Programming Interface (API), and provides users with a powerful means of creating Win32 Applications.
|
||||
|
||||
==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.
|
||||
Also take a look at [[WEL Common Concepts|WEL common concepts]] for details of some common concepts used in WEL programming.
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ 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 [[Tutorial|tutorial]] for a simple demonstration involving the re-definition of <eiffel>on_left_button_down</eiffel>. }}
|
||||
{{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>. }}
|
||||
|
||||
|
||||
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/>
|
||||
|
||||
@@ -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 [[Tutorial|tutorial]] for a simple demonstration of how to do this }}
|
||||
{{note| '''Note'''. See [[Tutorial Step 1|step1]] in the [[WEL Tutorial|tutorial]] for a simple demonstration of how to do this }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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 [[Tutorial|tutorial]] for a simple demonstration of how to do this. }}
|
||||
{{note| '''Note'''. See [[Tutorial Step 2|step2]] in the [[WEL Tutorial|tutorial]] for a simple demonstration of how to do this. }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Controls]]
|
||||
[[Property:link_title|controls cluster]]
|
||||
[[Property:title|controls cluster]]
|
||||
[[Property:weight|1]]
|
||||
[[Property:uuid|622aa1e2-75a6-4b2e-ac1a-44f1e7be6a3b]]
|
||||
==Overview==
|
||||
|
||||
@@ -6,9 +6,9 @@ WEL is an encapsulation of the Win32 Application Programming Interface (API), an
|
||||
==Components==
|
||||
|
||||
The WEL library includes the following clusters:
|
||||
* [[Wel: Windows|windows]] cluster containing classes representing available windows types
|
||||
* [[Controls|controls]] cluster containing classes representing available controls
|
||||
* [[Standard Dialogs|stddlgs]] cluster containing classes representing standard Win32 dialogs
|
||||
* [[windows cluster|<eiffel>windows</eiffel>]] cluster containing classes representing available windows types
|
||||
* [[controls cluster|<eiffel>controls</eiffel>]] cluster containing classes representing available controls
|
||||
* [[stddlgs cluster|<eiffel>stddlgs</eiffel>]] cluster containing classes representing standard Win32 dialogs
|
||||
* <eiffel>consts</eiffel> cluster which contains constants used by WEL
|
||||
* <eiffel>gdi</eiffel> cluster which contains classes allowing access to WIN32 Graphics Device Interfaces
|
||||
* <eiffel>gdistock</eiffel> cluster which contains standard Graphic Device Interfaces used by WEL
|
||||
|
||||
@@ -2,14 +2,6 @@
|
||||
[[Property:link_title|stddlgs cluster]]
|
||||
[[Property:weight|2]]
|
||||
[[Property:uuid|0af8dcbf-ed31-51d7-885c-c677090f0633]]
|
||||
This cluster contains different standard dialogs provided by WEL as listed below:
|
||||
* [[WEL_CHOOSE_COLOR_DIALOG|WEL_CHOOSE_COLOR_DIALOG]]
|
||||
* [[WEL_CHOOSE_FOLDER_DIALOG|WEL_CHOOSE_FOLDER_DIALOG]]
|
||||
* [[WEL_CHOOSE_FONT_DIALOG|WEL_CHOOSE_FONT_DIALOG]]
|
||||
* [[WEL_OPEN_FILE_DIALOG|WEL_OPEN_FILE_DIALOG]]
|
||||
* [[WEL_PRINT_DIALOG|WEL_PRINT_DIALOG]]
|
||||
* [[WEL_SAVE_FILE_DIALOG|WEL_SAVE_FILE_DIALOG]]
|
||||
|
||||
|
||||
This cluster contains different standard dialogs provided by WEL.
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Wel: Windows]]
|
||||
[[Property:link_title|windows cluster]]
|
||||
[[Property:title|windows cluster]]
|
||||
[[Property:weight|-1]]
|
||||
[[Property:uuid|dc1af280-2e91-713c-751f-e88ce87197cf]]
|
||||
This cluster contains the different types of windows available to a [[ref:/libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] .
|
||||
@@ -15,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|Tutorial]] for details of how to set up your first window within a [[ref:/libraries/wel/reference/wel_application_chart|WEL_APPLICATION]] . }}
|
||||
{{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]] . }}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Wel Sample: Controls]]
|
||||
[[Property:link_title|Controls Sample]]
|
||||
[[Property:title|Controls Sample]]
|
||||
[[Property:weight|-11]]
|
||||
[[Property:uuid|7f9a091f-61af-9ea2-18c3-469573ba14f3]]
|
||||
[[Image:controls|controls]] <br/>
|
||||
@@ -17,7 +16,7 @@ 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 [[Controls|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.
|
||||
After launching the program, an empty window will be displayed. There are numerous menus in the window, each relating to a different type of [[Controls cluster|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==
|
||||
|
||||
|
||||
@@ -1,46 +1,8 @@
|
||||
[[Property:title|WEL Samples]]
|
||||
[[Property:weight|4]]
|
||||
[[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:
|
||||
* [[Tutorial|Tutorial]]
|
||||
{{note| '''Note''': If you are new to WEL programming, this is the recommended place to start. }}
|
||||
** [[Tutorial Step 1|Step1]]
|
||||
** [[Tutorial Step 2|Step2]]
|
||||
** [[Tutorial Step 3|Step3]]
|
||||
** [[Tutorial Step 4|Step4]]
|
||||
** [[Tutorial Step 5|Step5]]
|
||||
** [[Tutorial Step 6|Step6]]
|
||||
** [[Tutorial Step 7|Step7]]
|
||||
** [[Tutorial Step 8|Step8]]
|
||||
|
||||
* [[Hello World|Hello]]
|
||||
* [[Bmpview|Bmpview]]
|
||||
* [[Brushes|Brushes]]
|
||||
* [[Common Controls|Comctrls]]
|
||||
* [[Commands|Commands]]
|
||||
* [[Wel Sample: Controls|Controls]]
|
||||
* [[Ctlcolor|Ctlcolor]]
|
||||
* [[Cursors|Cursors]]
|
||||
* [[Disk Space|Diskspace]]
|
||||
* [[Fontenum|Fontenum]]
|
||||
* [[Fun|Fun]]
|
||||
* [[Header Control|Header_ctrl]]
|
||||
* [[List View|List_view]]
|
||||
* [[Magnify|Magnify]]
|
||||
* [[MDI (Multiple Document Interface)|Mdi]]
|
||||
* [[Wel Sample: Menus|Menus]]
|
||||
* [[Minimal|Minimal]]
|
||||
* [[Pizza|Pizza]]
|
||||
* [[Printer|Printer]]
|
||||
* [[Rich Edit|Richedit]]
|
||||
* [[Split Area|Split Area]]
|
||||
* [[Wel Sample: Standard Dialogs|Stddlgs]]
|
||||
* [[Timer|Timer]]
|
||||
* [[Wel Sample: Tree View|Tree_view]]
|
||||
* [[Wel Sample: Windows|Windows]]
|
||||
* [[Xcell|Xcell]]
|
||||
* [[XY Co-ordinates|Xy]]
|
||||
|
||||
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]]. }}
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Wel Sample: Standard Dialogs]]
|
||||
[[Property:link_title|Standard Dialogs Sample]]
|
||||
[[Property:title|Standard Dialogs Sample]]
|
||||
[[Property:weight|6]]
|
||||
[[Property:uuid|0d706af1-8c76-64b3-5907-0d9effb2bb8f]]
|
||||
[[Image:stddlgs|stddlgs]] <br/>
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
[[Property:title|Wel Sample: Tree View]]
|
||||
[[Property:link_title|Tree View Sample]]
|
||||
[[Property:title|Tree View Sample]]
|
||||
[[Property:weight|8]]
|
||||
[[Property:uuid|31c64f11-3aa4-cfff-b9f3-09027acfc143]]
|
||||
[[Image:tree-view--tree-view|tree_view]] <br/>
|
||||
|
||||
Reference in New Issue
Block a user