OutLookBar
所属分类:界面编程
开发工具:Visual C++
文件大小:431KB
下载次数:43
上传日期:2008-01-29 01:37:22
上 传 者:
lwch
说明: OutLookBar可停靠的OutLookBar
(OutLookBar can call the OutLookBar)
文件列表:
resource.h (1553, 2005-06-01)
sap_af.urf (46939, 2005-05-27)
StdAfx.cpp (209, 2003-12-03)
StdAfx.h (1090, 2005-06-01)
pinoutbar\AppFace.h (9532, 2005-04-20)
pinoutbar\AutoHideBar.cpp (11063, 2005-06-01)
pinoutbar\AutoHideBar.h (4934, 2005-06-01)
pinoutbar\DrawFrame.cpp (9738, 2005-06-01)
pinoutbar\DrawFrame.h (2159, 2003-12-03)
pinoutbar\GfxGroupEdit.cpp (3282, 2005-05-31)
pinoutbar\GfxGroupEdit.h (1699, 1998-07-05)
pinoutbar\GfxOutBarCtrl.cpp (57650, 2005-06-01)
pinoutbar\GfxOutBarCtrl.h (7876, 2005-06-01)
pinoutbar\GfxPopupMenu.cpp (15290, 2005-05-31)
pinoutbar\GfxPopupMenu.h (1750, 1998-07-03)
pinoutbar\mybar.cpp (4206, 2005-06-01)
pinoutbar\mybar.h (914, 2005-06-01)
pinoutbar\PinDockBar.cpp (9059, 2005-06-01)
pinoutbar\PinDockBar.h (1861, 2003-11-24)
pinoutbar\pinoutbar.h (509, 2005-06-01)
pinoutbar\scbarcf.cpp (7345, 2000-08-03)
pinoutbar\scbarcf.h (2317, 2000-08-03)
pinoutbar\scbarg.cpp (6824, 2000-08-03)
pinoutbar\scbarg.h (2974, 2000-08-03)
pinoutbar\sizecbar.cpp (44663, 2003-05-05)
pinoutbar\sizecbar.h (7960, 2000-08-03)
res\bitmap1.bmp (1078, 2003-12-04)
res\bitmap2.bmp (478, 2003-12-04)
res\dragging.cur (326, 2005-06-01)
res\icon1.ico (1078, 2005-05-28)
res\icon10.ico (1078, 2005-05-28)
res\icon11.ico (1078, 2005-05-28)
res\icon2.ico (1078, 2005-05-28)
res\icon3.ico (1078, 2005-05-28)
res\icon4.ico (1078, 2005-05-28)
res\icon5.ico (1078, 2005-05-28)
res\icon6.ico (1078, 2005-05-28)
res\icon7.ico (1078, 2005-05-28)
res\icon8.ico (1078, 2005-05-28)
... ...
A dockable ,pinnable ,and skinnable OutlookBar
Introduction
This idea comes of Ziran Lin's article Pinnable ControlBar
(http://www.codeproject.com/docking/pinnabledock.asp) and Iuri Apollonio's article
An Outlook*** bar-like control (http://www.codeguru.com/Cpp/controls/controls/article.php/c2155) .
I think that a dockable OutlookBar is very cool ,so I write this article .
Using the code:
1. Copy the folder PinOutBar to your project,and add the needed icon and cursor resource to your project
2. Add this line to your Stdafx.h :
#include "pinoutbar\pinoutbar.h"
3. Add the support for PinDockBar ,as Ziran do in his article Pinnabal ControlBar ,
4. Add this line in OnCreate event of your main window:
m_MyBar.m_wndOutlookBar.SetOwner(this);
then add the message handler:
afx_msg LRESULT OnOutbarNotify(WPARAM wParam, LPARAM lParam);
ON_MESSAGE(WM_OUTBAR_NOTIFY, OnOutbarNotify)
long CMainFrame::OnOutbarNotify(WPARAM wParam, LPARAM lParam)
{
...
}
Ok, your project can receive the messages from outlookbar now .
5. I used a free UI library - AppFace to skin this outlookbar . You may delete appface.dll simply if you do not
need it or you can get more skins from http://www.appface.com if you like it.
Credit
Thanks for
Ziran Lin and his article, Pinnable ControlBar ,
Iuri Apollonio and his article, An Outlook*** bar-like control
The help of AppFace Support Team, http://www.appface.com
License
Use and modify the code as you want or need .
Tony. Smith machine_ts@hotmail.com
近期下载者:
相关文件:
收藏者: