fyi
I did not see this come through the list the other day, so I thought I
would resend it. This code snippet corrects the vnc hand freeze on
the windoze viewer.
----------------
James,
One of the folks in our lab, John Fuenning, fixed this problem by adding
an additional line of code to the WndProc method of the
ClientConnections.cpp file. The following is a snippet with the
additional line marked in red and with <<=================.
Apparently its just a matter of marking SetDormant(false) when the
'fullscreen' check option is selected. Play with it and let me know what
you think. I hope there isn't anything more subtle laying around under
there that makes this trickier than we think it is.
Hope this helps.
Thanks.
case WM_SYSCOMMAND:
{
switch (LOWORD(wParam)) {
case SC_MINIMIZE:
_this->SetDormant(true);
break;
case SC_RESTORE:
_this->SetDormant(false);
break;
case ID_NEWCONN:
_this->m_pApp->NewConnection();
return 0;
case ID_CONN_SAVE_AS:
_this->SaveConnection();
return 0;
case IDC_OPTIONBUTTON:
if (_this->m_opts.DoDialog(true)) {
_this->m_pendingFormatChange = true;
// This isn't always needed
_this->SizeWindow();
InvalidateRect(hwnd, NULL, TRUE);
//_this->UpdateScrollbars();
//UpdateWindow(hwnd);
// Make the window correspond to the requested
state
_this->RealiseFullScreenMode();
};
return 0;
case IDD_APP_ABOUT:
ShowAboutBox();
return 0;
case ID_CONN_ABOUT:
_this->ShowConnInfo();
return 0;
case ID_FULLSCREEN:
// Toggle full screen mode
_this->SetFullScreenMode(!_this->InFullScreenMode());
_this->SetDormant(false);
<<==========================================================
return 0;
case ID_REQUEST_REFRESH:
// Request a full-screen update
_this->SendFullFramebufferUpdateRequest();
return 0;
Mark H. Harris <><
Staff Software Engineer
Software Tools Development - IBM Rochester, MN
iSeries Dept EL8Y/664-3 E115
[EMAIL PROTECTED] (8) 456-6910 1-507-286-6910
---------------------------------------------------------------------
To unsubscribe, send a message with the line: unsubscribe vnc-list
to [EMAIL PROTECTED]
See also: http://www.uk.research.att.com/vnc/intouch.html
---------------------------------------------------------------------