home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BUG 2
/
BUGCD1997_01.iso
/
aplikac
/
winedit
/
weextsrc.zi_
/
WE_EXTRC.H
< prev
Wrap
Text File
|
1994-10-22
|
8KB
|
184 lines
/*
* all extension commands fall in this range
*
*/
#define WE_CMDFIRST WM_USER + 100
#define WE_CMDLAST WM_USER + 999
/*
* all user-defined command IDs must be in this range
*
*/
#define WE_EXTFIRST WM_USER + 500
#define WE_EXTLAST WE_CMDLAST
/*
*
* W M _ C O M M A N D I D V A L U E S
*
*
* Sample use shown in: SAMPLES\TEMPLATE\WE_EXT.RC
*
*
* You can define menu items to use
* the following internal WinEdit command IDs. Your DLL
* will NOT be called to handle these events. You can
* also use SendMessage() or PostMessage() to send these
* command IDs as the wParam value in a WM_COMMAND message
* to WinEdit.
*
*/
#define IDM_FILENEW 5001
#define IDM_FILEOPEN 5002
#define IDM_FILEMERGE 5003
#define IDM_FILELIST 5004
#define IDM_FILEDIFF 5005
#define IDM_FILESAVE 5006
#define IDM_FILESAVEAS 5007
#define IDM_FILESAVEALL 5008
#define IDM_FILEPRINT 5009
#define IDM_FILEPRINTERSETUP 5010
#define IDM_FILEPAGESETUP 5011
#define IDM_FILESETPREF 5012
#define IDM_FILEKEYS 5013
#define IDM_FILEEXIT 5014
#define IDM_EDITUNDO 5015
#define IDM_EDITREDO 5016
#define IDM_EDITCUT 5017
#define IDM_EDITCOPY 5018
#define IDM_EDITPASTE 5019
#define IDM_EDITCLEAR 5020
#define IDM_EDITUP 5021
#define IDM_EDITDOWN 5022
#define IDM_EDITLEFT 5023
#define IDM_EDITRIGHT 5024
#define IDM_EDITHOME 5025
#define IDM_EDITEND 5026
#define IDM_EDITPAGEUP 5027
#define IDM_EDITPAGEDOWN 5028
#define IDM_EDITWORDLEFT 5029
#define IDM_EDITWORDRIGHT 5030
#define IDM_EDITTOPOFFILE 5031
#define IDM_EDITENDOFFILE 5032
#define IDM_EDITTAB 5033
#define IDM_EDITBACKTAB 5034
#define IDM_EDITSELECTALL 5035
#define IDM_EDITSTARTSELECTION 5036
#define IDM_EDITENDSELECTION 5037
#define IDM_EDITSELECTLEFT 5038
#define IDM_EDITSELECTRIGHT 5039
#define IDM_EDITSELECTUP 5040
#define IDM_EDITSELECTDOWN 5041
#define IDM_EDITSELECTHOME 5042
#define IDM_EDITSELECTEND 5043
#define IDM_EDITSELECTPAGEUP 5044
#define IDM_EDITSELECTPAGEDOWN 5045
#define IDM_EDITSELECTWORDLEFT 5046
#define IDM_EDITSELECTWORDRIGHT 5047
#define IDM_EDITSELECTTOPOFFILE 5048
#define IDM_EDITSELECTENDOFFILE 5049
#define IDM_EDITTOGGLEWRAP 5050
#define IDM_EDITTOGGLEINS 5051
#define IDM_EDITTOGGLEAUTOINDENT 5052
#define IDM_EDITBACKSPACE 5053
#define IDM_EDITCOPYLINE 5054
#define IDM_EDITCUTLINE 5055
#define IDM_EDITGOTOLINE 5056
#define IDM_EDITGOTOCOLUMN 5057
#define IDM_EDITSETCOLUMNBLOCK 5058
#define IDM_SEARCHFIND 5059
#define IDM_SEARCHNEXT 5060
#define IDM_SEARCHCHANGE 5061
#define IDM_SEARCHBRACE 5062
#define IDM_SEARCHNEXTERR 5063
#define IDM_SEARCHPREVERR 5064
#define IDM_SEARCHVIEWEDOUT 5065
#define IDM_MACROSTARTRECORD 5066
#define IDM_COMPILE 5067
#define IDM_MAKE 5068
#define IDM_REBUILD 5069
#define IDM_DEBUG 5070
#define IDM_EXECUTE 5071
#define IDM_MAKECONFIG 5072
#define IDM_WINDOWNEW 5073
#define IDM_WINDOWNEXT 5074
#define IDM_WINDOWMIN 5075
#define IDM_WINDOWMAX 5076
#define IDM_WINDOWRESTORE 5077
#define IDM_WINDOWCLOSE 5078
#define IDM_WINDOWTILE 5079
#define IDM_WINDOWCASCADE 5080
#define IDM_WINDOWICONS 5081
#define IDM_WINDOWCLOSEALL 5082
#define IDM_HELPINDEX 5083
#define IDM_HELPKEYBOARD 5084
#define IDM_HELPCOMMANDS 5085
#define IDM_HELPPROCEDURES 5086
#define IDM_HELPHELP 5087
#define IDM_HELPKEYWORDS 5088
#define IDM_HELPABOUT 5089
#define IDM_TOOLBAR 5206
/*
* Request and Notifications message IDs sent to your DLL by
* WinEdit. Check the sample file WE_EXT.C and the
* documentation for details on the responses your DLL is
* expected to return to WinEdit.
*
*/
#define WEN_LOADMENU WE_CMDFIRST + 200
#define WEN_GETWINDOWMENU WE_CMDFIRST + 201
#define WEN_GETMACROMENU WE_CMDFIRST + 202
#define WEN_LOADSHORTMENU WE_CMDFIRST + 203
#define WEN_END WE_CMDFIRST + 204
#define WEN_LOADACCELS WE_CMDFIRST + 205
#define WEN_INITMENU WE_CMDFIRST + 206
#define WEN_MACROSTARTPLAY WE_CMDFIRST + 207
#define WEN_MACROSTOPPLAY WE_CMDFIRST + 208
#define WEN_MACROSTARTRECORD WE_CMDFIRST + 209
#define WEN_MACROSTOPRECORD WE_CMDFIRST + 210
#define WEN_RBUTTONDOWN WE_CMDFIRST + 211
#define WEN_RBUTTONDOWNC WE_CMDFIRST + 212
#define WEN_RBUTTONDOWNS WE_CMDFIRST + 213
#define WEN_RBUTTONDOWNSC WE_CMDFIRST + 214
/* icon ID values you can use with edAddButton and edDeleteButton */
#define IDLEXICON 6 /* main icon */
#define IDNOTE 2 /* icon for child windows */
#define IDONEUP 4 /* one-up print icon */
#define IDTWOUP 5 /* two-up print icon */
#define OPEN 48 /* file open */
#define SAVE 49 /* file save */
#define PRINT 50 /* file print */
#define FIND 51 /* find */
#define FINDNEXT 52 /* find next */
#define CHANGE 53 /* change */
#define NEXT 54 /* next error */
#define PREV 55 /* prev error */
#define COMPILE 56 /* compile */
#define MAKE 57 /* make */
#define REBUILD 58 /* rebuild */
#define DEBUGICON 59 /* debug */
#define EXECUTE 60 /* execute */
#define CUT 61 /* cut */
#define COPY 62 /* copy */
#define PASTE 63 /* paste */
#define HELPKEY 64 /* key word help */
#define UNDO 65 /* undo */
#define REDO 66 /* redo */
#define FILELIST 67 /* filelist */