- Timestamp:
- Sep 29, 2008, 1:02:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/ActiveBasic/Windows/UI/Button.ab
r561 r637 13 13 */ 14 14 Class Button 15 Inherits Control15 Inherits WmCommandControl 16 16 Protected 17 17 Override Sub GetCreateStruct(ByRef cs As CREATESTRUCT) … … 26 26 End Sub 27 27 28 Override Function RaiseCommandEvent(notificationCode As Word) As Boolean 29 Dim lr As LRESULT 30 RaiseCommandEvent = False 31 Select Case notificationCode 32 Case BN_CLICKED 33 RaiseCommandEvent = OnClick(Args.Empty) 34 Case BN_DBLCLK 35 RaiseCommandEvent = OnDoubleClick(Args.Empty) 36 Case BN_SETFOCUS 37 RaiseCommandEvent = ProcessMessage(WM_SETFOCUS, 0, 0, lr) 38 Case BN_KILLFOCUS 39 RaiseCommandEvent = ProcessMessage(WM_KILLFOCUS, 0, 0, lr) 40 'ここに挙げられなかったBNメッセージは、16ビットWindowsとの互換性のためとされているもの。 41 End Select 42 End Function 43 28 44 End Class 29 45
Note:
See TracChangeset
for help on using the changeset viewer.