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

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

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

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

George Shepherd, David Kruglinski

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

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

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








WinHelp vs. HTML Help


The choice between WinHelp and HTML Help is largely a personal one. The programmatic interface for accessing and managing each help system from MFC is the same. WinHelp uses Rich Text Format (RTF), whereas HTML Help uses HTML format. Over the last few years, several Microsoft Windows help tools such as RoboHELP from Blue Sky Software and ForeHelp from the Forefront Corporation have made writing standard WinHelp straightforward, but WinHelp implementations will probably eventually give way to HTML Help help systems.

The process of accessing topics in classic WinHelp is sequential—you get a list of topics via an index or table of contents, and when you select a topic WinHelp takes you to another window. Here's an example of the default WinHelp produced by the MFC Application Wizard:


Here's the screen you see after selecting the "File menu commands" topic. You can get to the contents or the index or get back to the previous topic by clicking the appropriate button.



Here's an example of the default HTML Help produced by the MFC Application Wizard. Notice that the left pane of the window includes an Index tab, a Contents tab, and a Search tab, and that the topic content is shown in the right pane.


The HTML Help system is implemented as an ActiveX control named HHCtrl.ocx. HHCtrl.ocx provides navigation features and manages secondary windows and pop-up definitions. HHCtrl.ocx is flexible and will display topics from a precompiled help file as well as from HTML pages displayed in a Web browser.

Let's first look at using WinHelp in an MFC application.


/ 319