https://github.com/justjavac/deno_ffi_win32_messagebox
https://github.com/justjavac/deno_ffi_win32_messagebox
deno
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/justjavac/deno_ffi_win32_messagebox
- Owner: justjavac
- Created: 2021-12-17T08:34:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-17T15:24:39.000Z (over 4 years ago)
- Last Synced: 2025-04-07T18:03:50.556Z (about 1 year ago)
- Topics: deno
- Language: TypeScript
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# deno_ffi_win32_messagebox
Displays a modal dialog box that contains a system icon, a set of buttons, and a
brief application-specific message, such as status or error information. The
message box returns an integer value that indicates which button the user
clicked.
Run:
```bash
deno run --allow-ffi --unstable https://cdn.jsdelivr.net/gh/justjavac/deno_ffi_win32_messagebox@main/mod.ts
```
Or run local:
```bash
git clone git@github.com:justjavac/deno_ffi_win32_messagebox.git
cd deno_ffi_win32_messagebox
deno run --allow-ffi --unstable mod.ts
```
---
See:
```cpp
// C++
int MessageBox(
[in, optional] HWND hWnd,
[in, optional] LPCTSTR lpText,
[in, optional] LPCTSTR lpCaption,
[in] UINT uType
);
```