User forums > Help
How to add a standalone panel(dialog) in wxSmith
ollydbg:
I would like to create a custom dialog, similar like many option dialogs in Codecompletion plugins.
Do I just create a xrc file, and then open/edit it with wxsmith?
Thanks.
oBFusCATed:
Why don't you use wxsmith to create the dialog and skip the XRC part?
MortenMacFly:
--- Quote from: ollydbg on December 30, 2011, 10:46:10 am ---Do I just create a xrc file, and then open/edit it with wxsmith?
--- End quote ---
When creating a wxSmith dialog there is an option to (also) create a XRC file. I guess that's what you want.
ollydbg:
--- Quote from: MortenMacFly on December 30, 2011, 11:09:09 am ---When creating a wxSmith dialog there is an option to (also) create a XRC file. I guess that's what you want.
--- End quote ---
Thanks OBF and morten. But I have no idea how to let wxsmith to create an empty dialog for me, I have look at the items panel (Dialogs) of wxsmith, but all were specific dialogs(ColorDialog, DirDialog)..
So, how to create an empty dialog?
EDIT:
answer my self:
Oh, I found it under the wxSmith menu.
Thanks.
Radek:
It's one of reasons why I have switched from wxSmith to wxFormBuilder. I haven't found how can I create more than one "top level" resource in my XRC file using wxSmith. Once I created a top level window, everything needed to be a child of this window. Create a set of popup menus? Forget it. Create a set of dialogs along with your main window? Forget it. wxFormBuilder allows more than one top level resource. Moreover, wxFormBuilder can create only a XRC file - well, it creates a code, too, and you can paste parts of the code in your own code.
I am curious what I have missed. I am a "XRC user", too.
Navigation
[0] Message Index
[#] Next page
Go to full version