Stingray Studio 10.2 Toolkit

  • View
    651

  • Download
    40

Embed Size (px)

Text of Stingray Studio 10.2 Toolkit

WHITE PAPER

Rogue Wave Stingray StudioObjective ToolkitFilling the Holes in MFC to Provide Todays Modern GUI Features

www.roguewave.com

WHITE PAPER

Objective Toolkit Filling the Holes in MFC to Provide Todays Modern GUI FeaturesExecutive Summary ...................................................................................................................................... 6 The Development Challenge .................................................................................................................. 6 The Stingray Studio Solution.................................................................................................................. 6 Overview of Objective Toolkit Features ................................................................................................. 6 Introduction ................................................................................................................................................... 9 Quick Tour of Objective Toolkit ................................................................................................................. 10 Features ................................................................................................................................................. 10 Compatibility .........................................................................................................................................11 Complete Online Help System ..............................................................................................................11 Comparing MFC Extensions to Other Component Architectures ...............................................................11 MFC Extensions ....................................................................................................................................11 OLE/ActiveX Controls (OCXs) ............................................................................................................11 DLL Components.................................................................................................................................. 13 Selecting a Component Architecture .................................................................................................... 13 Technical Overview of Objective Toolkit Components .............................................................................. 13 Objective Toolkit Window/Control Components ................................................................................. 13 Button Control ............................................................................................................................... 14 Color Well Control ......................................................................................................................... 15 Masked Edit Control ...................................................................................................................... 16 Browse Edit Control ...................................................................................................................... 16 Marquee Control ............................................................................................................................ 17 Progress Control ............................................................................................................................ 17 Editable List Box Control .............................................................................................................. 17 Tab Control/Tabbed window Components .................................................................................... 18 Calculator Edit Control .................................................................................................................. 20 Calendar Control ............................................................................................................................ 21 Currency Edit Control .................................................................................................................... 21 Customizable Status Bar ................................................................................................................ 22 Customizable Toolbar .................................................................................................................... 23 Shortcut Bar Control ...................................................................................................................... 24 List Bar Control ............................................................................................................................. 25 Date/time Edit Control ................................................................................................................... 25 Extended Win32 Tree Control ....................................................................................................... 26 Objective Toolkit User Interface Extensions ........................................................................................ 28 The Workspace Manager ............................................................................................................... 28 Keyboard Shortcut Components .................................................................................................... 30

2

www.roguewave.com

WHITE PAPER

User Tools Menu Components....................................................................................................... 30 Thumbnail Components ................................................................................................................. 31 Extended Control Bar Architecture ...................................................................................................... 33 Objective Toolkit MDI Alternatives and Enhancements ...................................................................... 35 Multiple Top-level Interface (MTI) ............................................................................................... 35 Floating Document Interface (FDI) ............................................................................................... 36 Workbook Document Interface (WDI) .......................................................................................... 37 Using MTI, FDI, and WDI ............................................................................................................ 38 The Gradient Caption Extension.................................................................................................... 39 View Components ................................................................................................................................. 39 Image Components ............................................................................................................................... 40 Image Example .............................................................................................................................. 42 Objective Toolkit Utility Components .................................................................................................. 42 Non-User-Interface Utility Extensions .......................................................................................... 42 Miscellaneous User Interface Utility Extensions........................................................................... 43 Challenges of Docking a CView........................................................................................................... 45 Docking Views: Architectural Overview .............................................................................................. 46 Using the Docking Views Architecture ................................................................................................ 47 Layout Manager Framework....................................................................................................................... 47 The Problem.......................................................................................................................................... 48 The Solution.......................................................................................................................................... 48 Why use the Layout Manager? ...................................................................................................... 48 Layout ManagerArchitecture ......................................................................................................... 49 Layout managers provided by Objective Toolkit........................................................................... 53 Implementing custom layout managers ......................................................................................... 53 Adding layout management to your applications .......................................................................... 54 Advanced Docking Windows ..................................................................................................................... 54 Introduction to a new architecture ........................................................................................................ 54 Why this architecture? ................................................................................................................... 55 ActiveScript hosting engine ........................................................................................................................ 59 JavaScript .............................................................................................................................................. 60 VBScript ............................................................................................................................................... 60 Hosting an ActiveScript ................................................................................