This is such a noobie question but one that I've never been able to fully gleen an answer from anywehere.
I use DialogBlocks to generate my dialogs and then Visual Studio on Windows and XCode on a Mac to code and build, and so far I don't use the XRC files.
But would that be a preferred way to go, generate the dialogs in XRC files etc. I've not been able to find (probably under my nose) any pro's/cons on using/not using XRC files!
Some learned opinions would help me.
Thanks in advance, Richard
XRC - Yeah or Nay? Topic is solved
I've been using XRC files since I found out about them (+3 years ago). Its been a great idea ever since. Any time you can use a MVC paradigm, it probably is a good move. There are several advantages to decoupling code from UI. I'm not a teacher, so you can look it up. But yes I use XRCed to build GUIs on Mac, Linux, and Win32.
Simply, I recommend it.
Simply, I recommend it.
-
- Filthy Rich wx Solver
- Posts: 234
- Joined: Mon May 08, 2006 12:31 pm
- Location: Krakow, Poland
The most important advangtage of XRCs is that you don't need to recompile your code every time you make a little change in the GUI. You actually don't need compiler at all to edit GUI contained in a XRC. You can insert a new element and preview it instantly. The major disadvantage is that XRCs may not be as flexible as hardcoding GUI elements.
VC++ 2005 / Windows XP / wxWidgets 2.8.9