انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة

Adding Menu Accelerator Keys

الكلية كلية تكنولوجيا المعلومات     القسم قسم البرامجيات     المرحلة 4
أستاذ المادة سرى زكي ناجي علوان       06/05/2013 10:01:49
Adding Menu Accelerator Keys
--------------------------------------------------
There is one feature of Windows that is commonly used in conjunction with a menu. This feature is the accelerator key. Accelerator keys are special keystrokes that you define which, when pressed, automatically select a menu option even though the menu in which that option resides is not displayed. Put differently, you can select an item directly by pressing an accelerator key, bypassing the menu entirely. The term accelerator key is an accurate description because pressing one is generally a faster way to select a menu item than first activating its menu and then selecting the item.
To define accelerator keys relative to a menu, you must add an accelerator key table to your resource file. An accelerator table has this general form:
TableNamee ACCELERATORS \[acccl-options]
{ Keyl, MenuID1 \[, type] \[options]
Key2, MenuID2 \[, type] \[options]
Key3, MenuID3 \[, type] \[options]
.
.
.
KeyN, MenuIDN \[, type] \[options] }
Here, Tublename is the name of the accelerator table. An ACCELERATORS statement can have the same options as those described for MENU. If needed, they are specified by accel-options. However, most applications simply use the default settings. Inside the accelerator table, Key is the keystroke that selects the item and MenuID is the ID value associated with the desired item. The type specifies whether the key is a standard key (the default) or a virtual key. The options may be one of the following macros:


المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .