.NET utility suite for working with the rc format
RsrcUtilities consists of RsrcCore and RsrcArchitect
![](https://cdn.statically.io/img/private-user-images.githubusercontent.com/48759429/252052933-1e8b18e5-433d-425a-bbe3-ef15ec164e38.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjE0MDM4ODYsIm5iZiI6MTcyMTQwMzU4NiwicGF0aCI6Ii80ODc1OTQyOS8yNTIwNTI5MzMtMWU4YjE4ZTUtNDMzZC00MjVhLWJiZTMtZWYxNWVjMTY0ZTM4LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE5VDE1Mzk0NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTdlODE0NzU2MTBiNjEyYTU2YzY5M2EyMjIyYmVmMWNlZTdjNDY4MTZkMzA4MzhmMDgzOWFjZmZjODNlODA4YjEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ztVecbfM14wu1yjT8plTr310fIRsFqJRwUa1iTMf204)
-
Build, then reference
RsrcCore
-
Create a
Dialog
object
var dialog = new Dialog
{
Identifier = "IDD_ABOUTBOX",
Width = 100,
Height = 100
};
- Initialize the
Dialog
's root node to a control
dialog.Root = new TreeNode<Control>(new Panel
{
Rectangle = Rectangle.Empty,
HorizontalAlignment = Alignments.Fill,
VerticalAlignment = Alignments.Fill
});
- Add any controls you desire
dialog.Root.AddChild(new CheckBox()
{
Identifier = "IDC_EXAMPLE",
Caption = "Hello World!",
Rectangle = new Rectangle(0, 0, 80, 40),
HorizontalAlignment = Alignments.Center,
VerticalAlignment = Alignments.Center
});
- Serialize it to the format of your liking
new RcDialogSerializer().Serialize(new DefaultLayoutEngine().DoLayout(dialog), dialog);
- Generate additional information in the format of your liking
new CxxHeaderResourceGenerator().Generate(dialog.Root);
The creation of infrastructure to facilitate the design of rc
user interfaces without the hassles of legacy abandonware.
.NET dialog designer accompanying RsrcUtilities
Design dialogs with an interactive, simple experience
- Intuitive camera
- Click-drag
- Mouse-wheel zoom
- Customizable control renderer
- Test with your own visual styles
- Bundled:
- Windows 10
- Windows 11
- Smart selection system
- Reliably select the intended element
- Z-Ordering system
- Reorder controls in the dialog editor
- Multitasking
- Tabbed navigation system
- Powerful and dynamic inspector
- Provides context-aware information
- Always reactive
- Everything reacts to changes immediately with your input
- Smart positioning system
Freeform
allows freely positioning controlsGrid
snaps controls to grid pointsSnap
intelligently snaps controls based on other elements (useful for lists and fluid layouts)