471,896 Members | 2,056 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,896 software developers and data experts.

modeless dialog form hanging

Hi there,

I'm having a problem with a modeless form in my app.

I have a main form in my app and a socket that waits on data from a server
(I use BeginReceive/EndReceive for that) and when I receive certain data
from the server I want to create a new modeless form to show some of that
data. But after receiving the data from the socket the modeless dialog does
not appear (it seems to be receiving no windows message to update itself,
etc.). If I remove the code for the socket and directly create the modeless
dialog it works fine. Is there something I should be looking at wrt to the
socket and threading/messages in order to get a 2nd dialog form working
properly in modeless mode?

I'm using C++ and the .net framework.

Thanks,
Andrew
Nov 17 '05 #1
1 2252
One quick note. Everything works fine with the socket when I just have my
one main form running.

"andrew" <no****@thorsolutions.com> wrote in message
news:eC**************@tk2msftngp13.phx.gbl...
Hi there,

I'm having a problem with a modeless form in my app.

I have a main form in my app and a socket that waits on data from a server
(I use BeginReceive/EndReceive for that) and when I receive certain data
from the server I want to create a new modeless form to show some of that
data. But after receiving the data from the socket the modeless dialog
does not appear (it seems to be receiving no windows message to update
itself, etc.). If I remove the code for the socket and directly create
the modeless dialog it works fine. Is there something I should be looking
at wrt to the socket and threading/messages in order to get a 2nd dialog
form working properly in modeless mode?

I'm using C++ and the .net framework.

Thanks,
Andrew

Nov 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

8 posts views Thread by vince | last post: by
1 post views Thread by Carmine | last post: by
reply views Thread by Andrew | last post: by
3 posts views Thread by hagarwal | last post: by
2 posts views Thread by proit_123 | last post: by
8 posts views Thread by proit_123 | last post: by
1 post views Thread by BillE | last post: by
reply views Thread by YellowAndGreen | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.