Changeset 643
- Timestamp:
- Oct 18, 2008, 12:48:40 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/ActiveBasic/Windows/UI/ListBox.ab
r611 r643 12 12 */ 13 13 Class ListBox 14 Inherits Control14 Inherits WmCommandControl 15 15 Public 16 16 Sub ListBox() … … 30 30 End If 31 31 End Sub 32 33 /* 34 @date 2008/10/18 35 @todo 対応するイベントをまだ設けていない通知メッセージへの対応 36 */ 37 Override Function RaiseCommandEvent(notificationCode As Word) As Boolean 38 Dim lr As LRESULT 39 RaiseCommandEvent = False 40 Select Case notificationCode 41 Case LBN_ERRSPACE 42 RaiseCommandEvent = False 43 Case LBN_SELCHANGE 44 RaiseCommandEvent = False 45 Case BN_CLICKED 46 RaiseCommandEvent = OnClick(Args.Empty) 47 Case LBN_DBLCLK 48 RaiseCommandEvent = OnDoubleClick(Args.Empty) 49 Case LBN_SELCANCEL 50 RaiseCommandEvent = False 51 Case LBN_SETFOCUS 52 RaiseCommandEvent = ProcessMessage(WM_SETFOCUS, 0, 0, lr) 53 Case LBN_KILLFOCUS 54 RaiseCommandEvent = ProcessMessage(WM_KILLFOCUS, 0, 0, lr) 55 End Select 56 End Function 32 57 Protected 33 58 Override Sub GetCreateStruct(ByRef cs As CREATESTRUCT)
Note:
See TracChangeset
for help on using the changeset viewer.