CreateBrushIndirect

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

CreateBrushIndirect

VB聲明

Declare Function CreateBrushIndirect Lib "gdi32" Alias "CreateBrushIndirect" (lpLogBrush As LOGBRUSH) As Long

說(shuō)明

在一個(gè)LOGBRUSH數(shù)據(jù)結(jié)構(gòu)的基礎(chǔ)上創(chuàng)建一個(gè)刷子

返回值

Long,如執(zhí)行成功,返回指向新刷子的一個(gè)句柄。零表示失敗

參數(shù)表

參數(shù)

類型及說(shuō)明

lpLogBrush

LOGBRUSH

注解

如不再需要,請(qǐng)用DeleteObject函數(shù)刪除刷子。也請(qǐng)參考CreateBrush函數(shù),它的參數(shù)與LOGBRUSH結(jié)構(gòu)的字段是對(duì)應(yīng)的

Top