Page 1 of 2
CustomButtons/Checkbox/Optionbox/Container/Text/Image-Gadget
Posted: Sun May 30, 2004 5:36 pm
by GPI
Posted: Mon May 31, 2004 9:04 pm
by GPI
Nobody test this code?
btw: It seems, that some systems (some win98se-versions) can crash at the end of the program, when the window is not closed with closewindow().
Posted: Mon May 31, 2004 9:22 pm
by fweil
GPI,
Sorry ... I loaded it but did not tell you. No bug for me.
It seems to run well.
If you have some close window / program issue maybe you can add (windows only) after a closewindow() :
TerminateProcess_(GetCurrentProcess_(), 0)
Rgrds
Posted: Mon May 31, 2004 9:25 pm
by Paul
It's much easier to use PVGadgets that come with PureVision to create custom buttons
Example:
http://www.reelmedia.org/test/buttons.zip
Very little code and not complicated, giving professional results.
Posted: Mon May 31, 2004 9:39 pm
by Dare2
Hi GPI.
Pretty neat.
Crashes out instruction @ xxx ref mem @ yyy. The memory could not be "read" on closing window. But I don't think that is associated with your code.
Posted: Tue Jun 01, 2004 2:42 am
by blueb
Paul,
I lkie it
What program did you use to create the background and buttons?
--blueb
Posted: Tue Jun 01, 2004 4:15 am
by PolyVector
If I'm not mistaken, the buttons are from Ad-Aware

I always liked those buttons

Posted: Tue Jun 01, 2004 6:34 am
by Paul
A quick screen grab then some simple cut and paste in Photoshop...
and PolyVector wins the prize !!

Posted: Tue Jun 01, 2004 8:01 am
by PolyVector
do i get purevision?

Posted: Tue Jun 01, 2004 12:30 pm
by blueb
Nope... you've already got vision! Good guess.
I've used Xara X with excellent results.
http://www.xara.com
-blueb
Posted: Tue Jun 01, 2004 11:45 pm
by PolyVector
Posted: Wed Jun 02, 2004 8:49 pm
by GPI
btw: What about my code? Does it work? Crash it? When you add a "closewindow(1)" at the end: Crash it too?
GPI
Edit: I planed to use this code in jaPBe. So please: More feedback.
Posted: Wed Jun 02, 2004 10:43 pm
by Dare2
With
3.90
Putting
Code: Select all
Until event=#PB_Event_CloseWindow
CloseWindow(1) ; <--
as suggested cures the crash.
Posted: Thu Jun 03, 2004 12:08 am
by PolyVector
3.91 Beta1 on WinXP
...Perfect... no crashing
Posted: Thu Jun 03, 2004 8:23 am
by gnozal
GPI wrote:
Edit: I planed to use this code in jaPBe. So please: More feedback.
Could be nice, but I hope it will not slow down jaPBe to much ; you may have your new PC, I still have my old PIII/Win98SE
