Do you have some directions on the WinAPI in Nim?
I felt a bit overwhelmed with the whole wrapping thing.
I felt a bit overwhelmed with the whole wrapping thing.
hWndMain = CreateWindowEx(
WS_EX_TOPMOST, # Optional window styles.
CLASS_NAME, # Window class
WINDOWNAME, # Window text
windowStyles, # Window style
# Size and position
centerX, centerY,
APP_WIDTH, APP_HEIGHT,
cast[HWND](nil), # Parent window
cast[HMENU](nil), # Menu
hInstance, # Instance handle
cast[LPVOID](nil) # Additional application data
);