Last change
on this file since 637 was 637, checked in by イグトランス (egtra), 16 years ago |
Button.OnClickの仕組みを汎用的(WM_COMMAND全般)に。WndProcなどをProtectedへ。
|
File size:
646 bytes
|
Rev | Line | |
---|
[561] | 1 | 'Classes/ActiveBasic/Windows/UI/EditBox.ab
|
---|
| 2 | #require <Classes/ActiveBasic/Windows/UI/Control.ab>
|
---|
| 3 |
|
---|
| 4 | Namespace ActiveBasic
|
---|
| 5 | Namespace Windows
|
---|
| 6 | Namespace UI
|
---|
| 7 |
|
---|
| 8 | /*!
|
---|
| 9 | @brief エディトコントロールのクラス
|
---|
[637] | 10 | @date 2008/07/21
|
---|
[561] | 11 | @auther Egtra
|
---|
| 12 | */
|
---|
| 13 | Class EditBox
|
---|
[637] | 14 | Inherits WmCommandControl
|
---|
[561] | 15 | Protected
|
---|
| 16 | Override Sub GetCreateStruct(ByRef cs As CREATESTRUCT)
|
---|
| 17 | With cs
|
---|
| 18 | .lpszClass = "EDIT"
|
---|
| 19 | End With
|
---|
| 20 | End Sub
|
---|
[637] | 21 | Public
|
---|
| 22 | Override Function RaiseCommandEvent(notificationCode As Word) As Boolean
|
---|
| 23 | RaiseCommandEvent = False
|
---|
| 24 | End Function
|
---|
[561] | 25 |
|
---|
| 26 | 'ToDo: Lineなどを設ける
|
---|
| 27 | End Class
|
---|
| 28 |
|
---|
| 29 | End Namespace 'UI
|
---|
| 30 | End Namespace 'Widnows
|
---|
| 31 | End Namespace 'ActiveBasic
|
---|
| 32 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.