Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 3.59 KB

File metadata and controls

92 lines (70 loc) · 3.59 KB

Example programs

The examples directory contains several example programs. You can refer to these example programs to improve your own applications.

1. examples/basic

A basic window example with minimize, maximize, restore and close buttons.

2. examples/ColorPicker

An example showing how to use the color picker control.

3. examples/controls

Examples of how to style some common controls.

4. examples/hello

A minimal "Hello" window example showing the basic window with a simple layout (also available as hello_code / hello_gen).

5. examples/chat

An example containing a login window and a window simulating a PC chat layout.

6. examples/ListBox

An example showing how to use the ListBox container.

7. examples/ListCtrl

An example showing how to use the ListCtrl control.

8. examples/MoveControl

An example showing how to use the "drag_out_id" and "drop_in_id" attributes of the Box container to move controls between different containers.

9. examples/render

An example showing how to use the rendering engine, which also includes usage examples of various controls/containers.

10. examples/RichEdit

An example showing how to use the RichEdit control.

11. examples/TreeView

An example showing how to use the TreeView control.

12. examples/VirtualListBox

An example showing how to use the ListBox container implemented with a virtual list.

13. examples/MultiLang

An example showing how to use the multi-language feature, with support for dynamically switching languages.

14. examples/DpiAware

An example showing how to use the DPI awareness feature and how to dynamically set the DPI of a window.

15. examples/threads

An example showing how to use multi-threading, including inter-thread communication.

16. examples/layout

An example showing the various layouts of containers.

17. examples/cef

An example showing how to use the CEF control, including C++ and JavaScript interaction.

18. examples/CefBrowser

A custom multi-tab draggable browser example based on CEF.

19. examples/WebView2

An example showing how to use the WebView2 control.

20. examples/WebView2Browser

A custom multi-tab draggable browser example based on WebView2.

21. examples/ChildWindow

An example demonstrating the functionality of the child window control.

22. examples/XmlPreview

An example demonstrating the UI preview feature for XML files.