- Timestamp:
- Sep 29, 2008, 1:02:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/ablib/src/Classes/ActiveBasic/Windows/UI/WindowHandle.sbp
r615 r637 308 308 End Function 309 309 */ 310 Function Move(x As Long, y As Long, width As Long, height As Long, repaint As Boolean) As Boolean310 Function Move(x As Long, y As Long, width As Long, height As Long, repaint = True As Boolean) As Boolean 311 311 Return MoveWindow(hwnd, x, y, width, height, repaint) As Boolean 312 312 End Function 313 313 314 Function Move(x As Long, y As Long, width As Long, height As Long) As Boolean 315 Return MoveWindow(hwnd, x, y, width, height, TRUE) As Boolean 316 End Function 317 318 Function Move(ByRef rc As RECT, repaint As Boolean) As Boolean 314 Function Move(ByRef rc As RECT, repaint = True As Boolean) As Boolean 319 315 With rc 320 316 Return MoveWindow(hwnd, .left, .top, .right - .left, .bottom - .top, repaint) As Boolean … … 322 318 End Function 323 319 324 Function Move(ByRef rc As RECT) As Boolean325 With rc326 Return MoveWindow(hwnd, .left, .top, .right - .left, .bottom - .top, TRUE) As Boolean327 End With328 End Function329 320 /* 330 321 Function OpenClipboard() As Boolean … … 586 577 587 578 Const Function Maximized() As Boolean 588 Return Is Iconic() As Boolean579 Return IsZoomed(hwnd) As Boolean 589 580 End Function 590 581 … … 668 659 sb.Length = size 669 660 Dim length = GetWindowText(hwnd, StrPtr(sb), size) 661 sb.Length(length) 670 662 Text = sb.ToString 671 663 End Function
Note:
See TracChangeset
for help on using the changeset viewer.