• CTrayNotifyIcon是轻量级的应用程序,使开发者可以创造和试验的行为的新系统盘图标。 你可以使用一个标准的笑脸标既可以作为形成静态或动画图标。 该CTrayNotifyIcon类将封装Shell_NotifyIcon SDK的呼吁。 这API被用来创建这些漂亮的小标,如音量控制你看看在托盘上通知区域窗口。

    随着两种类型的图标,可以注意到的东西,似乎是一个计时器,这一数达到99个,然后再开始从0.

    这类隐藏了很多苦差事调API直接,并提供了一个很好的清洁C++接口使用它。 载件的功能是提供给设置并得到提示的文本、图标和通知的窗口。

    该课还提供了一种默认的实现带来了一下菜单,并包含一个默认的菜单项目执行当你点击图标。 它的功能自动清理和复活的图标,如果外壳意外崩溃。

    总之,这是一个方便的工具,用托盘图标中开发和测试,与清理和恢复的方式在的情况下不需要的问题。

  • CTrayNotifyIcon है एक हल्के आवेदन देता है कि डेवलपर के लिए की संभावना बनाने के लिए और परीक्षण के व्यवहार के नए सिस्टम ट्रे चिह्न है. आप उपयोग कर सकते हैं एक मानक स्माइली चेहरा आइकन के रूप में या तो एक स्थिर रूप है, या एक एनिमेटेड आइकन. के CTrayNotifyIcon वर्ग को समाहित किया जाएगा Shell_NotifyIcon SDK कॉल. इस एपीआई प्रयोग किया जाता है बनाने के लिए उन छोटे निफ्टी प्रतीक के रूप में ऐसी मात्रा पर नियंत्रण आप में देख ट्रे अधिसूचना क्षेत्र पर Windows.

    के साथ-साथ दो प्रकार के माउस के साथ, आप नोटिस कर सकते हैं कुछ है कि प्रतीत होता है के लिए एक टाइमर मायने रखता है कि अप करने के लिए 99 और फिर से फिर से शुरू 0.

    वर्ग की एक बहुत छुपाता है कठिन परिश्रम के लिए बुला सीधे एपीआई प्रदान करता है और एक अच्छा साफ C++ इंटरफ़ेस का उपयोग करने के लिए । अतिभारित सदस्य कार्यों प्रदान की जाती हैं करने के लिए सेट और टूलटिप पाठ, चिह्न, और अधिसूचना खिड़की ।

    वर्ग भी प्रदान करता है एक डिफ़ॉल्ट कार्यान्वयन ऊपर लाने के लिए एक संदर्भ मेनू और शामिल एक डिफ़ॉल्ट मेनू आइटम जो मार डाला है जब आप चिह्न डबल-क्लिक करें. यह सुविधाओं ऑटो सफाई और जी उठने के प्रतीक तो खोल अनपेक्षित रूप से क्रैश हो जाता है.

    संक्षेप में, यह है के लिए एक उपयोगी उपकरण ट्रे आइकन के विकास और परीक्षण के साथ, सफाई और वसूली के तरीके के मामले में अवांछित मुद्दों.

  • CTrayNotifyIcon is a lightweight application that gives the developer the possibility to create and test the behavior of the new system tray icons. You can use a standard smiley face icon either as a static form, or an animated icon. The CTrayNotifyIcon class will encapsulate the Shell_NotifyIcon SDK call. This API is used to create those nifty little icons such as volume control you see in the tray notification area on Windows.

    Along with the two types of icons, you can notice something that appears to be a timer, that counts up to 99 and then start again from 0.

    The class hides a lot of the drudgery of calling the API directly and provides a nice clean C++ interface to use it. Overloaded member functions are provided to set and get the ToolTip text, icon, and notification window.

    The class also provides a default implementation to bring up a context menu and contains a default menu item which is executed when you double-click the icon. It features auto cleanup and resurrection of icons if the shell unexpectedly crashes.

    In short, this is a handy tool for tray icon development and testing, with cleanup and recovery ways in case of unwanted issues.