如何用 createwindow 创建模式表单?

解决方案 »

  1.   

    Private Declare Function CreateWindowEx Lib "user32" Alias "CreateWindowExA" (ByVal dwExStyle As Long, ByVal lpClassName As String, ByVal lpWindowName As String, ByVal dwStyle As Long, ByVal x As Long, ByVal y As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hWndParent As Long, ByVal hMenu As Long, ByVal hInstance As Long, lpParam As Any) As Long
      

  2.   

    to hhyttppdd(123456) 声明我会,关键是加入哪个参数才能创建模式表单。
      

  3.   

    后面要用到的ShowWindow函数才是关键吧
      

  4.   

    ShowWindow 函不包含 modal 参数