Download the Asp.net component in the MSN message pop-up window (implement the MSN notification message function in ASP. NET)

Source: Internet
Author: User

A large number of third-party controls exist. These controls cover all aspects of development, but it is difficult for developers to select a suitable control, so today we recommend a control that can implement the function similar to the pop-up notification message function of MSN:
Download control: popupwin

Example

MSN has a good function, that is, whenever Your MSN friends go online, MSN will automatically pop up a message box in the lower right corner of the form tray to notify you, this function is very practical, for example, when you reply to your post in a forum, the system will automatically pop up a message box, or in an e-government system, when you receive a new email or work order, the system prompts the message box and so on. So how can this function be implemented in Web applications built by ASP. NET? In this article, we recommend a. Net control that can implement notification message window effects similar to MSN.

First, let's take a look at the implementation of the control, such:

We can see that this control can be used in various types of browsers (ie, Mozilla, Netscape, opera), and we can also customize the color and drag, such:

Summary three methods are used to implement message pop-up boxes similar to msn


The message pop-up box similar to MSN is implemented in three ways. The three methods have their own merits. Let's take a look at how they are implemented:

The first method is to use the shell_policyicon API function of windows;


Source code download
The second method is implemented by using the Windows showwindow API function and the redraw method of the form;

You can also customize the interface;


Source code download

The third method is to rewrite the Windows form, which is more active than the previous two methods;


Source code download

You can alsoGo to msdnLook

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.