From 6b327577051e49ef853117e9c04442c408fdf934 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 21 Jun 2012 21:11:28 +0000 Subject: MS_UTILS_OPENURL Unicode git-svn-id: http://svn.miranda-ng.org/main/trunk@520 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- include/m_utils.h | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/m_utils.h b/include/m_utils.h index 34d82594e8..b8366f31a9 100644 --- a/include/m_utils.h +++ b/include/m_utils.h @@ -41,13 +41,23 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //and simple string scrambling, but they are very db-orientated /* Opens a URL in the user's default web browser v0.1.0.1+ -wParam=bOpenInNewWindow -lParam=(LPARAM)(const char*)szUrl +wParam = OUF_* flags +lParam = (LPARAM)(const TCHAR*)szUrl returns 0 always bOpenInNewWindow should be zero to open the URL in the browser window the user last used, or nonzero to open in a new browser window. If there's no browser running, one will be opened to show the URL. */ + +#define OUF_NEWWINDOW 1 +#define OUF_UNICODE 2 + +#if defined( _UNICODE ) + #define OUF_TCHAR OUF_UNICODE +#else + #define OUF_TCHAR 0 +#endif + #define MS_UTILS_OPENURL "Utils/OpenURL" /* Resizes a dialog by calling a custom routine to move the individual -- cgit v1.2.3