Programming with Microsoft Visual C++.NET 6ed [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Programming with Microsoft Visual C++.NET 6ed [Electronic resources] - نسخه متنی

George Shepherd, David Kruglinski

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید








Chapter 26: ATL and ActiveX Controls



Overview


Chapter 9 showed you how to use ActiveX controls within an MFC application. In Chapter 25, we examined COM classes that were created using ATL. In this chapter, you'll learn how to write a kind of COM class called an ActiveX control. You had a chance to work with ActiveX controls from the client side in Chapter 9. Now it's time to write your own.

Several steps are involved in creating an ActiveX control using ATL:



  • Deciding what to draw



  • Developing incoming interfaces for the control



  • Developing outgoing interfaces (events) for the control



  • Implementing a persistence mechanism for the control



  • Providing a user interface for manipulating the control's properties



This chapter covers all these steps. Soon you'll be able to use ATL to create ActiveX controls that you (and other developers) can use in other programs.


/ 319