如题。

解决方案 »

  1.   

    SetWinowPos()  或者 MoveWindow()
      

  2.   

    你说的好像不对。GetOpenFileName函数启动一个对话框窗口;但并不返回窗口句柄。根本无法使用MoveWindow等函数。
      

  3.   

    lpfnHookPointer to a hook procedure. This member is ignored unless the Flags member includes the OFN_ENABLEHOOK flag.
    If the OFN_EXPLORER flag is not set in the Flags member, lpfnHook is a pointer to an OFNHookProcOldStyle hook procedure that receives messages intended for the dialog box. The hook procedure returns FALSE to pass a message to the default dialog box procedure or TRUE to discard the message. 
    If OFN_EXPLORER is set, lpfnHook is a pointer to an OFNHookProc hook procedure. The hook procedure receives notification messages sent from the dialog box. The hook procedure also receives messages for any additional controls that you defined by specifying a child dialog template. The hook procedure does not receive messages intended for the standard controls of the default dialog box.