https://github.com/applehatdot/win32aboutdialog
Example About Dialog written in C++ (winAPI)
https://github.com/applehatdot/win32aboutdialog
about-dialog cpp winapi-application windows
Last synced: 11 months ago
JSON representation
Example About Dialog written in C++ (winAPI)
- Host: GitHub
- URL: https://github.com/applehatdot/win32aboutdialog
- Owner: ApplehatDot
- License: mit
- Created: 2024-11-08T17:24:10.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-01-20T14:15:44.000Z (about 1 year ago)
- Last Synced: 2025-02-05T04:09:54.170Z (about 1 year ago)
- Topics: about-dialog, cpp, winapi-application, windows
- Language: C++
- Homepage:
- Size: 85.9 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Win32AboutDialog
Example About Dialog written in C++ (winAPI; win32) for whatever you wish to use it on

__AboutDiag.cpp__ _(*.h; *.rc)_ are the About Dialog itself *(Never thought of that!)*
**run.c** runs the command from the DLL
the banner must be a bitmap at **500 x 100 [pixels]** size.
_[Why Bitmap? WinAPI has the commands to do it, not so complicated compared to other ones.]_
~~**what needs to be fixed?** - Let the dialog display the whole `wchar_t` and not the 'A' (a bug.)~~ fixed
# Compile
using MinGW, compile both things using these commands:
```batch
windres AboutDiag.rc -O coff -o AboutDiag.res
g++ -shared -o AboutDiag.dll AboutDiag.cpp AboutDiag.res -lgdi32
gcc -o run.exe run.c
```