Changeset 285 for Include/windows/WindowHandle.sbp
- Timestamp:
- Jul 26, 2007, 5:43:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Include/windows/WindowHandle.sbp
r282 r285 41 41 Declare Function _System_SetScrollInfo Lib "user32" Alias "SetScrollInfo" (hWnd As HWND, fnBar As Long, ByRef lpsi As SCROLLINFO, bRedraw As Long) As BOOL 42 42 Declare Function _System_GetSystemMenu Lib "user32" Alias "GetSystemMenu" (hWnd As HWND, bRevert As BOOL) As HMENU 43 Declare Function _System_GetDC Lib "gdi32" Alias "GetDC" (hwnd As HWND) As HDC 44 Declare Function _System_ReleaseDC Lib "gdi32" Alias "ReleaseDC" (hwnd As HWND, hdc As HDC) As BOOL 43 45 44 46 Class WindowHandle … … 147 149 148 150 Function GetDC() As HDC 149 Return GetDC(hwnd)151 Return _System_GetDC(hwnd) 150 152 End Function 151 153 … … 171 173 172 174 Const Function GetParent() As WindowHandle 173 Dim w As WindowHandle(_System_GetParent(hwnd)) 174 Return w 175 Return New WindowHandle(_System_GetParent(hwnd)) 175 176 End Function 176 177 … … 368 369 369 370 Function ReleaseDC(hdc As HDC) As Boolean 370 Return ReleaseDC(hwnd, hdc) As Boolean371 Return _System_ReleaseDC(hwnd, hdc) As Boolean 371 372 End Function 372 373
Note:
See TracChangeset
for help on using the changeset viewer.