此頁(yè)沒有內(nèi)容條目
內(nèi)容

DrawIcon

VB聲明

Declare Function DrawIcon Lib "user32" Alias "DrawIcon" (ByVal hdc As Long, ByVal x As Long, ByVal y As Long, ByVal hIcon As Long) As Long

說(shuō)明

在指定的位置畫一個(gè)圖標(biāo)

返回值

Long,非零表示成功,零表示失敗。會(huì)設(shè)置GetLastError

參數(shù)表

參數(shù)

類型及說(shuō)明

hdc

Long,設(shè)備場(chǎng)景

x,y

Long,想描繪圖標(biāo)的位置(邏輯坐標(biāo))

hIcon

Long,欲描繪圖標(biāo)的句柄

Top