Vertragsverwaltung-Klassenbibliothek  

ComboBoxTreeClass.WndProc -Methode

[Visual Basic]
Protected Overrides Sub WndProc( _ 
ByRef m As Message
)

Parameter

m

Quellcode

[Visual Basic]
        Protected Overrides Sub WndProc(ByRef m As System.Windows.Forms.Message) 
' Hide the standard dropdown window of the combobox control 
If m.Msg = WM_CTLCOLORLISTBOX Then 
Call ShowWindow(m.LParam, SW_HIDE) 
'ElseIf m.Msg = OCM_COMMAND Then 
' Select Case HiWord(m.WParam.ToInt32) 
' Case CBN_CLOSEUP 
' Case CBN_DROPDOWN 
' End Select 
End If 
MyBase.WndProc(m) 
End Sub

Forderungen

Plattformen: Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

Siehe auch

ComboBoxTreeClass