This repository demonstrates:
- MFC custom controls
- Custom MFC button control
- Owner-drawn MFC UI controls
- Windows desktop UI controls using MFC
Preview of upcoming customizable MFC UI controls from Nxt7Labs — a lightweight demo showcasing modern native Windows components.
A lightweight preview of Nxt7Labs’ upcoming Windows UI control library. This demo showcases the first custom MFC control we’re releasing — a fully customizable NxtButton designed for modern Windows desktop applications.
This repo is not the complete toolkit — this initial release includes only the custom Button control, giving you a taste of the upcoming suite of controls.
It serves to:
- Demonstrate the design quality and implementation style
- Give developers a glimpse of upcoming MFC and C++ UI components
- Provide sample patterns you can use in your own projects
- Build transparency and trust before paid releases
- Collect feedback from the community
Full commercial versions will include:
- More controls
- Full customization APIs
- High-DPI support
- Documentation
- DLL/LIB builds
- Extended features and themes
- C++
- MFC
- Windows x64 / GDI / GDI+
- Visual Studio 2019 / 2022
1 Clone the repo 2 Open NxtControlsDemo.sln in Visual Studio 3 Build and run
- Customizable background color
- Support for icons and background images
- Hover, pressed, and disabled states
- Smooth, modern rendering
- Add a normal MFC button control to your dialog or form view and create a variable as show below.
- Set the Owner Draw property if Button as TRUE
- Must copy Imgs, NxControls, NxtControlsLibd.dll and NxtControlsLib.dll as shown below.
- Make project settings changes as below.
- Make following changes in the dialog or formview header file.
- Make the following initialization as below in the constructor of dialog or formview.