Ignore:
Timestamp:
Apr 7, 2007, 10:20:40 PM (18 years ago)
Author:
イグトランス (egtra)
Message:

[207]参照型変数のNothing初期化に対応する修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Include/windows/WindowHandle.sbp

    r192 r208  
     1' Windows/WindowHandle.sbp
     2
    13#ifndef __WINDOWS_WINDOWHANDLE_SBP__
    24#define __WINDOWS_WINDOWHANDLE_SBP__
     
    6567    End Function
    6668
    67     Const Function ChildFromPoint(x As Long, y As Long) As HWND
    68         Return ChildWindowFromPoint(hwnd, x, y)
    69     End Function
    70 
    71     Const Function ChildFromPointEx(x As Long, y As Long, flags As DWord) As HWND
    72         Return ChildWindowFromPointEx(hwnd, x, y, flags)
     69    Const Function ChildFromPoint(x As Long, y As Long) As WindowHandle
     70        Return New WindowHandle(ChildWindowFromPoint(hwnd, x, y))
     71    End Function
     72
     73    Const Function ChildFromPointEx(x As Long, y As Long, flags As DWord) As WindowHandle
     74        Return New WindowHandle(ChildWindowFromPointEx(hwnd, x, y, flags))
    7375    End Function
    7476
     
    390392    End Function
    391393
    392     Function SetActiveWindow() As HWND
    393         Return SetActiveWindow(hwnd)
     394    Function SetActiveWindow() As WindowHandle
     395        Return New WindowHandle(SetActiveWindow(hwnd))
    394396    End Function
    395397
     
    398400    End Function
    399401
    400     Function SetCapture() As HWND
    401         Return SetCapture(hwnd) As HWND
     402    Function SetCapture() As WindowHandle
     403        Return New WindowHandle(SetCapture(hwnd))
    402404    End Function
    403405
     
    406408    End Function
    407409
    408     Function SetFocus() As HWND
    409         Return SetFocus(hwnd)
     410    Function SetFocus() As WindowHandle
     411        Return New WindowHandle(SetFocus(hwnd))
    410412    End Function
    411413
     
    418420    End Function
    419421
    420     Function SetParent(hwndNewParent As HWND) As HWND
    421         Return _System_SetParent(hwnd, hwndNewParent)
     422    Function SetParent(hwndNewParent As HWND) As WindowHandle
     423        Return New WindowHandle(_System_SetParent(hwnd, hwndNewParent))
    422424    End Function
    423425
Note: See TracChangeset for help on using the changeset viewer.