我想设计一个模拟桌面的小程序,但不知怎么在上面加图标(快捷方式),谁能告诉我?
应该是用LmageList控件,但具体我不会使用。以下是我已完成的程序:
VERSION 5.00
Begin VB.Form Form1
Caption = "09科技桌面"
ClientHeight = 3090
ClientLeft = 60
ClientTop = 450
ClientWidth = 4680
Icon = "09科技桌面.frx":0000
LinkTopic = "Form1"
Picture = "09科技桌面.frx":0CCE
ScaleHeight = 3090
ScaleWidth = 4680
StartUpPosition = 3 '窗口缺省
WindowState = 2 'Maximized
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Dim p As Picture
Private Sub Form_Load()
Me.AutoRedraw = True
Set p = LoadPicture("C:\WINDOWS\Web\Wallpaper\Bliss.bmp")
End Sub
Private Sub Form_Resize()
PaintPicture p, 0, 0, Width, Height
End Sub