UniversalIndentGUI 1.2.0
Notepad_plus_msgs.h
Go to the documentation of this file.
00001 //this file is part of notepad++
00002 //Copyright (C)2003 Don HO ( donho@altern.org )
00003 //
00004 //This program is free software; you can redistribute it and/or
00005 //modify it under the terms of the GNU General Public License
00006 //as published by the Free Software Foundation; either
00007 //version 2 of the License, or (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
00016 //Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00017 
00018 #ifndef NOTEPAD_PLUS_MSGS_H
00019 #define NOTEPAD_PLUS_MSGS_H
00020 
00021 //#include "menuCmdID.h"
00022 
00023 enum LangType {L_TXT, L_PHP , L_C, L_CPP, L_CS, L_OBJC, L_JAVA, L_RC,\
00024                L_HTML, L_XML, L_MAKEFILE, L_PASCAL, L_BATCH, L_INI, L_NFO, L_USER,\
00025                L_ASP, L_SQL, L_VB, L_JS, L_CSS, L_PERL, L_PYTHON, L_LUA,\
00026                L_TEX, L_FORTRAN, L_BASH, L_FLASH, L_NSIS, L_TCL, L_LISP, L_SCHEME,\
00027                L_ASM, L_DIFF, L_PROPS, L_PS, L_RUBY, L_SMALLTALK, L_VHDL, L_KIX, L_AU3,\
00028                L_CAML, L_ADA, L_VERILOG, L_MATLAB, L_HASKELL, L_INNO, L_SEARCHRESULT,\
00029                L_CMAKE, L_YAML,\
00030                // The end of enumated language type, so it should be always at the end
00031                L_EXTERNAL};
00032 enum winVer{WV_UNKNOWN, WV_WIN32S, WV_95, WV_98, WV_ME, WV_NT, WV_W2K, WV_XP, WV_S2003, WV_XPX64, WV_VISTA};
00033 
00034 
00035 //#include "deprecatedSymbols.h"
00036 
00037 //Here you can find how to use these messages : http://notepad-plus.sourceforge.net/uk/plugins-HOWTO.php 
00038 #define NPPMSG  (WM_USER + 1000)
00039 
00040     #define NPPM_GETCURRENTSCINTILLA  (NPPMSG + 4)
00041     #define NPPM_GETCURRENTLANGTYPE  (NPPMSG + 5)
00042     #define NPPM_SETCURRENTLANGTYPE  (NPPMSG + 6)
00043 
00044     #define NPPM_GETNBOPENFILES         (NPPMSG + 7)
00045         #define ALL_OPEN_FILES          0
00046         #define PRIMARY_VIEW            1
00047         #define SECOND_VIEW             2
00048 
00049     #define NPPM_GETOPENFILENAMES       (NPPMSG + 8)
00050 
00051 
00052     #define NPPM_MODELESSDIALOG      (NPPMSG + 12)
00053         #define MODELESSDIALOGADD       0
00054         #define MODELESSDIALOGREMOVE    1
00055 
00056     #define NPPM_GETNBSESSIONFILES (NPPMSG + 13)
00057     #define NPPM_GETSESSIONFILES (NPPMSG + 14)
00058     #define NPPM_SAVESESSION (NPPMSG + 15)
00059     #define NPPM_SAVECURRENTSESSION (NPPMSG + 16)
00060 
00061         struct sessionInfo {
00062             TCHAR* sessionFilePathName;
00063             int nbFile;
00064             TCHAR** files;
00065         };
00066 
00067     #define NPPM_GETOPENFILENAMESPRIMARY (NPPMSG + 17)
00068     #define NPPM_GETOPENFILENAMESSECOND (NPPMSG + 18)
00069     
00070     #define NPPM_CREATESCINTILLAHANDLE (NPPMSG + 20)
00071     #define NPPM_DESTROYSCINTILLAHANDLE (NPPMSG + 21)
00072     #define NPPM_GETNBUSERLANG (NPPMSG + 22)
00073 
00074     #define NPPM_GETCURRENTDOCINDEX (NPPMSG + 23)
00075         #define MAIN_VIEW 0
00076         #define SUB_VIEW 1
00077 
00078     #define NPPM_SETSTATUSBAR (NPPMSG + 24)
00079         #define STATUSBAR_DOC_TYPE 0
00080         #define STATUSBAR_DOC_SIZE 1
00081         #define STATUSBAR_CUR_POS 2
00082         #define STATUSBAR_EOF_FORMAT 3
00083         #define STATUSBAR_UNICODE_TYPE 4
00084         #define STATUSBAR_TYPING_MODE 5
00085 
00086     #define NPPM_GETMENUHANDLE (NPPMSG + 25)
00087         #define NPPPLUGINMENU 0
00088 
00089     #define NPPM_ENCODESCI (NPPMSG + 26)
00090     //ascii file to unicode
00091     //int NPPM_ENCODESCI(MAIN_VIEW/SUB_VIEW, 0)
00092     //return new unicodeMode
00093     
00094     #define NPPM_DECODESCI (NPPMSG + 27)
00095     //unicode file to ascii
00096     //int NPPM_DECODESCI(MAIN_VIEW/SUB_VIEW, 0)
00097     //return old unicodeMode
00098 
00099     #define NPPM_ACTIVATEDOC (NPPMSG + 28)
00100     //void NPPM_ACTIVATEDOC(int view, int index2Activate)
00101 
00102     #define NPPM_LAUNCHFINDINFILESDLG (NPPMSG + 29)
00103     //void NPPM_LAUNCHFINDINFILESDLG(TCHAR * dir2Search, TCHAR * filtre)
00104 
00105     #define NPPM_DMMSHOW (NPPMSG + 30)
00106     #define NPPM_DMMHIDE    (NPPMSG + 31)
00107     #define NPPM_DMMUPDATEDISPINFO (NPPMSG + 32)
00108     //void NPPM_DMMxxx(0, tTbData->hClient)
00109 
00110     #define NPPM_DMMREGASDCKDLG (NPPMSG + 33)
00111     //void NPPM_DMMREGASDCKDLG(0, &tTbData)
00112 
00113     #define NPPM_LOADSESSION (NPPMSG + 34)
00114     //void NPPM_LOADSESSION(0, const TCHAR* file name)
00115 
00116     #define NPPM_DMMVIEWOTHERTAB (NPPMSG + 35)
00117     //void WM_DMM_VIEWOTHERTAB(0, tTbData->pszName)
00118 
00119     #define NPPM_RELOADFILE (NPPMSG + 36)
00120     //BOOL NPPM_RELOADFILE(BOOL withAlert, TCHAR *filePathName2Reload)
00121 
00122     #define NPPM_SWITCHTOFILE (NPPMSG + 37)
00123     //BOOL NPPM_SWITCHTOFILE(0, TCHAR *filePathName2switch)
00124 
00125     #define NPPM_SAVECURRENTFILE (NPPMSG + 38)
00126     //BOOL WM_SWITCHTOFILE(0, 0)
00127 
00128     #define NPPM_SAVEALLFILES   (NPPMSG + 39)
00129     //BOOL NPPM_SAVEALLFILES(0, 0)
00130 
00131     #define NPPM_SETMENUITEMCHECK   (NPPMSG + 40)
00132     //void WM_PIMENU_CHECK(UINT funcItem[X]._cmdID, TRUE/FALSE)
00133 
00134     #define NPPM_ADDTOOLBARICON (NPPMSG + 41)
00135     //void WM_ADDTOOLBARICON(UINT funcItem[X]._cmdID, toolbarIcons icon)
00136         struct toolbarIcons {
00137             HBITMAP hToolbarBmp;
00138             HICON   hToolbarIcon;
00139         };
00140 
00141     #define NPPM_GETWINDOWSVERSION (NPPMSG + 42)
00142     //winVer NPPM_GETWINDOWSVERSION(0, 0)
00143 
00144     #define NPPM_DMMGETPLUGINHWNDBYNAME (NPPMSG + 43)
00145     //HWND WM_DMM_GETPLUGINHWNDBYNAME(const TCHAR *windowName, const TCHAR *moduleName)
00146     // if moduleName is NULL, then return value is NULL
00147     // if windowName is NULL, then the first found window handle which matches with the moduleName will be returned
00148     
00149     #define NPPM_MAKECURRENTBUFFERDIRTY (NPPMSG + 44)
00150     //BOOL NPPM_MAKECURRENTBUFFERDIRTY(0, 0)
00151 
00152     #define NPPM_GETENABLETHEMETEXTUREFUNC (NPPMSG + 45)
00153     //BOOL NPPM_GETENABLETHEMETEXTUREFUNC(0, 0)
00154 
00155     #define NPPM_GETPLUGINSCONFIGDIR (NPPMSG + 46)
00156     //void NPPM_GETPLUGINSCONFIGDIR(int strLen, TCHAR *str)
00157 
00158     #define NPPM_MSGTOPLUGIN (NPPMSG + 47)
00159     //BOOL NPPM_MSGTOPLUGIN(TCHAR *destModuleName, CommunicationInfo *info)
00160     // return value is TRUE when the message arrive to the destination plugins.
00161     // if destModule or info is NULL, then return value is FALSE
00162         struct CommunicationInfo {
00163             long internalMsg;
00164             const TCHAR * srcModuleName;
00165             void * info; // defined by plugin
00166         };
00167 
00168     #define NPPM_MENUCOMMAND (NPPMSG + 48)
00169     //void NPPM_MENUCOMMAND(0, int cmdID)
00170     // uncomment //#include "menuCmdID.h"
00171     // in the beginning of this file then use the command symbols defined in "menuCmdID.h" file
00172     // to access all the Notepad++ menu command items
00173     
00174     #define NPPM_TRIGGERTABBARCONTEXTMENU (NPPMSG + 49)
00175     //void NPPM_TRIGGERTABBARCONTEXTMENU(int view, int index2Activate)
00176 
00177     #define NPPM_GETNPPVERSION (NPPMSG + 50)
00178     // int NPPM_GETNPPVERSION(0, 0)
00179     // return version 
00180     // ex : v4.6
00181     // HIWORD(version) == 4
00182     // LOWORD(version) == 6
00183 
00184     #define NPPM_HIDETABBAR (NPPMSG + 51)
00185     // BOOL NPPM_HIDETABBAR(0, BOOL hideOrNot)
00186     // if hideOrNot is set as TRUE then tab bar will be hidden
00187     // otherwise it'll be shown.
00188     // return value : the old status value
00189 
00190     #define NPPM_ISTABBARHIDDEN (NPPMSG + 52)
00191     // BOOL NPPM_ISTABBARHIDDEN(0, 0)
00192     // returned value : TRUE if tab bar is hidden, otherwise FALSE
00193 
00194     #define NPPM_CHECKDOCSTATUS (NPPMSG + 53)
00195     // VOID NPPM_CHECKDOCSTATUS(BOOL, 0)
00196 
00197     #define NPPM_ENABLECHECKDOCOPT (NPPMSG + 54)
00198     // VOID NPPM_ENABLECHECKDOCOPT(OPT, 0)
00199         // where OPT is :
00200         #define CHECKDOCOPT_NONE 0
00201         #define CHECKDOCOPT_UPDATESILENTLY 1
00202         #define CHECKDOCOPT_UPDATEGO2END 2
00203 
00204     #define NPPM_GETCHECKDOCOPT (NPPMSG + 55)
00205     // INT NPPM_GETCHECKDOCOPT(0, 0)
00206     #define NPPM_SETCHECKDOCOPT (NPPMSG + 56)
00207     // INT NPPM_SETCHECKDOCOPT(OPT, 0)
00208 
00209     #define NPPM_GETPOSFROMBUFFERID (NPPMSG + 57)
00210     // INT NPPM_GETPOSFROMBUFFERID(INT bufferID, 0)
00211     // Return VIEW|INDEX from a buffer ID. -1 if the bufferID non existing
00212     //
00213     // VIEW takes 2 highest bits and INDEX (0 based) takes the rest (30 bits) 
00214     // Here's the values for the view :
00215     //  MAIN_VIEW 0
00216     //  SUB_VIEW  1
00217 
00218     #define NPPM_GETFULLPATHFROMBUFFERID (NPPMSG + 58)
00219     // INT NPPM_GETFULLPATHFROMBUFFERID(INT bufferID, CHAR *fullFilePath)
00220     // Get full path file name from a bufferID. 
00221     // Return -1 if the bufferID non existing, otherwise the number of TCHAR copied/to copy
00222     // User should call it with fullFilePath be NULL to get the number of TCHAR (not including the nul character),
00223     // allocate fullFilePath with the return values + 1, then call it again to get  full path file name
00224 
00225     #define NPPM_GETBUFFERIDFROMPOS (NPPMSG + 59)
00226     //wParam: Position of document
00227     //lParam: View to use, 0 = Main, 1 = Secondary
00228     //Returns 0 if invalid
00229 
00230     #define NPPM_GETCURRENTBUFFERID (NPPMSG + 60)
00231     //Returns active Buffer
00232 
00233     #define NPPM_RELOADBUFFERID (NPPMSG + 61)
00234     //Reloads Buffer
00235     //wParam: Buffer to reload
00236     //lParam: 0 if no alert, else alert
00237 
00238     #define NPPM_SETFILENAME (NPPMSG + 63)
00239     //wParam: BufferID to rename
00240     //lParam: name to set (TCHAR*)
00241     //Buffer must have been previously unnamed (eg "new 1" document types)
00242 
00243     #define NPPM_GETBUFFERLANGTYPE (NPPMSG + 64)
00244     //wParam: BufferID to get LangType from
00245     //lParam: 0
00246     //Returns as int, see LangType. -1 on error
00247 
00248     #define NPPM_SETBUFFERLANGTYPE (NPPMSG + 65)
00249     //wParam: BufferID to set LangType of
00250     //lParam: LangType
00251     //Returns TRUE on success, FALSE otherwise
00252     //use int, see LangType for possible values
00253     //L_USER and L_EXTERNAL are not supported
00254 
00255     #define NPPM_GETBUFFERENCODING (NPPMSG + 66)
00256     //wParam: BufferID to get encoding from
00257     //lParam: 0
00258     //returns as int, see UniMode. -1 on error
00259 
00260     #define NPPM_SETBUFFERENCODING (NPPMSG + 67)
00261     //wParam: BufferID to set encoding of
00262     //lParam: format
00263     //Returns TRUE on success, FALSE otherwise
00264     //use int, see UniMode
00265     //Can only be done on new, unedited files
00266 
00267     #define NPPM_GETBUFFERFORMAT (NPPMSG + 68)
00268     //wParam: BufferID to get format from
00269     //lParam: 0
00270     //returns as int, see formatType. -1 on error
00271 
00272     #define NPPM_SETBUFFERFORMAT (NPPMSG + 69)
00273     //wParam: BufferID to set format of
00274     //lParam: format
00275     //Returns TRUE on success, FALSE otherwise
00276     //use int, see formatType
00277 
00278 /*
00279     #define NPPM_ADDREBAR (NPPMSG + 57)
00280     // BOOL NPPM_ADDREBAR(0, REBARBANDINFO *)
00281     // Returns assigned ID in wID value of struct pointer
00282     #define NPPM_UPDATEREBAR (NPPMSG + 58)
00283     // BOOL NPPM_ADDREBAR(INT ID, REBARBANDINFO *)
00284     //Use ID assigned with NPPM_ADDREBAR
00285     #define NPPM_REMOVEREBAR (NPPMSG + 59)
00286     // BOOL NPPM_ADDREBAR(INT ID, 0)
00287     //Use ID assigned with NPPM_ADDREBAR
00288 */
00289     #define NPPM_HIDETOOLBAR (NPPMSG + 70)
00290     // BOOL NPPM_HIDETOOLBAR(0, BOOL hideOrNot)
00291     // if hideOrNot is set as TRUE then tool bar will be hidden
00292     // otherwise it'll be shown.
00293     // return value : the old status value
00294 
00295     #define NPPM_ISTOOLBARHIDDEN (NPPMSG + 71)
00296     // BOOL NPPM_ISTOOLBARHIDDEN(0, 0)
00297     // returned value : TRUE if tool bar is hidden, otherwise FALSE
00298 
00299     #define NPPM_HIDEMENU (NPPMSG + 72)
00300     // BOOL NPPM_HIDEMENU(0, BOOL hideOrNot)
00301     // if hideOrNot is set as TRUE then menu will be hidden
00302     // otherwise it'll be shown.
00303     // return value : the old status value
00304 
00305     #define NPPM_ISMENUHIDDEN (NPPMSG + 73)
00306     // BOOL NPPM_ISMENUHIDDEN(0, 0)
00307     // returned value : TRUE if menu is hidden, otherwise FALSE
00308 
00309     #define NPPM_HIDESTATUSBAR (NPPMSG + 74)
00310     // BOOL NPPM_HIDESTATUSBAR(0, BOOL hideOrNot)
00311     // if hideOrNot is set as TRUE then STATUSBAR will be hidden
00312     // otherwise it'll be shown.
00313     // return value : the old status value
00314 
00315     #define NPPM_ISSTATUSBARHIDDEN (NPPMSG + 75)
00316     // BOOL NPPM_ISSTATUSBARHIDDEN(0, 0)
00317     // returned value : TRUE if STATUSBAR is hidden, otherwise FALSE
00318 
00319     #define NPPM_GETSHORTCUTBYCMDID (NPPMSG + 76)
00320     // BOOL NPPM_GETSHORTCUTBYCMDID(int cmdID, ShortcutKey *sk)
00321     // get your plugin command current mapped shortcut into sk via cmdID
00322     // You may need it after getting NPPN_READY notification
00323     // returned value : TRUE if this function call is successful and shorcut is enable, otherwise FALSE
00324 
00325 
00326 #define RUNCOMMAND_USER    (WM_USER + 3000)
00327     #define NPPM_GETFULLCURRENTPATH     (RUNCOMMAND_USER + FULL_CURRENT_PATH)
00328     #define NPPM_GETCURRENTDIRECTORY    (RUNCOMMAND_USER + CURRENT_DIRECTORY)
00329     #define NPPM_GETFILENAME            (RUNCOMMAND_USER + FILE_NAME)
00330     #define NPPM_GETNAMEPART            (RUNCOMMAND_USER + NAME_PART)
00331     #define NPPM_GETEXTPART             (RUNCOMMAND_USER + EXT_PART)
00332     #define NPPM_GETCURRENTWORD         (RUNCOMMAND_USER + CURRENT_WORD)
00333     #define NPPM_GETNPPDIRECTORY        (RUNCOMMAND_USER + NPP_DIRECTORY)
00334     // BOOL NPPM_GETXXXXXXXXXXXXXXXX(size_t strLen, TCHAR *str)
00335     // where str is the allocated TCHAR array,
00336     //       strLen is the allocated array size
00337     // The return value is TRUE when get generic_string operation success
00338     // Otherwise (allocated array size is too small) FALSE
00339 
00340     #define NPPM_GETCURRENTLINE         (RUNCOMMAND_USER + CURRENT_LINE)
00341     // INT NPPM_GETCURRENTLINE(0, 0)
00342     // return the caret current position line
00343     #define NPPM_GETCURRENTCOLUMN           (RUNCOMMAND_USER + CURRENT_COLUMN)
00344     // INT NPPM_GETCURRENTCOLUMN(0, 0)
00345     // return the caret current position column
00346 
00347         
00348         #define VAR_NOT_RECOGNIZED 0
00349         #define FULL_CURRENT_PATH 1
00350         #define CURRENT_DIRECTORY 2
00351         #define FILE_NAME 3
00352         #define NAME_PART 4
00353         #define EXT_PART 5
00354         #define CURRENT_WORD 6
00355         #define NPP_DIRECTORY 7
00356         #define CURRENT_LINE 8
00357         #define CURRENT_COLUMN 9
00358 
00359 
00360 // Notification code
00361 #define NPPN_FIRST 1000
00362     #define NPPN_READY (NPPN_FIRST + 1) // To notify plugins that all the procedures of launchment of notepad++ are done.
00363     //scnNotification->nmhdr.code = NPPN_READY;
00364     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00365     //scnNotification->nmhdr.idFrom = 0;
00366 
00367     #define NPPN_TBMODIFICATION (NPPN_FIRST + 2) // To notify plugins that toolbar icons can be registered
00368     //scnNotification->nmhdr.code = NPPN_TB_MODIFICATION;
00369     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00370     //scnNotification->nmhdr.idFrom = 0;
00371 
00372     #define NPPN_FILEBEFORECLOSE (NPPN_FIRST + 3) // To notify plugins that the current file is about to be closed
00373     //scnNotification->nmhdr.code = NPPN_FILEBEFORECLOSE;
00374     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00375     //scnNotification->nmhdr.idFrom = BufferID;
00376 
00377     #define NPPN_FILEOPENED (NPPN_FIRST + 4) // To notify plugins that the current file is just opened
00378     //scnNotification->nmhdr.code = NPPN_FILEOPENED;
00379     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00380     //scnNotification->nmhdr.idFrom = BufferID;
00381 
00382     #define NPPN_FILECLOSED (NPPN_FIRST + 5) // To notify plugins that the current file is just closed
00383     //scnNotification->nmhdr.code = NPPN_FILECLOSED;
00384     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00385     //scnNotification->nmhdr.idFrom = BufferID;
00386 
00387     #define NPPN_FILEBEFOREOPEN (NPPN_FIRST + 6) // To notify plugins that the current file is about to be opened
00388     //scnNotification->nmhdr.code = NPPN_FILEBEFOREOPEN;
00389     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00390     //scnNotification->nmhdr.idFrom = BufferID;
00391     
00392     #define NPPN_FILEBEFORESAVE (NPPN_FIRST + 7) // To notify plugins that the current file is about to be saved
00393     //scnNotification->nmhdr.code = NPPN_FILEBEFOREOPEN;
00394     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00395     //scnNotification->nmhdr.idFrom = BufferID;
00396     
00397     #define NPPN_FILESAVED (NPPN_FIRST + 8) // To notify plugins that the current file is just saved
00398     //scnNotification->nmhdr.code = NPPN_FILECLOSED;
00399     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00400     //scnNotification->nmhdr.idFrom = BufferID;
00401 
00402     #define NPPN_SHUTDOWN (NPPN_FIRST + 9) // To notify plugins that Notepad++ is about to be shutdowned.
00403     //scnNotification->nmhdr.code = NPPN_SHUTDOWN;
00404     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00405     //scnNotification->nmhdr.idFrom = 0;
00406 
00407     #define NPPN_BUFFERACTIVATED (NPPN_FIRST + 10) // To notify plugins that a buffer was activated (put to foreground).
00408     //scnNotification->nmhdr.code = NPPN_BUFFERACTIVATED;
00409     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00410     //scnNotification->nmhdr.idFrom = activatedBufferID;
00411 
00412     #define NPPN_LANGCHANGED (NPPN_FIRST + 11) // To notify plugins that the language in the current doc is just changed.
00413     //scnNotification->nmhdr.code = NPPN_LANGCHANGED;
00414     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00415     //scnNotification->nmhdr.idFrom = currentBufferID;
00416 
00417     #define NPPN_WORDSTYLESUPDATED (NPPN_FIRST + 12) // To notify plugins that user initiated a WordStyleDlg change.
00418     //scnNotification->nmhdr.code = NPPN_WORDSTYLESUPDATED;
00419     //scnNotification->nmhdr.hwndFrom = hwndNpp;
00420     //scnNotification->nmhdr.idFrom = currentBufferID;
00421 
00422     #define NPPN_SHORTCUTREMAPPED (NPPN_FIRST + 13) // To notify plugins that plugin command shortcut is remapped.
00423     //scnNotification->nmhdr.code = NPPN_SHORTCUTSREMAPPED;
00424     //scnNotification->nmhdr.hwndFrom = ShortcutKeyStructurePointer;
00425     //scnNotification->nmhdr.idFrom = cmdID;
00426         //where ShortcutKeyStructurePointer is pointer of struct ShortcutKey:
00427         //struct ShortcutKey {
00428         //  bool _isCtrl;
00429         //  bool _isAlt;
00430         //  bool _isShift;
00431         //  UCHAR _key;
00432         //};
00433 
00434 #endif //NOTEPAD_PLUS_MSGS_H
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines