foxy

註冊時間: 2007-08-16 文章: 258 來自: 泰國
第 1 樓
|
發表於: 星期日 十月 27, 2024 3:00 pm 文章主題: 設定 window 背景顏色 |
|
|
小弟要把下列代碼生成的 window 的背景顏色設定為藍色, 請問該怎樣做
Declare Integer CreateWindowEx In win32api As apiCreateWindowEx ;
Integer dwExStyle, ;
String lpClassName, ;
String lpWindowName, ;
Integer dwStyle, ;
Integer nx, ;
Integer ny, ;
Integer nWidth, ;
Integer nHeight, ;
Integer nHwndParent, ;
Integer hMenu, ;
Integer hInstance, ;
Integer lpParam
更新: SendMessage(hwndPB,(UINT)PBM_SETBKCOLOR,0,RGB(200,200,200)) 可以設定顏色, 可以設定statusbar 的背景顏色, 如附圖
謝謝[/img] _________________ 進銷存+生產製造+會計+員工薪資+CRM+POS零售+餐廳手機app+電商手機app+電商網站,物流系統. 正/簡體中文,英,日,泰,緬甸文. MS SQL Server + 前台 VFP + PHP 網站 + Flutter 手機 App, 都共享 MS SQL Server的資料. www.foxacc.com LINE: mike-lm |
|