Click here to Skip to main content
15,886,137 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralSystem.Environment.MachineName Exception Pin
Member 9993512-May-04 8:40
Member 9993512-May-04 8:40 
GeneralRe: System.Environment.MachineName Exception Pin
Aryadip12-May-04 20:21
Aryadip12-May-04 20:21 
GeneralRe: System.Environment.MachineName Exception Pin
TigerNinja_18-May-04 19:17
TigerNinja_18-May-04 19:17 
GeneralEnterprise Instrumentation Framework Pin
Mark Tutt12-May-04 3:54
Mark Tutt12-May-04 3:54 
GeneralInstall Shield Help Pin
hprahul12-May-04 0:27
hprahul12-May-04 0:27 
GeneralRe: Install Shield Help Pin
Roman Rodov12-May-04 16:10
Roman Rodov12-May-04 16:10 
GeneralRe: Install Shield Help Pin
O Ismail19-May-04 7:30
O Ismail19-May-04 7:30 
GeneralCalling Modeless Dialog box from a callback Pin
Bilal Farooq11-May-04 20:34
Bilal Farooq11-May-04 20:34 
Hi,

My problem is as follow:

I want to show a dialogbox in Modeless mode from a callback function which is registered for an event with my own-defined eventhandler. This event handler maintains a queue and processes on the FIFO basis. I am using following code for creating/showing dialogbox:
Testing ss = new Testing(); // Where Testing is tht Dialogbox class
ss.Visible = true;
ss.Show();
ss.Focus();
ss.Refresh();
But what I get is a NotResponding form which is not even completely drawn. The content of the dialog box (buttons) are also not drawn on it.

If I use the same code from any other method of the class for instance Main(), this dialogbox shows up properly and works fine in modeless mode. Also, when I make this dialogbox modal in the callback function, it works fine. I have also tried making this dialogbox instance global but din work.

Can some one help me in this regrad?

Thanks
Bilal Farooq

Bilal Farooq
GeneralRe: Calling Modeless Dialog box from a callback Pin
Aryadip11-May-04 23:46
Aryadip11-May-04 23:46 
GeneralRe: Calling Modeless Dialog box from a callback Pin
Bilal Farooq12-May-04 19:48
Bilal Farooq12-May-04 19:48 
Generalcomposit data entry control Pin
sangeetha bhatta11-May-04 17:12
sangeetha bhatta11-May-04 17:12 
GeneralRe: composit data entry control Pin
Aryadip11-May-04 19:45
Aryadip11-May-04 19:45 
GeneralCode access security for in-memory assembly Pin
VRubins11-May-04 4:30
VRubins11-May-04 4:30 
GeneralRe: Code access security for in-memory assembly Pin
TigerNinja_11-May-04 12:05
TigerNinja_11-May-04 12:05 
GeneralRe: Code access security for in-memory assembly Pin
Aryadip12-May-04 1:51
Aryadip12-May-04 1:51 
General.NET Questions Pin
Honest10-May-04 22:22
Honest10-May-04 22:22 
GeneralRe: .NET Questions Pin
Ernst Kuschke11-May-04 1:18
Ernst Kuschke11-May-04 1:18 
QuestionHow to call VB.NET DLL from VC+.NET Pin
Member 87328310-May-04 12:47
Member 87328310-May-04 12:47 
AnswerRe: How to call VB.NET DLL from VC+.NET Pin
TigerNinja_10-May-04 14:18
TigerNinja_10-May-04 14:18 
GeneralHelp on plugin Pin
pcpc10-May-04 8:53
pcpc10-May-04 8:53 
GeneralRe: Help on plugin Pin
TigerNinja_10-May-04 14:21
TigerNinja_10-May-04 14:21 
QuestionHow to get the subnet mask Pin
Chen Venkataraman10-May-04 4:03
Chen Venkataraman10-May-04 4:03 
GeneralUpgrade VS.NET to .NET 1.1 Pin
Alan Zhao9-May-04 9:06
Alan Zhao9-May-04 9:06 
GeneralRe: Upgrade VS.NET to .NET 1.1 Pin
Roman Rodov10-May-04 14:00
Roman Rodov10-May-04 14:00 
GeneralProblem with IIS 5 Pin
Gary Hyslop at home8-May-04 11:33
Gary Hyslop at home8-May-04 11:33 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.