UltraVnc 设置的一些事情 GIS

在 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)方法

原文地址:https://www.cnblogs.com/gisbeginner/p/2759030.html