MDI app message dispatching
- From: "2b|!2b==?" <user@xxxxxxxxxxxxxx>
- Date: Mon, 31 Dec 2007 02:24:49 +0000
I have an MDI application which receives streaming data from a measuring device. The MDI application consists of several child forms - each of which contains a label for displaying text.
The data is of binary format - and consists of a header section, and a payload section. The header contains a tag code (which identifies the child form to which the payload data is to be sent), and the payload (to keep things simple), consists of text.
I have worked out the logic, but I am not too sure how to code in VB6 (coming from a different language).
The logic is as follows:
1). Message is received
2). Check tag to determine which child to send data to - if a child form with matching tag is not available, then spawn a new child, set tag and pass message to new form - else if child with matching tag is found, simply pass message to it.
Could anyone provide an outline as to how I may implement this using VB6 ?
.
- Follow-Ups:
- Re: MDI app message dispatching
- From: Larry Serflaten
- Re: MDI app message dispatching
- Prev by Date: Re: Starting Existing VB6 Project in Vista
- Next by Date: Re: Silverlight
- Previous by thread: MSINET.OCX problem in VB6 application
- Next by thread: Re: MDI app message dispatching
- Index(es):
Relevant Pages
|
Loading