hey, im new to writing with the win32 api, and i need help on executing code after a button is pressed...here's basically my entire code: Code: #include "stdafx.h" char Txt[] = ""; LRESULT CALLBACK WndProc (HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam) { HDC hdc; PAINTSTRUCT ps; switch(msg) { case WM_CLOSE: DestroyWindow(hWnd); break; case WM_DESTROY: PostQuitMessage(0); break; case WM_PAINT: hdc ...