Changeset 208 for Include/windows/WindowHandle.sbp
- Timestamp:
- Apr 7, 2007, 10:20:40 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/windows/WindowHandle.sbp
r192 r208 1 ' Windows/WindowHandle.sbp 2 1 3 #ifndef __WINDOWS_WINDOWHANDLE_SBP__ 2 4 #define __WINDOWS_WINDOWHANDLE_SBP__ … … 65 67 End Function 66 68 67 Const Function ChildFromPoint(x As Long, y As Long) As HWND68 Return ChildWindowFromPoint(hwnd, x, y)69 End Function 70 71 Const Function ChildFromPointEx(x As Long, y As Long, flags As DWord) As HWND72 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)) 73 75 End Function 74 76 … … 390 392 End Function 391 393 392 Function SetActiveWindow() As HWND393 Return SetActiveWindow(hwnd)394 Function SetActiveWindow() As WindowHandle 395 Return New WindowHandle(SetActiveWindow(hwnd)) 394 396 End Function 395 397 … … 398 400 End Function 399 401 400 Function SetCapture() As HWND401 Return SetCapture(hwnd) As HWND402 Function SetCapture() As WindowHandle 403 Return New WindowHandle(SetCapture(hwnd)) 402 404 End Function 403 405 … … 406 408 End Function 407 409 408 Function SetFocus() As HWND409 Return SetFocus(hwnd)410 Function SetFocus() As WindowHandle 411 Return New WindowHandle(SetFocus(hwnd)) 410 412 End Function 411 413 … … 418 420 End Function 419 421 420 Function SetParent(hwndNewParent As HWND) As HWND421 Return _System_SetParent(hwnd, hwndNewParent)422 Function SetParent(hwndNewParent As HWND) As WindowHandle 423 Return New WindowHandle(_System_SetParent(hwnd, hwndNewParent)) 422 424 End Function 423 425
Note:
See TracChangeset
for help on using the changeset viewer.