Something went wrong. Try again.
A simple, small calculator placed discreetly near the Windows Taskbar or anywhere on the screen taskbar-calculator.marcomaroni.it
Something went wrong. Try again.
taskbar-calculator stdafx.h
1.5 kB · 55 lines
C
at main
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556// stdafx.h : include file for standard system include files,// or project specific include files that are used frequently,// but are changed infrequently
#pragma once
#ifndef STRICT#define STRICT#endif
#include "targetver.h"
#define _CRT_SECURE_CPP_OVERLOAD_STANDARD_NAMES 1 // Enable template overloads of standard CRT functions#define WIN32_LEAN_AND_MEAN // Exclude rarely-used stuff from Windows headers#define VC_EXTRALEAN
// Windows header files#include <Windows.h>#include <WindowsX.h>#include <ShlObj.h>#include <shellapi.h>
// Visual styles#include <UxTheme.h>#include <VsSym32.h>#pragma comment(lib, "UxTheme.lib")
// Common controls (tray, SysLink in About dialog)#include <CommCtrl.h>#pragma comment(lib, "comctl32.lib")
// ATL definitions and header files#define _ATL_APARTMENT_THREADED#define _ATL_NO_AUTOMATIC_NAMESPACE
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS // some CString constructors will be explicit
// turns off ATL's hiding of some common and often safely ignored warning messages#define _ATL_ALL_WARNINGS
#include <AtlBase.h>#include <AtlWin.h>#include <AtlCom.h>#include <AtlCtl.h>#include <AtlStr.h>#include <AtlColl.h>#include <AtlPath.h>
// Additional headers#include "resource.h"
#include "Calculator.h"
// Enable visual styles (Common Controls v6.0)#pragma comment(linker,"/manifestdependency:\"type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"")