Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey guys, i'm having really hard time displaying new form from the

inside of Event hadler that runs within the process of the caller.

the new form shows but i cant focus on it and it just hungs there.

 

Private Sub on_PrivateMessage(ByVal vUserName As String, ByVal

vMessage As String) Handles objC.PrivateMessage

Dim lForm As frmPrivate

 

lForm = New frmPrivate

lForm.gNick = vUserName

lForm.DisplayMessage(vUserName, vMessage)

lForm.Visible = True

 

End Sub

 

if i use lForm.ShowDialog() then it paints okay and i can interact

with it but then the main form stops processing messages...

 

Please help.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...