.NET utility suite for working with the rc format
RsrcUtilities consists of RsrcCore and RsrcArchitect
-
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)