wxSkin - release 0.9 alpha

Do you like to promote your wxWidgets based application or component!? Post it here and let's see what the critics have to say. Also, if you found that ONE wx component the world needs to know about, put it here for future reference.

What do you think about wxSkin?

Great thing!
18
64%
Nice, but needs some updates...
9
32%
Quite ok.
1
4%
It's a pile of cr*p
0
No votes
 
Total votes: 28

Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

garrizano wrote:I compiled my project with source files wxSkin and when I run I always get an error that says: "No handlers found for image type".
What have I done wrong?
I bet you need wxInitAllImageHandlers()
"Keyboard not detected. Press F1 to continue"
-- Windows
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

garrizano wrote:I compiled my project with source files wxSkin and when I run I always get an error that says: "No handlers found for image type".
What have I done wrong?
Try using wxInitAllImageHandlers() before calling any wxSkin related code.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

Thank you for your prompt response, but how I do that?. I'm new to this.
Vive como si fuera el ultimo dia de tu vida.
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

I'm trying to run the example and that command is already there. What is the problem?

What exactly the problem says:

Image
Vive como si fuera el ultimo dia de tu vida.
Auria
Site Admin
Site Admin
Posts: 6695
Joined: Thu Sep 28, 2006 12:23 am
Contact:

Post by Auria »

garrizano wrote:Thank you for your prompt response, but how I do that?. I'm new to this.
I'm sorry, but if you don't know how to invoke a function, then you're definitely not ready to do wxWidgets.
"Keyboard not detected. Press F1 to continue"
-- Windows
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

I know how to invoke a function, but was not sure what is where invoke the function.
Yes I am starting with wxWidgets, and I would like to know more about this.

In the end, gives me the error when you run it, and I get the error window that I showed in the answer above. As mentioned, what I'm trying to run is the example that comes with the library wxSkin, the basic example.

Thanks.
Vive como si fuera el ultimo dia de tu vida.
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

Hi!

Call wxInitAllImageHandlers() in your OnInit() method.

As for the messagebox, what happens if you click cancel?
Maybe my example images are not o.k., maybe something else changed, can't tell.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

Hello.
When I click the cancel button a window appears telling me the problem of image handlers, but does not charge any window.

I have another question, can I resize a window when using wxSkin?
Vive como si fuera el ultimo dia de tu vida.
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

garrizano wrote:I have another question, can I resize a window when using wxSkin?
There is only limited support for that using wxSkinFrame in contrast to wxSkinSimpleFrame (which can not be resized). It isn't perfect, but may work. Simply try it out :-)
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

But first I must make to run the example.
Still do not know what is wrong with the handlers of the images.

Here I put more information about my system:
OS: Windows XP Pro
wxWidgets: 2.9.1
Build: Static non-Unicode monolitic.

I do not know if there will be a problem with this configuration.
Vive como si fuera el ultimo dia de tu vida.
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

garrizano wrote:Still do not know what is wrong with the handlers of the images.
...
I do not know if there will be a problem with this configuration.
Maybe it's because you use 2.9.1. I created wxSkin using the 2.8 release. Maybe I find some time and compile it with a newer version to see what the error might be.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

I would appreciate very much to do so.
Also see what the problem with CMake.
I can not compile either.
Vive como si fuera el ultimo dia de tu vida.
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

Hi!.

I was able to run the example.
The problem was not the library, but the archive of images of skin.
Do not know why not load the images from the zip file.
What I did was unzip it in a folder and call directly the xml file.
Sorry for taking so much trouble.
Now the problems I see are:
-The maximize button.
"When maximizing the window, not maximized fully.
But in general, is an excellent work that you did.
Vive como si fuera el ultimo dia de tu vida.
upCASE
Moderator
Moderator
Posts: 3176
Joined: Mon Aug 30, 2004 6:55 am
Location: Germany, Cologne

Post by upCASE »

Hi!
Glad you could make it work.
I should update the code to use 2.9 properly as some things have changed. Maybe I'll find some time for that soon. There's still much to do for wxSkin and I didn't update the code for more than a year....

Anyway: Resizable frames may or may not work. This is somewhat unfinished, yet I decided to leave support for that in the library as is, as I knew people might ask for it. I had problems with that from the start, especially on GTK platforms.

However, glad it works now. Using CMAKE was a big mistake in the end. Have fun using wxSkin.
OS: OpenSuSE, Ubuntu, Win XP Pro
wx: svn
Compiler: gcc 4.5.1, VC 2008, eVC 4

"If it was hard to write it should be hard to read..." - the unknown coder
"Try not! Do. Or do not. There is no try." - Yoda
garrizano
Earned a small fee
Earned a small fee
Posts: 10
Joined: Fri Apr 23, 2010 3:31 am
Location: El Salvador
Contact:

Post by garrizano »

There are ways to solve the problem of space left when the window is maximized?
Vive como si fuera el ultimo dia de tu vida.
Post Reply