469,344 Members | 6,547 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,344 developers. It's quick & easy.

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 2114
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
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.