Writing OLE Controls: A Practical and Comprehensive Approach

Writing OLE Controls: A Practical and Comprehensive Approach

          
5
4
3
2
1

Available


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Quantity:
Add to Wishlist
X

About the Book

25496-1 You've been there. You're burning the midnight oil. Your brain is toast. All you want to do is go home. But the code freeze is first thing in the morning. You need a cup of coffee. What you really need is WRITING OLE CONTROLS. This practical guide takes nothing for granted and leaves no technical stone unturned. It's a book that can be used everyday and is designed to save you weeks of work. Author John Puopolo has been there, too. So, you can be sure this book speaks your language. For example: *Don't understand all of the core technologies? The first four chapters detail object-oriented technology, the Component Object Model (COM), OLE, and interfaces. Having trouble with code generated by Visual C++4.1? Puopolo dissects the generated code and answers the most asked questions along the way. *Having problems integrating user-interface elements such as menus, toolbars, status bars, and property pages? All of these mechanisms are thoroughly explained and are demonstrated with code examples that really work. *Can't subclass Windows controls?Puopolo devotes a full chapter to subclassing Windows controls with advanced code samples to demonstrate various techniques, including subclassing and using the C Picture Holder classes. *Need practical information on OCX 96 and ActiveX? The book ends with a summary of these two hot technologies. And not only does Puopolo thoroughly explain how to design and write professional OLE controls, he demonstrates how to do it with a wealth of practical examples and hard-won tricks of the trade. If you've done the time and still have to write the line, WRITING OLE CONTROLS will get you through it.

Table of Contents:
Preface. 1. Object-Oriented Technology. Why Do We Need Object-Oriented Technology? What Is Object-Oriented Technology? Algorithmic vs. OO Decomposition. A Close Look At Objects. The Elements of Object-Oriented Programming. Abstraction. Encapsulation. Interface. Messages. Classes. Inheritance. OOA, OOD and You. OOP. What is an Object Model? 2. The Component Object Model. What Is COM? COM Is Not OLE. COM Objects. A Client-Server Model. COM Interfaces. Is that all COM Is? Local and In-Process Servers. Local Servers. Marshaling. Proxies and Stubs. Data Types. Standard and Custom Marshaling. In-Process Servers. GUIDs. Using GUIDGEN. CLSIDs. What Makes My COM Object a Server? The Service Control Manager. Whose Responsible? 3. COM Interfaces. What Are Interfaces? What Makes Interfaces Useful? COM Interfaces. Interface Names. RTFM. Interface Pointers. Interfaces are Specifications Only. Technically Speaking. Standard Interfaces. To Known or IUnknown? Naked IUnknown. IUnknown All Dressed Up (How Pretty!). Implementing IUnknown. WOOF! Return Codes. IIDs. IClassFactory. Containment, Delegation and Aggregation. Incoming and Outgoing Interfaces. Custom Interfaces. 4. What Is OLE? OLE Architecture. Components, Components, Components. Memory Management. Structured Storage. Type Information and Type Libraries. Persistent Objects. Uniform Data Transfer. Connectable Objects. Drag and Drop. OLE Automation. Compound Documents. Naming, Binding and Monikers. In-Place Activation. Properties, Property Pages and Property Notification Changes. Methods. Events. OCX vs. VBX.. 5. OLE Controls and The System Registry. HKEY_CLASSES_ROOT\CLSID. Registry Entries for a Typical OLE Control. Accessing the Registry. 6. OLE Control Architecture. Where Did Controls Come From? What Do OLE Controls Have In Common? An OLE Control is implemented as an in-process server, i.e., DLL. An OLE Control lives in a container. An OLE Control Is Externally Programmable. An OLE Control supports visual editing. An OLE Control Supports Inside-out Activation. An OLE Control Implements a Standard Set of Interfaces. What are an OLE Control's Characteristics? What Can I Do to an OLE Control? IDispatch and OLE Automation. DISPIDs. VARIANT Data Type. Property Pages. Type Libraries. What Else Do I Need to Know About OLE Controls? OLE Verbs. MiscStatus Flags...Get a Clue! Keyboard Handling. Activation States. 7. COleControl. 8. Writing the Dates Control. A Preview. Code, Code and More Code. Use the Source, Luke. Testing the Control. 9. Enhancing the Dates Control. Dates Control Architecture. Menu Merging. InvalidateControl. The Fruits of Our Labor. 10. Adding Properties to the Dates Control. What Are Properties? Stock Properties. Ambient Properties. Extended Properties. Custom Properties. Member Variable Properties, Notifications and Get/Set Methods. Adding Properties. Default Properties. Looking at Our New Properties. GetNotSupported and SetNotSupported. ThrowError. Restricting Property Access. Enumerated Properties. 11. Adding Property Pages to the Dates Control. What are Property Pages? COlePropertyPage. Stock Property Pages. Custom Property Pages. Some Observations. DDPs. Reusing Property Pages. Testing Your Property Pages. IPropertyPage and IPropertyPage2. An Exercise For You. 12. Adding Persistence to the Dates Control. I Persist, Therefore, I Am. Double Data Dilemma. DoProxExchange and the PX Methods. Observations. Testing Your Persistence. 13. Adding Methods to the Dates Control. What Are Methods? Stock Methods. Custom Methods. Implementing Methods. Observations. 14. Adding Events to the Data Control. What Are Events? Event Families. Stock Events. Request Events. Before Events. After Events. Do Events. Events and Reentrancy. Events, Connectable Objects and Connection Points. FYI: Sources and Sinks. Implementing Events. Observations. Additional Event Support. Testing the Events. 15. Versioning. VERSIONINFO. 16. Licensing. IClassFactory2. When Does Licensing Come Into Play? Design Time Licensing. Run-Time Licensing. MFC and Licensing. A Better Way? 17. Writing the PicView Control. Picture That! Examining the Source. Observations. OLE Clipboard Transfers. 18. Writing the SubEdit Control. The Reflector Window. Subclassing Nuts and Bolts. SubEdit. Examining the Source Code. Observations. 19. Treasure Chest. Casper the Control. Simple Frame Controls. Forcing UI Activation. Obtaining Your Container's Window Handle. Implementing OnSetClientSite. Enumerating and Communicating with Your Siblings. 20. OCX 96 and Active X: The Brave New World (with apologies to Aldus Huxley). Mouse Interactions. IPointerInactive. Drawing Optimizations. Windowless OLE Controls. Quick Activation. Undo/Redo. Control Sizing. Property Bags. ActiveX. Data Path Properties. Requirements for Internet-Aware Containers/Clients/Controllers. Appendix A. DAYS.H and DAYS.CPP. Index.


Best Sellers


Product Details
  • ISBN-13: 9780132549622
  • Publisher: Pearson Education (US)
  • Publisher Imprint: PRENTICE HALL
  • Height: 235 mm
  • No of Pages: 448
  • Sub Title: A Practical and Comprehensive Approach
  • Width: 235 mm
  • ISBN-10: 013254962X
  • Publisher Date: 07 Jan 1997
  • Binding: SA
  • Language: English
  • Spine Width: 30 mm
  • Weight: 894 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Writing OLE Controls: A Practical and Comprehensive Approach
Pearson Education (US) -
Writing OLE Controls: A Practical and Comprehensive Approach
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Writing OLE Controls: A Practical and Comprehensive Approach

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA