You need to create a sample program demonstrating four specific features of an ActiveX control. Receiving events and data from the control is crucial. The program must be written in Microsoft Visual C++. The source code must be easy to read.
Using the ActiveX control is trivial in Borland Delphi and Microsoft Visual Basic. Some people who use Visual C++ need help. See <http://22.214.171.124/TempFlash/Integration%[url removed, login to view]> for a simple example of what the control looks like in Delphi. Note: This presentation is slightly out of date.
The ActiveX control, including documentation, can be found here: <[url removed, login to view]> .
The deliverables include source code, object code, and all instructions required to build the project.
In particular, if there are any special steps required to import the ActiveX control for use with C++, these must be listed. Also, describe any steps required to make the GUI, aside from obvious things like placing labels on the forms. If the compiler automatically generates any files, or any parts of files, the instructions must say how to recreate these.
Although an executable is required, the most important parts are readable source code and instructions.
The object code must be ready to run. If possible should be a single EXE file. If additional DLLs, etc., are required, make sure to include installation instructions. You can assume the user has already installed the ActiveX control.
The program should have one main window that looks similar to <[url removed, login to view]> . It does not have to be an exact match as long as the main features are there.
Make the "Set User Name and Password" button update the username and password properties of the ConnectionControl object.
Make the "Send Fake Alert" button call the SendFakeAlert method of the ConnectionControl object.
When the user double clicks on a row of the alert control, add a message to the "Sample Output" panel. Copy the symbol and description fields as is. Convert the time field into a human readable format, including seconds. Display all three fields on one line. Important: For this demo you must use the AlertInfo parameter sent with the event. You must not use the CurrentAlert property of the TradeIdeasWindowX object, or any of the related properties of the TradeIdeasWindowX. This event is called OnAlertSelected.
When the program starts, add the horizontal bar and the three items below it, shown here: <[url removed, login to view]> . Use the AddCustomMenuItem method of the TradeIdeasWindowX to do this. Whenever the user selects one of these items, display the name of the item in the sample output window. This event is called OnCustomMenuItem.
Note: The documentation includes many more features. Many features can be accessed in more than one way. Only implement the features listed above. Do not make this any longer or more complicated than required.
Use of GUI tools is encouraged, as long as these are documented.
Windows XP, Windows 2000