summary refs log blame commit diff stats
path: root/examples/wingui.nim
blob: 2c2c387bbe15e1f51337cf77ebd6d815662730b7 (plain) (tree)
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, "Hello World!", "Nimrod GUI Application", 0)