• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

mCtrl/html.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2009 Martin Mitas
00003  *
00004  * This program is free software; you can redistribute it and/or modify
00005  * it under the terms of the GNU General Public License as published by
00006  * the Free Software Foundation; either version 2 of the License, or
00007  * (at your option) any later version.
00008  *
00009  * This program is distributed in the hope that it will be useful,
00010  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00011  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012  * GNU General Public License for more details.
00013  *
00014  * You should have received a copy of the GNU General Public License
00015  * along with this program; if not, write to the Free Software Foundation,
00016  * Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
00017  */
00018 
00019 #ifndef MCTRL_HTML_H
00020 #define MCTRL_HTML_H
00021 
00022 #include <mCtrl/defs.h>
00023 
00024 #ifdef __cplusplus
00025 extern "C" {
00026 #endif
00027 
00028 
00110 BOOL MCTRL_API mcHtml_Initialize(void);
00111 
00117 void MCTRL_API mcHtml_Terminate(void);
00118 
00119 
00125 #define MC_WC_HTMLW            L"mCtrl.html"
00126 
00127 #define MC_WC_HTMLA             "mCtrl.html"
00128 #ifdef UNICODE
00129 
00130     #define MC_WC_HTML          MC_WC_HTMLW
00131 #else
00132     #define MC_WC_HTML          MC_WC_HTMLA
00133 #endif
00134 
00142 #define MC_HS_NOCONTEXTMENU   (0x00000001L)
00143 
00150 
00157 #define MC_HM_GOTOURLW        (WM_USER + 10)
00158 
00165 #define MC_HM_GOTOURLA        (WM_USER + 11)
00166 
00167 
00168 #ifdef UNICODE
00169 
00170     #define MC_HM_GOTOURL     MC_HM_GOTOURLW
00171 #else
00172     #define MC_HM_GOTOURL     MC_HM_GOTOURLA
00173 #endif
00174 
00181 typedef struct MC_NMHTMLURLW_tag {
00183     NMHDR hdr;
00185     LPCWSTR pszUrl;
00186 } MC_NMHTMLURLW;
00187 
00192 typedef struct MC_NMHTMLURLA_tag {
00194     NMHDR hdr;
00196     LPCSTR pszUrl;
00197 } MC_NMHTMLURLA;
00198 
00199 
00200 #ifdef UNICODE
00201 
00202     #define MC_NMHTMLURL         MC_NMHTMLURLW
00203 #else
00204     #define MC_NMHTMLURL         MC_NMHTMLURLA
00205 #endif
00206 
00207 
00208 
00213 
00221 #define MC_HN_APPLINK            ((0U-2000U) + 0x0001)
00222 
00230 #define MC_HN_DOCUMENTCOMPLETE   ((0U-2000U) + 0x0002)
00231 
00236 #ifdef __cplusplus
00237 }  /* extern "C" */
00238 #endif
00239 
00240 #endif  /* MCTRL_HTML_H */

Generated on Sun Dec 5 2010 10:16:40 for mCtrl by  1.7.1