The assignment is as follows:
Develop a form in [url removed, login to view] (Framework 1.1) that never takes focus. The form must be able to register mouse clicks
and perform graphical changes on mouse clicks. Never takes focus means that the control possesing
the input focus never loses focus, not even for a split second. Therefore it can't be solved by forcing focus
back to the control possesing it previous whenever the form takes focus. This way the focus is lost on the control
that needs to keep focus.
On the "focusless" form a Flash movie (AxShockwaveFlashObjects) is used to display the graphics.
It can be tested by making a form containing a Microsoft Web Browser (AxWebBrowser), open a webpage with
a textfield and set focus to this, place the "focusless" form in front of the browser form (seperate forms), try
clicking on the "focusless" form and see if the focus stays in the textfield in the browser. Topmost can be used
on the "focusless" form but no additional implementation must be made to the browser form.
As said, it must be developed in [url removed, login to view], inherit [url removed, login to view] and the implementation made is the end product. The form the implementation is to be used on, is a borderless form with the topmost attributte set to True.
The delivery must be a specification of the code implemented on the form that never takes focus.
For a delivery to be accepted, it is required that the focus isn't lost at any time anywhere while clicking on the form.
Also it is nesserary that the Flash movie registers the mouse clicks and sends a fsCommand to the form, which then perform a given task and the changes in the graphics in the Flash movie is displayed properly. (Eg. buttons are displayed as pressed down on mousedown, and released again on mouseup)
The platform on which it is to be deployed is Windows XP with Service Pack 1 and Microsoft .NET framework 1.1 installed.
Macromedia Flash Player is also present on the system.