Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
Анг-язык на 22.10.12.docx
Скачиваний:
1
Добавлен:
20.11.2019
Размер:
38.94 Кб
Скачать
  1. Merging menus

For MDI applications, such as the text editor sample application, and for OLE client applications, your application's main menu needs to be able to receive menu items either from another form or from the OLE server object. This is often called merging menus. Note that OLE technology is limited to Windows applications only and is not available for use in cross-platform programming.

  1. Assigning a speed button's glyph

Each speed button needs a graphic image called a glyph to indicate to the user what the button does. If you supply the speed button only one image, the button ma­nipulates that image to indicate whether the button is pressed, unpressed, selected, or disabled. You can also supply separate, specific images for each state if you prefer.

  1. Common controls and xp themes

Microsoft has forked Windows common controls into two separate versions. Version 5 is available on all Windows versions from Windows 95 or later; it displays controls using a "3D chiseled" look. Version 6 became available with Windows XP. Under version 6, controls are rendered by a theme engine which matches the current Windows XP theme. If the user changes the theme, version 6 common controls will match the new theme automatically. You don't need to recompile the application.

Tasks

1. Answer the questions:

    1. What does the Object Repository provide?

    2. Name the steps for adding an item to the Object Repository.'

  1. Tell about copying and inheriting an item.

    1. How can you create a new project from a template?

    2. What must you do to specify a default project?

    3. Tell about the classes that form the backbone of all applications.

    4. What can you say about using and hiding the main form?

    5. How can you avoid "Circular reference" error?

    6. What are modal and modeless forms?

j) Name the steps to pass additional arguments to a form, k) Tell about the difference between a frame and a component. I) What do actions bands provide? m) Give the definition of glyph.

2. Translate into English:а) объектный архив; общие элементы; модули данных; групповое окружение; совместно используемый архив; существующий элемент; точная копия; отраженный в копии; получить новый класс; предварительно сконструированные проекты; шаблон первичного проекта; нетронутый изменениями; изменение общедоступных элементов; распространять изменения; текущий проект; проект по умолчанию; пустая форма; интерфейс пользователя приложения;

б) основа всех приложений; сохранять формы и модули данных; поддержание системно-специфической информации; разрешение экрана; глобальная переменная; фоновый режим программы; прятание основной программы; порядок создания формы; предотвращать появление основной формы; связывающие формы.ошибка. циклической зависимости; во время выполнения программы; модальные и немодальные формы; передавать дополнительные параметры форме; восстановление данных из форм; разме­щение компонентов на форме; установка свойств; механизм монопольного использования; для синхронизма свойств компонентов.вложены внутри форм; структура внедрена; компонент обычно вызывается; групповой символ; передвигаться через директории; поддерживать "размещение"; событие "стреляет"; неактивное приложение; установка полос действия; приспособленный к форме; меню объединения; назначение глифа; кнопка быстрого действия; графический образ; распространять общие средства управления.