parent
95a6e01ea8
commit
8468e2af3a
8 changed files with 28207 additions and 0 deletions
9
examples/wingui.nim
Normal file
9
examples/wingui.nim
Normal file
|
|
@ -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)
|
||||
Loading…
Add table
Add a link
Reference in a new issue