Changeset 223 for Include/windows/WindowHandle.sbp
- Timestamp:
- Apr 30, 2007, 1:56:57 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/windows/WindowHandle.sbp
r208 r223 372 372 End Function 373 373 374 Const Function ScreenToClient(ByRef rc As RECT) As Boolean 375 Dim ppt = VarPtr(rc) As *POINTAPI 376 Return _System_ScreenToClient(hwnd, ppt[0]) And _System_ScreenToClient(hwnd, ppt[1]) 377 End Function 378 374 379 Function Scroll(dx As Long, dy As Long, ByRef rcScroll As RECT, ByRef rcClip As RECT, hrgnUpdate As HRGN, ByRef rcUpdate As RECT, flags As DWord) As Boolean 375 380 Return ScrollWindowEx(hwnd, dx, dy, rcScroll, rcClip, hrgnUpdate, rcUpdate, flags) As Boolean … … 626 631 End Function 627 632 628 Sub Style(newStyle As DWord) DWord633 Sub Style(newStyle As DWord) 629 634 _System_SetWindowLongPtr(hwnd, GWLP_STYLE, newStyle) 630 635 End Sub … … 677 682 678 683 Const Function Parent() As WindowHandle 679 Return _System_GetParent(hwnd)684 Return New WindowHandle(_System_GetParent(hwnd)) 680 685 End Function 681 686 … … 714 719 Sub Prop(str As PCTSTR, h As HANDLE) 715 720 SetProp(str, h) 716 End Sub717 718 Sub Prop(psz As PCTSTR, h As HANDLE)719 SetProp(psz, h)720 721 End Sub 721 722
Note:
See TracChangeset
for help on using the changeset viewer.