Chapter 2 wtl wizardry and wtl Samples

Source: Internet
Author: User

Chapter 2 wtl wizardry & wtl Samples

 

Wtl wizardry

The original article uses the wtl Appwizard of vc6 and earlier versions, which is a simple introduction and can be easily applied in practice. In addition, the latest wtl8.1 (wtl8.1 released in)
) Interface Options are slightly different from this, this part is omitted.

 

Wtl Samples

To better understand wtl, we provide three examples.ProgramGuidgen, mtpad, and mdidocview. guidgen shows a simple dialog box-based application, which looks like the popular guidgen.exe (smaller ). mtpad is a multi-SDI application that displays many advanced wtl functions (which will be discussed in Part2), such as general dialogs, general controls, and UI updates. finally, the mdidoc view shows the MDI Application of wtl.

 

For better guidance and more information, refer to the sample program attached to this book. In fact, we have added almost all the wtl elements to the wtlexplorer sample program. See Figure 15.

(Note: wtl81_9127/samples contains all the sample programs mentioned in this book)

Figure 15: Windows File Explorer

 

Summary

So far, we have completed half the journey, covering wtl for SDI, multi SDI, and MDI, using the Explorer/workspace application for split windows, GDI encapsulation, helper functions, and DDX. we haven't covered the wtl command bar control, general control, message ing mechanism including message decryption, message filtering, idle processing, and general dialog box, attribute page, and attribute table, printing and scrolling windows are described in detail in the second part of this book.

Chris sells is the leader of the developmentor Software Engineering Project Team and co-author of objective COM and ATL internals. You can contact his http://staff.develop.com/csells

Dharma Shukla is a software design engineer in the Microsoft Biztalk Server 2000 team. Contact dharmas@microsoft.com

Nenad Stefanovic is one of the members of the early ATL/wtl team, working in Microsoft Software Development Engineer, contact information nenads@microsoft.com

 

 

Wtl makes UI programming a joy
Part 2: the bells and whistles

To be continued...


Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.