 |
| Setting the mouse capture to the specified window |
User rating: 10/10 (1 votes) | | |
|
 |
 |
| Before you begin: |
 |
See also:
How to Move a Form not using its Titlebar or Caption |
 |
 |
DO declare
* testing the capture
? GetCapture()
* setting the mouse capture to the window with the keyboard focus
? SetCapture(GetFocus())
* testing the capture
? GetCapture() && returns a window handle
= ReleaseCapture()
PROCEDURE declare
DECLARE INTEGER SetCapture IN user32 INTEGER hWindow
DECLARE INTEGER GetCapture IN user32
DECLARE INTEGER ReleaseCapture IN user32
DECLARE INTEGER GetActiveWindow IN user32
DECLARE INTEGER GetFocus IN user32
|
 |
User rating: 10/10 (1 votes) | | | 478 bytes Created: 2002-02-25 23:41:56 Modified: 2009-01-26 14:09:20 Visits in 7 days: 143 |
|
 |
 |
| Listed functions: |
 |
|
 |
 |
| Word Index links for this example: |
 |
|
|
 |
 |
| Translate this page: |
 |
|