Your best source of information and news about microsoft , vista and microsoft on the internet افضل ما لديكم من مصدر معلومات واخبار عن مايكروسوفت ، وفيستا ومايكروسوفت على شبكة الانترنت

Vista ARTICLES مقالات فيستا TOP 50 اعلى 50 Vista VIDEOS فيستا كليب Vista SOFT فيستا الناعمة Vista HELP فيستا مساعدة

namespace العالم المجرد

You are currently browsing the articles from انت حاليا من تصفح المواد MS Windows Vista Compatible Software ويندوز من مايكروسوفت فيستا متوافقه البرمجيات matching the category namespace . مطابقه فئة المجرد.

Shell Namespace Extension: Adding Custom Command Module Items شل المجرد التمديد : اضافة بنود العرف قيادة الوحدة

Overview نظرة عامة

In my في بلادي earlier post فى وقت سابق منصب , I showed how to create a Shell Namespace Extension using the default IShellView implementation (also known as DefView). One thing you might have noticed from the sample is that the Commands Module is void of even the default items such as “Organize” and “Views”. ، وانا اظهرت كيف تصنع شل المجرد التمديد باستخدام الافتراضي ishellview تنفيذ (المعروف أيضا باسم defview). شيئا واحدا انك قد لاحظت من العينه هو ان الاوامر الوحدة الخالي من البنود حتى الافتراضيه مثل "تنظيم" و " الاراء ".

Commands Module - FolderViewImpl

If you are developing your own Namespace and want to include the default buttons and/or add your own elements to the Commands Module as well, how do you accomplish this? The answer: you must implement the اذا انت بنفسك المجرد الناميه وتريد ان تدرج الافتراضي الازرار و / أو اضافة عناصر بنفسك الاوامر الى وحدة كذلك ، كيف ذلك؟ الجواب : يجب عليك تنفيذ IExplorerCommand Iexplorercommand , ، IExplorerCommandProvider Iexplorercommandprovider and و IEnumExplorerCommand Ienumexplorercommand interfaces. الوصلات.

Below I describe what each of the interfaces is used for and what you need to do to properly implement them in your code. أدناه أصف كل ما من الوصلات يستخدم لوما عليك القيام به على الوجه الصحيح لتنفيذها في شفرتك.

IExplorerCommandProvider Iexplorercommandprovider

After your Namespace is loaded, the Shell will ask your Namespace for an instance of an IExplorerCommandProvider. This interface exposes two methods: GetCommand and GetCommands. The Shell calls the GetCommand method to retrieve a specific IExplorerCommand object that matches the supplied GUID (Each command is identified by a GUID). The بعد المجرد الخاص بك الذي يحمل ، شل سوف اسأل المجرد للمثال من iexplorercommandprovider. اجهة هذا يعرض طريقتين : getcommand وgetcommands. شل تطلق getcommand طريقه لاسترجاع محدد iexplorercommand جوه التي تتوافق مع الموردة GUID (كل القيادة تحددها GUID).

Click to continue reading "Shell Namespace Extension: Adding Custom Command Module Items" اضغط على مواصلة القراءة "شل المجرد التمديد : اضافة بنود العرف قيادة وحدة"

Written by chrdavis on كتبها على chrdavis September 5th, 2007 سبتمبر 5th ، 2007 with مع no comments لا يوجد تعليقات . .
Read more articles on أقرأ المزيد من المقالات عن shell شل and و namespace العالم المجرد and و Coding التشفير and و API API and و Programming البرمجه and و vista المشهد and و Windows Vista ويندوز فيستا . .