I built a native Windows Todo app in pure C (278 KB, no frameworks)
A modern, native Windows Todo application built with C and Win32 API. This project demonstrates advanced Windows GUI programming and system integration capabilities.
- π Create, edit, and delete todo items
- β Mark tasks as complete
- πΎ Persistent storage in AppData
- π System tray integration (minimize to tray)
- π Native Windows look and feel
- Written in pure C
- Uses Win32 API for GUI
- System tray integration
The application stores todos in a binary file:
- Location:
%APPDATA%TodoApptodos.dat - Format: Binary file containing the entire todo list
- Capacity: Maximum 100 todos
- Windows OS
- MinGW-w64 (GCC compiler)
- Windows SDK (included with MinGW)
-
Install MinGW-w64:
- Download from MinGW-w64 website
- Or use MSYS2
- Add MinGW’s bin directory to your system PATH
-
Clone the repository:
git clone https://github.com/Efeckc17/simple-todo-c.git cd simple-todo-c -
Build the project:
.build.bat
- Run
bin/todo.exe - Use the interface to:
- Add new todos with the “Add” button
- Edit existing todos by selecting and clicking “Edit”
- Delete todos with the “Delete” button
- Mark todos as complete with the “Complete” button
- Set priority levels for each todo
.
βββ src/
β βββ main.c # Application entry point
β βββ todo.c # Todo management logic
β βββ todo.h # Todo data structures and declarations
β βββ gui.c # GUI implementation
βββ bin/ # Compiled executable
βββ build.bat # Build script
βββ README.md # This file
The project uses the following key components:
- Win32 API: For window management and GUI
- Common Controls: For modern UI elements
- UXTheme: For Windows visual styles
- File I/O: For data persistence
This project is licensed under the MIT License – see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.
Toxi360 – @Efeckc17
Project Link: https://github.com/Efeckc17/simple-todo-c
Source: github.com




Post Comment