pinoutbar
所属分类:界面编程
开发工具:Visual C++
文件大小:441KB
下载次数:15
上传日期:2005-06-14 09:37:27
上 传 者:
kono
说明: 类似Outlook的界面,增加了可停靠功能
(similar Outlook interface increases the function call)
文件列表:
PinOutBar (0, 2005-06-01)
PinOutBar\appface.dll (218624, 2005-06-01)
PinOutBar\Gtclassic.urf (59358, 2005-06-01)
PinOutBar\MainFrm.cpp (5713, 2005-06-01)
PinOutBar\MainFrm.h (1814, 2005-06-01)
PinOutBar\pindock.clw (4421, 2005-06-01)
PinOutBar\pindock.cpp (4379, 2005-06-01)
PinOutBar\pindock.dep (609, 2005-06-01)
PinOutBar\pindock.dsp (7525, 2005-06-01)
PinOutBar\pindock.dsw (537, 2005-06-01)
PinOutBar\pindock.exe (122880, 2005-06-01)
PinOutBar\pindock.h (1399, 2005-06-01)
PinOutBar\pindock.mak (9827, 2005-06-01)
PinOutBar\pindock.rc (14061, 2005-06-01)
PinOutBar\pindockDoc.cpp (1762, 2005-06-01)
PinOutBar\pindockDoc.h (1486, 2005-06-01)
PinOutBar\pindockView.cpp (2609, 2005-06-01)
PinOutBar\pindockView.h (1907, 2005-06-01)
PinOutBar\pinoutbar (0, 2005-06-01)
PinOutBar\pinoutbar\AppFace.h (9532, 2005-06-01)
PinOutBar\pinoutbar\AutoHideBar.cpp (11063, 2005-06-01)
PinOutBar\pinoutbar\AutoHideBar.h (4934, 2005-06-01)
PinOutBar\pinoutbar\DrawFrame.cpp (9738, 2005-06-01)
PinOutBar\pinoutbar\DrawFrame.h (2159, 2005-06-01)
PinOutBar\pinoutbar\GfxGroupEdit.cpp (3282, 2005-06-01)
PinOutBar\pinoutbar\GfxGroupEdit.h (1699, 2005-06-01)
PinOutBar\pinoutbar\GfxOutBarCtrl.cpp (57650, 2005-06-01)
PinOutBar\pinoutbar\GfxOutBarCtrl.h (7876, 2005-06-01)
PinOutBar\pinoutbar\GfxPopupMenu.cpp (15290, 2005-06-01)
PinOutBar\pinoutbar\GfxPopupMenu.h (1750, 2005-06-01)
PinOutBar\pinoutbar\mybar.cpp (4206, 2005-06-01)
PinOutBar\pinoutbar\mybar.h (914, 2005-06-01)
PinOutBar\pinoutbar\PinDockBar.cpp (9059, 2005-06-01)
PinOutBar\pinoutbar\PinDockBar.h (1861, 2005-06-01)
PinOutBar\pinoutbar\pinoutbar.h (509, 2005-06-01)
PinOutBar\pinoutbar\scbarcf.cpp (7345, 2005-06-01)
PinOutBar\pinoutbar\scbarcf.h (2317, 2005-06-01)
PinOutBar\pinoutbar\scbarg.cpp (6824, 2005-06-01)
PinOutBar\pinoutbar\scbarg.h (2974, 2005-06-01)
... ...
A dockable ,pinnable ,and skinnable OutlookBar
Introduce
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 .
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
近期下载者:
相关文件:
收藏者: