<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2713.1100" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Douh! Sorry for the first mail 
(again).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Do you want to popup a second popup dialog from the 
first popup dialog?</FONT></DIV>
<DIV><FONT face=Arial size=2>Then you have to use the first popup window as 
parent for the second popup dialog.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Is that what you meant?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Maybe you send this code.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Bye</FONT></DIV>
<DIV><FONT face=Arial size=2>    Victor</FONT></DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <P><FONT face=Verdana size=1>
  <P><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt">I appreciate for 
  Harald Fernengel and Victor Roeder's reply.  I have worked out 
  my problem finally. Indeed, "mydlg.exec()" works,(Thank you so much)  
  However, I'm doubt in a point.  The popup dialog window 
  can only be active when the parent is the main interface(or 
  frame). If I want to click a button on the popup window, and again let it 
  pop out a small window. It doesn't work. <SPAN 
  style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt">As you said, I should 
  declare the parent, I'm sorry that I don't know exactly how to do it. The 
  sentense you wrote can not be simply added into the code. Could you indicate 
  it more 
clearly?   </SPAN></SPAN></P></FONT></BLOCKQUOTE></BODY></HTML>