<!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></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></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>
  <P><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt">I added the 
  following sentence into the "baseclase.cpp"</SPAN></P>
  <P><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt">connect( 
  PushButton1, SIGNAL( clicked() ), this, SLOT( Slotshow() ) );</SPAN></P>
  <P><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt">The 
  popup window is displayed, but seems that it response a bit slowly. 
  </SPAN><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt"></SPAN></P>
  <P><SPAN style="FONT-SIZE: 10pt; mso-bidi-font-size: 7.5pt">Best 
  regards,</SPAN></P></FONT></BLOCKQUOTE></BODY></HTML>