WinAPI 콤보박스(ComboBox)와 에디트컨트롤(Edit Control) 예제 전체 소스 #include LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);HINSTANCE hInst; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow){HWND hwnd;MSG msg;WNDCLASS WndClass;hInst = hInstance;WndClass.style = CS_HREDRAW | CS_VREDRAW;WndClass.lpfnWndProc = WndProc;WndClass.cbClsExtr..
Win API를 통한 사칙연산기 메뉴바 다이얼로그 전체 소스 #include #include #include "resource.h" LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);BOOL CALLBACK Dlg_Proc(HWND hDlg, UINT iMsg, WPARAM wParam, LPARAM lParam);HINSTANCE hInst; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow){HWND hwnd;MSG msg;WNDCLASS WndClass;hInst = hInstance;Wnd..
1차적으로 만든 계산기 소스 코드 다이얼로그 메뉴바 전체 소스 코드#include #include #include "resource.h" LRESULT CALLBACK WndProc(HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam);BOOL CALLBACK Dlg_Proc(HWND hDlg, UINT iMsg,WPARAM wParam, LPARAM lParam);HINSTANCE hInst; int a = NULL, b = NULL, result = 0, count = NULL;char ch; int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdSho..