]> source.dussan.org Git - tigervnc.git/commitdiff
Implemented "Home page" the menu point.
authorgeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Tue, 29 Mar 2005 15:05:57 +0000 (15:05 +0000)
committergeorge82 <george82@3789f03b-4d11-0410-bbf8-ca57d06f2519>
Tue, 29 Mar 2005 15:05:57 +0000 (15:05 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@279 3789f03b-4d11-0410-bbf8-ca57d06f2519

rfbplayer/rfbplayer.cxx
rfbplayer/rfbplayer.h

index 518fb2be119c6b422c1818ef304994aadccd1ae6..149acd58dfa4e9091c0a89a8f77dbcd2834c6b6d 100644 (file)
@@ -406,6 +406,8 @@ RfbPlayer::processMainMessage(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
       PostQuitMessage(0);
       break;
     case ID_HOMEPAGE:
+      ShellExecute(getMainHandle(), _T("open"), _T("http://www.tightvnc.com/"),
+        NULL, NULL, SW_SHOWDEFAULT);
       break;
     case ID_HELP_COMMANDLINESWITCHES:
       {
index d52ff2c355a142e9433c7bd3891e8c7a062cc9f6..e92a44e07b0386ec074de4b2769bb9e87a895a89 100644 (file)
@@ -20,6 +20,7 @@
 
 #include <commdlg.h>
 #include <windows.h>
+#include <shellapi.h>
 
 #include <rfb_win32/DIBSectionBuffer.h>