with everything I've found remotely resembling what I'm after...
...to no avail. Apparently some of the older examples and
snippets I've come across no longer function due to
changes in PureBasic itself.
Problem: I'm trying to incorporate an "About" window similar to
PureBasic's in a program of mine. Looking at the ide, common
and about sources is helpful, but I keep confusing myself on
how to get it to work in my own app.
What goes wrong: I have the main app, I've "included" the about
source and my "about" menu item calls the about window and
displays it just fine.. ..BUT.. ..I can't figure out how to properly
handle events to allow the closing of the about window and
return to my main app. Either I end up closing everything
or I end up in an endless loop and have to quit from the debugger.
Help wanted: A skeleton program showing how a main app can
call another window, get it's events and return to the main app.
--OR--
Pseudo code pointing out the structure I should be following
to accomplish this.
My understanding (possibly incorrect) would be as follows:
--Pseudo code--
run main app
show main window
handle events()
end
proc about()
show about window
handle aboutevents()
end proc
the mess I've made of my attempts can be found here:
http://trondoc.ezwebtech.com/prgrmng/d3/about.zip
Thanks.
Joe
P.S. I am not asking anyone to write the program for me!
P.P.S. If you suspect you've posted code somewhere that
may no longer work because of PureBasic updates..
..find it and kill it! LOL
also.... ....I know of no simple/quick way to accomplish it either.


