Advertisement
6_2008-2009 Windows API Call/ Explanation #202214

turn a color on form transparent

Turn a certain color on the form or controls transparent

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
' in form with 2 command buttons
'cmdMakeTransparent
'cmdNoTransparency
Private Sub cmdMakeTransparent_Click()
 'transform formname or me for current form, color which could be
 'vbWhatever or rgb(r,g,b) or long number value
 TransForm Me, vbWhite 'set the see through color to white
 
End Sub
Private Sub cmdNoTransparency_Click()
 untransForm Me 'set nothing to transparent
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine