summary refs log tree commit diff stats
path: root/tests/wingui.nim
blob: f4941bcc7d900533c1ae70a846120a2d094b10a2 (plain) (blame)
1
2
3
4
5
6
7
8
9
# test a Windows GUI application

import
  windows, shellapi, nb30, mmsystem, shfolder

#proc MessageBox(hWnd: int, lpText, lpCaption: CString, uType: uint): int
#  {stdcall, import: "MessageBox", header: "<windows.h>"}

discard MessageBox(0, "Hallo World!", "Nimrod GUI application", 0)