We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c24cefd commit 912e694Copy full SHA for 912e694
src/Command.cpp
@@ -1,3 +1,4 @@
1
+#include "stdafx.h"
2
#include "Command.h"
3
4
Command::~Command(void)
src/CommandParser.cpp
#include "CommandParser.h"
CommandParser::CommandParser(void)
src/DockingFeature/NavigateTo.rc
@@ -1,7 +1,7 @@
// Microsoft Visual C++ generated resource script.
//
-#include "windows.h"
#include "resource.h"
+#include <windows.h>
5
/////////////////////////////////////////////////////////////////////////////
6
// English (United States) resources
7
@@ -20,11 +20,11 @@ EXSTYLE WS_EX_TOPMOST | WS_EX_COMPOSITED
20
CAPTION "Navigate To"
21
FONT 8, "MS Shell Dlg", 0, 0, 0x0
22
BEGIN
23
- EDITTEXT ID_COMMAND_EDIT,8,13,361,12
24
DEFPUSHBUTTON "&>",IDOK,373,12,20,14,BS_ICON | BS_NOTIFY
25
- LISTBOX IDC_RESULTS_LIST,6,44,387,124,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
26
LTEXT "Results:",ID_UGO_RESULTS_LABEL,8,33,30,8
27
LTEXT "",ID_UGO_RESULTS_CNT_LABEL,37,33,8,8
+ CONTROL "",IDC_RESULTS_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_ALIGNLEFT | WS_TABSTOP,7,44,385,123,WS_EX_STATICEDGE
+ COMBOBOX ID_COMMAND_EDIT,9,12,359,30,CBS_DROPDOWN | CBS_AUTOHSCROLL | WS_VSCROLL | WS_TABSTOP
28
END
29
30
src/DockingFeature/StaticDialog.cpp
@@ -15,6 +15,7 @@
15
//along with this program; if not, write to the Free Software
16
//Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17
18
19
#include <stdio.h>
#include "StaticDialog.h"
src/DockingFeature/StaticDialog.h
@@ -22,19 +22,19 @@
enum class PosAlign { left, right, top, bottom };
-struct DLGTEMPLATEEX {
- WORD dlgVer;
- WORD signature;
- DWORD helpID;
- DWORD exStyle;
- DWORD style;
31
- WORD cDlgItems;
32
- short x;
33
- short y;
34
- short cx;
35
- short cy;
36
- // The structure has more fields but are variable length
37
-} ;
+//struct DLGTEMPLATEEX {
+// WORD dlgVer;
+// WORD signature;
+// DWORD helpID;
+// DWORD exStyle;
+// DWORD style;
+// WORD cDlgItems;
+// short x;
+// short y;
+// short cx;
+// short cy;
+// // The structure has more fields but are variable length
+//} ;
38
39
class StaticDialog : public Window
40
{
src/NppPlugin.cpp
#include "PluginDefinition.h"
#include <shlwapi.h>
#include "DockingFeature/NavigateToDlg.h"
src/PluginDefinition.cpp
@@ -16,6 +16,7 @@
#include "menuCmdID.h"
vs.proj/NppPluginNavigateTo.vcxproj
@@ -36,6 +36,7 @@
<ClInclude Include="..\src\PluginInterface.h" />
<ClInclude Include="..\src\resource.h" />
<ClInclude Include="..\src\Scintilla.h" />
+ <ClInclude Include="stdafx.h" />
</ItemGroup>
41
<ItemGroup>
42
<ClCompile Include="..\src\Command.cpp" />
@@ -117,13 +118,13 @@
117
118
</PropertyGroup>
119
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
120
<ClCompile>
- <PrecompiledHeader>NotUsing</PrecompiledHeader>
121
- <WarningLevel>Level4</WarningLevel>
+ <PrecompiledHeader>Create</PrecompiledHeader>
122
+ <WarningLevel>Level3</WarningLevel>
123
<Optimization>Disabled</Optimization>
124
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;NPPPLUGINDEMO_EXPORTS;_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_WARNINGS;_CRT_NON_CONFORMING_SWPRINTFS=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
125
<AdditionalIncludeDirectories>
126
</AdditionalIncludeDirectories>
- <TreatWarningAsError>true</TreatWarningAsError>
127
+ <TreatWarningAsError>false</TreatWarningAsError>
128
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
129
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
130
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
vs.proj/NppPluginNavigateTo.vcxproj.filters
@@ -27,6 +27,7 @@
<ClInclude Include="..\src\catch.hpp" />
<ResourceCompile Include="..\src\DockingFeature\NavigateTo.rc" />
vs.proj/stdafx.h
@@ -0,0 +1,27 @@
+// stdafx.h : include file for standard system include files,
+// or project specific include files that are used frequently, but
+// are changed infrequently
+//
+
+#if !defined(AFX_STDAFX_H__D09837DF_FF3A_423D_AEE2_02AB427BFF92__INCLUDED_)
+#define AFX_STDAFX_H__D09837DF_FF3A_423D_AEE2_02AB427BFF92__INCLUDED_
8
9
+#if _MSC_VER > 1000
10
+#pragma once
11
+#endif // _MSC_VER > 1000
12
13
+#define VC_EXTRALEAN // Exclude rarely-used stuff from Windows headers
14
+#include <afxwin.h> // MFC core and standard components
+#include <afxext.h> // MFC extensions
+#include <afxdisp.h> // MFC Automation classes
+#include <afxdtctl.h> // MFC support for Internet Explorer 4 Common Controls
+#ifndef _AFX_NO_AFXCMN_SUPPORT
+#include <afxcmn.h> // MFC support for Windows Common Controls
+#endif // _AFX_NO_AFXCMN_SUPPORT
+//{{AFX_INSERT_LOCATION}}
+// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
+#endif // !defined(AFX_STDAFX_H__D09837DF_FF3A_423D_AEE2_02AB427BFF92__INCLUDED_)
0 commit comments