Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / n00b question-using resource files

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. n00b question-using resource files
#4229
Posted by: 2004-05-26 08:38:09
Ok, so this may be a dumb question, here goes:

I have made a GUI with Dialog Edit (I am on windows and am using Dev-C++). I save it and it made the header file and the .wsx file. Now, I want to use it in my program. I am building off of the included template (new->project->GUI). I included the header file (under the resources section) that I made with Dialog Editor. I have no idea where to go from here.

I have tried to find tutorials, forum threads, anything. Nothing.

Any help would be greatly appreciated! Thanks in advance :)
Message2. Re: n00b question-using resource files
#4236
Posted by: upCASE 2004-05-26 15:06:41
Hi!
"wsx file", I suppose you mean wxr file. wxr is the "old" wxWidgets resource format (I guess it never really was popular). The new one is XRC, currently not included in the main distribution. Take a look at the /contrib hierarchy of you wxWidgets distribution and you'll find it there as well as an example.
With the upcoming 2.6.0 release XRC will be standard and moved to the regular lib I guess.
I myself don't use resources. Check out wxGlade for a cool tool to generated XRC files as well as C++ and Python source code.
upCASE
-----------------------------------
If it was hard to write, it should be hard to read!- Do. Or do not. There is no try!
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2024-12-11  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0