在 vncproperties.cpp里面 vncProperties::ShowAdmin(BOOL show, BOOL usersettings), 里面用来启动 设置vnc server设置的页面,

然后在 vncproperties.cpp 里面的

vncProperties::DialogProc(HWND hwnd,
UINT uMsg,
WPARAM wParam,
LPARAM lParam )  ,将 界面上的设置应用到_this->m_server->SetPassword(crypt); ,_this->m_server->SetAutoPortSelect(state == BST_CHECKED);

_this->m_server->SetPorts(port_rfb, port_http);_this->m_server->EnableXDMCPConnect(SendMessage(hConnectXDMCP, BM_GETCHECK, 0, 0) == BST_CHECKED); 等等

然后在vncProperties::Init(vncServer *server) 这个函数里面调用ShowAdmin(BOOL show, BOOL usersettings)方法

相关文章:

  • 2021-12-25
  • 2022-01-13
  • 2021-05-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-09
猜你喜欢
  • 2021-10-02
  • 2022-01-10
  • 2021-10-23
  • 2022-12-23
  • 2021-11-15
  • 2021-06-23
  • 2022-12-23
相关资源
相似解决方案