by Almar Joling (9 Submissions)
Category: DirectX
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (5 Votes)
The code of DX Anywere retrieves the handle of the window/scrollbar/toolbar/textbox/clock/start button whatever under the mouse cursor. Now, with this handle you can start DirectX in that window/scrollbar/toolbar/textbox/clock/start button/whatever
The DirectX window is automatically resized to match the required with and height.
Really great code, to make an 'DirectX Accelerated Desktop"
Assumes
-Press [Start]
-Move the mouse cursor somewhere
-Press [Stop] to stop tracking the mouse. (or remember it)
-Make sure that the text box has a handle
-Press [DirectX]
-Enjoy the rotating cube in the selected place
-To select another handle, press [Stop DirectX], and start above...
Code Returns
A great effect in any place of Windows
Side Effects
None, so far
API DeclarationsYes, they're documented in the program
Download DX Anywhere (17 KB)