I'm in the process of rewriting my plugin from AutoIt to VB6 so it's better compatible with the RoadRunner Front End.
Here's my issue:
In AutoIt there's a function called:
ControlGetHandle - "Retrieves the internal handle of a control."
This means that I can get the handle of any window and of any control in that window (such as a button).
That way I could send a Click Message to that button using the SendMessage command.
With the code above, JTFBhandle is the direct handle to the Jump button on the "Jump-to-File" Window.
$WAhandle = ControlGetHandle("classname=Winamp v1.x", "", 0) ;Gets the Winamp Handle
$JFhandle = ControlGetHandle("Jump to file", "", 0) ;Gets the JTFP Handle
$JTFBhandle = ControlGetHandle($JFhandle, "", 4918) ;Gets the Jump to File Button Handle
(It is essential that I am being correctly understood.)
In Visual Basic 6.0, I can get to the "Jump-to-File's" Window handle, but I can't access the handles of the buttons that are on the window itself.
See the buttons Enqueue File, Move after current, Jump to file, etc.?
Their Control ID's are 4919, 4920, and 4918 respectively.
I need to get to the handles of these buttons based on their Control ID numbers above.
How do I do it in Visual Basic 6.0?