首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > VB >

请大家帮忙看看~该怎么解决

2012-02-02 
请大家帮忙看看~~我想实现以图标的形式显示数据,每一条记录都以图标的形式显示出来,类似于餐饮系统里的大

请大家帮忙看看~~
我想实现以图标的形式显示数据,每一条记录都以图标的形式显示出来,类似于餐饮系统里的大厅,显示桌位的界面,请大家给些建议用什么控件能实现呢?

[解决办法]
显示数量不多的话可以用shape、Image、Picture的控件数组。
如果显示的量比较大,我一般都会用PaintPicture贴图的方法。
[解决办法]
支持楼上.
图形量大的话直接画上去.
PaintPicture
api:
Public Declare Function BitBlt Lib "gdi32" Alias "BitBlt" (ByVal hDestDC As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Public Declare Function StretchBlt Lib "gdi32" Alias "StretchBlt" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hSrcDC As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal nSrcWidth As Long, ByVal nSrcHeight As Long, ByVal dwRop As Long) As Long

热点排行