Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.apple2.programmer > #3094 > unrolled thread
| Started by | Steve Nickolas <usotsuki@buric.co> |
|---|---|
| First post | 2016-10-06 19:02 -0400 |
| Last post | 2016-10-11 18:16 -0500 |
| Articles | 9 — 6 participants |
Back to article view | Back to comp.sys.apple2.programmer
How hard would it be... (IIgs) Steve Nickolas <usotsuki@buric.co> - 2016-10-06 19:02 -0400
Re: How hard would it be... (IIgs) Kelvin Sherlock <email@domain.com> - 2016-10-06 20:12 -0400
Re: How hard would it be... (IIgs) Steve Nickolas <usotsuki@buric.co> - 2016-10-06 20:19 -0400
Re: How hard would it be... (IIgs) Michael J. Mahon <mjmahon@aol.com> - 2016-10-07 11:53 -0500
Re: How hard would it be... (IIgs) Steve Nickolas <usotsuki@buric.co> - 2016-10-07 12:59 -0400
Re: How hard would it be... (IIgs) Nick Westgate <nick.westgate@gmail.com> - 2016-10-09 16:36 -0700
Re: How hard would it be... (IIgs) Polymorph <mike.a.stephens@gmail.com> - 2016-10-11 19:33 -0700
Re: How hard would it be... (IIgs) Nick Westgate <nick.westgate@gmail.com> - 2016-10-12 17:06 -0700
Re: How hard would it be... (IIgs) Smohn Jith <Smohn@smohn.com> - 2016-10-11 18:16 -0500
| From | Steve Nickolas <usotsuki@buric.co> |
|---|---|
| Date | 2016-10-06 19:02 -0400 |
| Subject | How hard would it be... (IIgs) |
| Message-ID | <alpine.BSF.2.02.1610061858490.53308@frieza.hoshinet.org> |
How hard would it be to come up with something to just set up the GUI and
pop up a dialog box? Something like this on Windows...
#include <windows.h>
#define MSGBOX_ALERT 48
int main (int argc, char **argv)
{
MessageBox(0, "Hello, cruel world.", "Message", MSGBOX_ALERT);
return 0;
}
(though noting, I would probably not be using C, and I might have to
initialize stuff by hand that ProDOS-16 or GS/OS do for me.)
-uso.
[toc] | [next] | [standalone]
| From | Kelvin Sherlock <email@domain.com> |
|---|---|
| Date | 2016-10-06 20:12 -0400 |
| Message-ID | <nt6p95$h97$1@dont-email.me> |
| In reply to | #3094 |
#include <Locator.h>
#include <Window.h>
int main(int argc, char **argv) {
Ref ssRef;
ssRef = StartupTools(MMStartUp(), RefIsResource, (Ref)1);
AlertWindow(awCString+awPointer, NULL, (Ref)"Hello");
ShutDownTools(RefIsHandle, ssRef);
return 0;
}
Untested, of course, and it depends on the toolbox StartStopRecord
being in the resource fork.
On 2016-10-06 23:02:15 +0000, Steve Nickolas said:
> How hard would it be to come up with something to just set up the GUI
> and pop up a dialog box? Something like this on Windows...
>
> #include <windows.h>
>
> #define MSGBOX_ALERT 48
>
> int main (int argc, char **argv)
> {
> MessageBox(0, "Hello, cruel world.", "Message", MSGBOX_ALERT);
> return 0;
> }
>
> (though noting, I would probably not be using C, and I might have to
> initialize stuff by hand that ProDOS-16 or GS/OS do for me.)
>
> -uso.
[toc] | [prev] | [next] | [standalone]
| From | Steve Nickolas <usotsuki@buric.co> |
|---|---|
| Date | 2016-10-06 20:19 -0400 |
| Message-ID | <alpine.BSF.2.02.1610062019250.58269@frieza.hoshinet.org> |
| In reply to | #3095 |
On Thu, 6 Oct 2016, Kelvin Sherlock wrote:
> #include <Locator.h>
> #include <Window.h>
>
> int main(int argc, char **argv) {
> Ref ssRef;
> ssRef = StartupTools(MMStartUp(), RefIsResource, (Ref)1);
> AlertWindow(awCString+awPointer, NULL, (Ref)"Hello");
> ShutDownTools(RefIsHandle, ssRef);
> return 0;
> }
>
> Untested, of course, and it depends on the toolbox StartStopRecord being in
> the resource fork.
Ouch. That would make trying to crossdevelop GS GUI stuff a pain in the
neck.
-uso.
[toc] | [prev] | [next] | [standalone]
| From | Michael J. Mahon <mjmahon@aol.com> |
|---|---|
| Date | 2016-10-07 11:53 -0500 |
| Message-ID | <h8Sdnf1V0_yETmrKnZ2dnUU7-cNQAAAA@giganews.com> |
| In reply to | #3096 |
Steve Nickolas <usotsuki@buric.co> wrote:
> On Thu, 6 Oct 2016, Kelvin Sherlock wrote:
>
>> #include <Locator.h>
>> #include <Window.h>
>>
>> int main(int argc, char **argv) {
>> Ref ssRef;
>> ssRef = StartupTools(MMStartUp(), RefIsResource, (Ref)1);
>> AlertWindow(awCString+awPointer, NULL, (Ref)"Hello");
>> ShutDownTools(RefIsHandle, ssRef);
>> return 0;
>> }
>>
>> Untested, of course, and it depends on the toolbox StartStopRecord being in
>> the resource fork.
>
> Ouch. That would make trying to crossdevelop GS GUI stuff a pain in the
> neck.
>
> -uso.
>
I've always felt that trying to <any> develop <any> GUI stuff is a pain in
the neck. ;-)
--
-michael - NadaNet 3.1 and AppleCrate II: http://michaeljmahon.com
[toc] | [prev] | [next] | [standalone]
| From | Steve Nickolas <usotsuki@buric.co> |
|---|---|
| Date | 2016-10-07 12:59 -0400 |
| Message-ID | <alpine.BSF.2.02.1610071258410.16703@frieza.hoshinet.org> |
| In reply to | #3097 |
On Fri, 7 Oct 2016, Michael J. Mahon wrote:
> Steve Nickolas <usotsuki@buric.co> wrote:
>> On Thu, 6 Oct 2016, Kelvin Sherlock wrote:
>>
>>> #include <Locator.h>
>>> #include <Window.h>
>>>
>>> int main(int argc, char **argv) {
>>> Ref ssRef;
>>> ssRef = StartupTools(MMStartUp(), RefIsResource, (Ref)1);
>>> AlertWindow(awCString+awPointer, NULL, (Ref)"Hello");
>>> ShutDownTools(RefIsHandle, ssRef);
>>> return 0;
>>> }
>>>
>>> Untested, of course, and it depends on the toolbox StartStopRecord being in
>>> the resource fork.
>>
>> Ouch. That would make trying to crossdevelop GS GUI stuff a pain in the
>> neck.
>>
>> -uso.
>>
>
> I've always felt that trying to <any> develop <any> GUI stuff is a pain in
> the neck. ;-)
>
I'm not gonna disagree.
Now if only there were something like Visual Basic for the GS. ;)
-uso.
[toc] | [prev] | [next] | [standalone]
| From | Nick Westgate <nick.westgate@gmail.com> |
|---|---|
| Date | 2016-10-09 16:36 -0700 |
| Message-ID | <609ce7c3-cd0f-4415-b517-39bafc468204@googlegroups.com> |
| In reply to | #3098 |
On Saturday, 8 October 2016 05:59:16 UTC+13, Steve Nickolas wrote: > Now if only there were something like Visual Basic for the GS. ;) Here's a summary of GS programming languages: http://www.slideshare.net/Polymorph/apple-iigs-programming-k-fest Cheers, Nick.
[toc] | [prev] | [next] | [standalone]
| From | Polymorph <mike.a.stephens@gmail.com> |
|---|---|
| Date | 2016-10-11 19:33 -0700 |
| Message-ID | <68600902-db72-4c80-97b9-c201a8b29eb7@googlegroups.com> |
| In reply to | #3106 |
On Monday, October 10, 2016 at 10:36:09 AM UTC+11, Nick Westgate wrote: > On Saturday, 8 October 2016 05:59:16 UTC+13, Steve Nickolas wrote: > > Now if only there were something like Visual Basic for the GS. ;) > > Here's a summary of GS programming languages: > http://www.slideshare.net/Polymorph/apple-iigs-programming-k-fest > > Cheers, > Nick. wow... I can't believe I wrote that 7 years ago now... I had kinda forgotten about it - thanks for reminding me! :-) Cheers, Mike
[toc] | [prev] | [next] | [standalone]
| From | Nick Westgate <nick.westgate@gmail.com> |
|---|---|
| Date | 2016-10-12 17:06 -0700 |
| Message-ID | <22322e90-a988-47d3-a025-0b88e32c94a5@googlegroups.com> |
| In reply to | #3118 |
On Wednesday, 12 October 2016 15:33:37 UTC+13, Polymorph wrote: > wow... I can't believe I wrote that 7 years ago now... Cool. I was hoping you were still around Mike. ; - ) Cheers, Nick.
[toc] | [prev] | [next] | [standalone]
| From | Smohn Jith <Smohn@smohn.com> |
|---|---|
| Date | 2016-10-11 18:16 -0500 |
| Message-ID | <GsdLz.56445$B02.43854@fx02.iad> |
| In reply to | #3098 |
On 10/7/2016 11:59 AM, Steve Nickolas wrote:
> On Fri, 7 Oct 2016, Michael J. Mahon wrote:
>
>> Steve Nickolas <usotsuki@buric.co> wrote:
>>> On Thu, 6 Oct 2016, Kelvin Sherlock wrote:
>>>
>>>> #include <Locator.h>
>>>> #include <Window.h>
>>>>
>>>> int main(int argc, char **argv) {
>>>> Ref ssRef;
>>>> ssRef = StartupTools(MMStartUp(), RefIsResource, (Ref)1);
>>>> AlertWindow(awCString+awPointer, NULL, (Ref)"Hello");
>>>> ShutDownTools(RefIsHandle, ssRef);
>>>> return 0;
>>>> }
>>>>
>>>> Untested, of course, and it depends on the toolbox StartStopRecord
>>>> being in
>>>> the resource fork.
>>>
>>> Ouch. That would make trying to crossdevelop GS GUI stuff a pain in the
>>> neck.
>>>
>>> -uso.
>>>
>>
>> I've always felt that trying to <any> develop <any> GUI stuff is a
>> pain in
>> the neck. ;-)
>>
>
> I'm not gonna disagree.
>
> Now if only there were something like Visual Basic for the GS. ;)
>
> -uso.
GSoft. Posted in this forum for csa2 is a Norezframe program for Gsoft.
I laid out the basic framework for a desktop GS program without using
resources so you wouldn't need to deal with that. Using that and a
little bit of code will throw up an alert window pretty easy.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.sys.apple2.programmer
csiph-web