L
luket
Unregistered / Unconfirmed
GUEST, unregistred user!
这是在调用DHTMLEDIT 的SetContextMenu()时要用到的:
Dim strings() As String
Dim states() As OLE_TRISTATE
strings(0) = "Cut"
strings(1) = "Copy"
strings(2) = "Paste"
states(0) = Unchecked
states(1) = checked
states(2) = Gray
DHTMLEdit1.SetContextMenu strings, states
Dim strings() As String
Dim states() As OLE_TRISTATE
strings(0) = "Cut"
strings(1) = "Copy"
strings(2) = "Paste"
states(0) = Unchecked
states(1) = checked
states(2) = Gray
DHTMLEdit1.SetContextMenu strings, states