请问各位高手,像msn一样在窗口右下角的提示框怎么做呀!
我现在搞不清楚是不是也用的是系统的WINAPI Shell_NotifyIcon.但是这个只能是托盘显示啊!

解决方案 »

  1.   

    用Shell_NotifyIconOne of the flags in NOTIFYICONDATA.uFlags is NIF_TIP, used to set the ordinary, mouseover tooltip. A new flag (available where _WIN32_IE >= 0x0500), NIF_INFO, lets you display a balloon tip. In other words, to display a balloon tip, you must call Shell_NotifyIcon with NIF_INFO. The text goes in szInfo, and you can put a title in szInfoTitle.
      

  2.   

    给个例子给你:BOOL CTrayIcon::ShowBalloonTip(LPCTSTR szMsg,
      LPCTSTR szTitle, UINT uTimeout, DWORD dwInfoFlags)
    {
      m_nid.cbSize=sizeof(NOTIFYICONDATA);
      m_nid.uFlags = NIF_INFO;
      m_nid.dwInfoFlags = dwInfoFlags;
      strcpy(m_nid.szInfo,szMsg ? szMsg : _T(""));
      strcpy(m_nid.szInfoTitle,szTitle ? szTitle : _T(""));
      return Shell_NotifyIcon(NIM_MODIFY, &m_nid);
    }
      

  3.   

    你可以先用activeskin软件做一个美一点的皮肤
    然后在现实对话框的时候,确定一下位置
      

  4.   

    http://www.codeproject.com/dialog/statusbarmsgwnd.asp
    http://www.codeproject.com/dialog/taskbarnotifier.asp
      

  5.   

    MSN消息提示窗口实现
    http://www.xiaozhou.net/ReadNews.asp?NewsID=534有源码下载和界面预览。
      

  6.   

    其实就是个对话框而已,norton也是这样