停靠,吸附功能我需要源代码,有的话发给我一份,,[email protected]木有的话, 请说如何做?详细点。。界面我是一点都不懂,但是很紧急,需要的谢谢大家了。  最好是基于vc6的 。

解决方案 »

  1.   

    继承CtrlBar类,自创自己的类
    就可以想ToolBar一样了
      

  2.   

    不好意思,记错了
    是:CControlBar习惯于弄成简写了
      

  3.   

    这个是CControlBar的介绍
    http://baike.baidu.com/view/2880075.htm
    实例源代码(模仿VC左边出现的那个)
    你可以百度一下
    CSizingControlBar
    这个是个现成的继承自CControlBar的类
      

  4.   

    谢谢你了啊顺便问个问题啊第一次用vs2010 ,以前是用vc6.vs是unicode库,对吧。 我随手写了个小程序,如下:
    #include "stdafx.h"#include <afxwin.h>
    #include<iostream>using namespace std;int _tmain(int argc, _TCHAR* argv[])
    {
    TCHAR* s=_T("nihao"); cout<<lstrlen(s)<<endl;  //结果是5,为什么啊? 不是unicode吗?  return 0;
    }