PROBLEMS I Haven't solved:
1. Timing issue between real-time server #1 and my drawing tools.
Will moving the tools
(currently within module) to an ActiveX (exe or DLL) solve the
problem or will the calls to
the ActiveX in the mouse move event still result in a conflict????
Background
Tools are implemented on a toolbar on an MDI form. A component on
a hidden form
generates events when real-time data is received and these events
are used to draw graphics in the
same picturebox that the tools are used.
When the user selects a tool and drags it across the screen to
position, the mouse_move event is in
control. If server#1 raises an event to draw on the real time
graphics a conflict arises. I tried
implementing the tools in a separate process and this eliminated
the conflict but the
tool drawing shows up UNDER the real-time graphics instead of
ontop. Because of the x-process call
there is no way to control when the timing of the drawing will
occur in relation to the real-time graphics.
I've thinking about moving the drawing tools functions/subs to an
ActiveX to see of this would help solve
the conflict. I have some popup windows which allow each tool to
be configured, but from my
understanding it is suggested an ActiveX NOT support independent
forms. These forms could remain
in the MDI as all they would do is set the default property of each
drawing tool, but if they could be
included in the ActiveX it would make for a nice clean
consolidation.
Whether the OS will give enough time for using the mouse at the
same time
the real time graphics may be processing(set and drawing) is
unknown to me???????????
2. Can a separate application which links to server #2 be contained
within an ActiveX and then included
within an MDI form for usage????
Background
The separate app contains a component which links to server #2 and
has one main form that requires the
user to interface with it as needed??????
Thanks
David
1. Timing issue between real-time server #1 and my drawing tools.
Will moving the tools
(currently within module) to an ActiveX (exe or DLL) solve the
problem or will the calls to
the ActiveX in the mouse move event still result in a conflict????
Background
Tools are implemented on a toolbar on an MDI form. A component on
a hidden form
generates events when real-time data is received and these events
are used to draw graphics in the
same picturebox that the tools are used.
When the user selects a tool and drags it across the screen to
position, the mouse_move event is in
control. If server#1 raises an event to draw on the real time
graphics a conflict arises. I tried
implementing the tools in a separate process and this eliminated
the conflict but the
tool drawing shows up UNDER the real-time graphics instead of
ontop. Because of the x-process call
there is no way to control when the timing of the drawing will
occur in relation to the real-time graphics.
I've thinking about moving the drawing tools functions/subs to an
ActiveX to see of this would help solve
the conflict. I have some popup windows which allow each tool to
be configured, but from my
understanding it is suggested an ActiveX NOT support independent
forms. These forms could remain
in the MDI as all they would do is set the default property of each
drawing tool, but if they could be
included in the ActiveX it would make for a nice clean
consolidation.
Whether the OS will give enough time for using the mouse at the
same time
the real time graphics may be processing(set and drawing) is
unknown to me???????????
2. Can a separate application which links to server #2 be contained
within an ActiveX and then included
within an MDI form for usage????
Background
The separate app contains a component which links to server #2 and
has one main form that requires the
user to interface with it as needed??????
Thanks
David
Comment