UltraVnc 设置的一些事情

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

posted on 2012-11-07 16:20  GIS-MAN  阅读(3534)  评论(0编辑  收藏  举报

导航