再求杨勇的三句话搞定qq菜单的代码?谁有发我一份。

shally5 2005-04-15 04:30:40
再求杨勇的三句话搞定qq菜单的代码?谁有发我一份。
shallyljl@yahoo.com.cn

如下地址已不能下载了
http://snpack.fykj.com/OtherCode/CB6Menu.rar
...全文
97 5 打赏 收藏 转发到动态 举报
写回复
用AI写文章
5 条回复
切换为时间正序
请发表友善的回复…
发表回复
3996906 2005-04-15
  • 打赏
  • 举报
回复
呵呵,吓着了,3句话~~~~~~~~~~~~~~~

老妖那里的代码也不多,确实更好
constantine 2005-04-15
  • 打赏
  • 举报
回复
这个代码只是里面的一部分功能
constantine 2005-04-15
  • 打赏
  • 举报
回复
不要发了吧
www.ccrun.com
那里有个更好的,包括自画
constantine 2005-04-15
  • 打赏
  • 举报
回复
//---------------------------------------------------------------------------

#include <vcl.h>
#pragma hdrstop

#include "Unit1.h"
//---------------------------------------------------------------------------
#pragma package(smart_init)
#pragma resource "*.dfm"
TForm1 *Form1;
//---------------------------------------------------------------------------
__fastcall TForm1::TForm1(TComponent* Owner)
: TForm(Owner)
{
}
//---------------------------------------------------------------------------

void __fastcall TForm1::mnu0AdvancedDrawItem(TObject *Sender,
TCanvas *ACanvas, TRect &ARect, TOwnerDrawState State)
{
ACanvas->CopyRect(Image2->Canvas->ClipRect,Image2->Canvas,Image2->Canvas->ClipRect);

}
//---------------------------------------------------------------------------

void __fastcall TForm1::mnu0MeasureItem(TObject *Sender, TCanvas *ACanvas,
int &Width, int &Height)
{
Width=5;
}
//---------------------------------------------------------------------------
void __fastcall TForm1::mnu1MeasureItem(TObject *Sender, TCanvas *ACanvas,
int &Width, int &Height)
{
Height=0;
}
//---------------------------------------------------------------------------
happyct 2005-04-15
  • 打赏
  • 举报
回复
what?
why?
how?

13,826

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder相关内容讨论区
社区管理员
  • 基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧