Last change
on this file since 557 was 551, checked in by イグトランス (egtra), 16 years ago |
Buttonの追加。WM_COMMANDから子のClickイベントを発生させる仕組みの追加など。
|
File size:
413 bytes
|
Rev | Line | |
---|
[551] | 1 | Public
|
---|
| 2 | Sub AddThreadExit(h As Handler)
|
---|
| 3 | If IsNothing(threadExit) Then
|
---|
| 4 | threadExit = h
|
---|
| 5 | Else
|
---|
| 6 | threadExit += h
|
---|
| 7 | End If
|
---|
| 8 | End Sub
|
---|
| 9 | Sub RemoveThreadExit(h As Handler)
|
---|
| 10 | If Not IsNothing(threadExit) Then
|
---|
| 11 | threadExit -= h
|
---|
| 12 | End If
|
---|
| 13 | End Sub
|
---|
| 14 | Protected
|
---|
| 15 | Sub OnThreadExit(e As Args)
|
---|
| 16 | If Not IsNothing(threadExit) Then
|
---|
| 17 | threadExit(This, e)
|
---|
| 18 | End If
|
---|
| 19 | End Sub
|
---|
| 20 | Private
|
---|
| 21 | threadExit As Handler
|
---|
| 22 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.