Skip to content

Instantly share code, notes, and snippets.

#include <windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
HWND hWndMain;
LPCTSTR lpszClass = TEXT("SendUserMes");
UINT nMsg;
#include <windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
HWND hWndMain;
LPCTSTR lpszClass = TEXT("UserMes");
UINT nMsg;
#include <windows.h>
LRESULT CALLBACK WndProc(HWND hWnd, UINT uMsg, WPARAM WParam, LPARAM lParam);
LRESULT CALLBACK ChildProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
HINSTANCE g_hInst;
HWND hWndMain;
RECT Mainrt;
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR nCmdLine, int nCmdShow) {
LPCTSTR lpszClassName = TEXT("클래스");
#include <windows.h>
#include "resource.h"
#include "resource1.h"
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
LPCTSTR lpszClass = TEXT("SimplePaint3");
HWND hMDlg;
HWND hWnd;
// Microsoft Visual C++ generated resource script.
//
#include "resource1.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++에서 생성한 포함 파일입니다.
// task.rc에서 사용되고 있습니다.
//
#define IDD_DIALOG1 101
#define IDC_WIDTH_1 1001
#define IDC_WIDTH_3 1002
#define IDC_WIDTH_5 1003
#define IDC_COLOR_BLACK 1010
#define IDC_COLOR_RED 1011
#include <windows.h>
#include "resource.h"
#include "resource1.h"
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
LPCTSTR lpszClass = TEXT("SimplePaint2");
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance
    , LPSTR lpszCmdParam, int nCmdShow) {
#include <windows.h>
LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);
HINSTANCE g_hInst;
LPCTSTR lpszClass = TEXT("SimplePaint");
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance
    , LPSTR lpszCmdParam, int nCmdShow) {
// Microsoft Visual C++ generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winres.h"
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++에서 생성한 포함 파일입니다.
// Menu.rc에서 사용되고 있습니다.
//
#define IDR_MENU1 101
#define IDR_ACCELERATOR1 103
#define ID_LINE_STRAIGHT 40001
#define ID_LINE_CURVE 40002
#define ID_RECTANGLE_CIRCLE 40003
#define ID_RECTANGLE_SQUARE 40004