diff options
author | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-09 18:28:11 +0100 |
---|---|---|
committer | Grzegorz Adam Hankiewicz <gradha@imap.cc> | 2013-12-09 18:28:11 +0100 |
commit | 8468e2af3a841cbb0c6e791cd0cd0bf50a4715df (patch) | |
tree | 9072173232ec63ab11a697c3b37b5a6049bf4949 /examples/wingui.nim | |
parent | 95a6e01ea8f7409e205455c42a3db9b399b3e353 (diff) | |
download | Nim-8468e2af3a841cbb0c6e791cd0cd0bf50a4715df.tar.gz |
Revert "removed windows". Refs #698.
This reverts commit 5ab3d661440f42f0dc74970ec73a051dd2e2bfb5.
Diffstat (limited to 'examples/wingui.nim')
-rw-r--r-- | examples/wingui.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/examples/wingui.nim b/examples/wingui.nim new file mode 100644 index 000000000..2c2c387bb --- /dev/null +++ b/examples/wingui.nim @@ -0,0 +1,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, "Hello World!", "Nimrod GUI Application", 0) |