انت هنا الان : شبكة جامعة بابل > موقع الكلية > نظام التعليم الالكتروني > مشاهدة المحاضرة
الكلية كلية تكنولوجيا المعلومات
القسم قسم البرامجيات
المرحلة 4
أستاذ المادة سرى زكي ناجي علوان
06/05/2013 10:05:06
Overriding the Class Menu ------------------------------------- In the preceding programs, the main menu has been specified in the lpszMenuName member of the WNDCLASSEX structure. As mentioned, this specifies a class menu that will be used by all windows that are created of its class. This is the way most main menus are specified for simple applications. However, there is another way to specify a main menu that uses the CreateWindow( ) function. As you may recall from Lecture 2, CreateWindow( ) is defined like this: HWND CreateWindow ( LPCSTR lpClassName, /* name of window class */ LPCSTR lpWinName, /* title of window */ DWORD dwStyle, /* type of window */ int X, int Y, /* upper-left coordinates */ int Width, int Height, /* dimensions of window */ HWND hParent, /* handle of parent window */ HMENU hMenu, /* handle of main menu */ HINSTANCE hThisInst, /* handle of creator */ LPVOID lpszAdditional /* pointer to additional info */ );
المادة المعروضة اعلاه هي مدخل الى المحاضرة المرفوعة بواسطة استاذ(ة) المادة . وقد تبدو لك غير متكاملة . حيث يضع استاذ المادة في بعض الاحيان فقط الجزء الاول من المحاضرة من اجل الاطلاع على ما ستقوم بتحميله لاحقا . في نظام التعليم الالكتروني نوفر هذه الخدمة لكي نبقيك على اطلاع حول محتوى الملف الذي ستقوم بتحميله .
|