Skip to content

Instantly share code, notes, and snippets.

Avatar

FriedelVerpoort

View GitHub Profile
@FriedelVerpoort
FriedelVerpoort / messageloop.cpp
Created Oct 4, 2018
Basic windows message-loop
View messageloop.cpp
#include <iostream>
#include <string>
LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam);
int windowWidth{300}, windowHeight{300};
int main()
{
const uint32_t titleSize{500};