我在一个对话框类中,其中有CListCtrl类,每当我双击其中的一行时,就蹦出来一个对话框,但是有个对话框,双击后却不显示,只有点一下任务栏才能显示出来,这是怎么回事

解决方案 »

  1.   

    The BringWindowToTop function brings the specified window to the top of the Z order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated. BOOL BringWindowToTop(
      HWND hWnd   // handle to window
    );
      

  2.   

    This function brings the specified window to the top of the z-order. If the window is a top-level window, it is activated. If the window is a child window, the top-level parent window associated with the child window is activated. BOOL BringWindowToTop( 
    HWND hWnd );
    Parameters
    hWnd 
    Handle to the window to bring to the top of the z-order. 
    Return Values
    Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError