[futurebasic] re: [FB] More than 4 DLOG paramaters

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : November 1998 : Group Archive : Group : All Groups

From: Mel and Carol Patrick <mel@...>
Date: Wed, 25 Nov 1998 23:05:08 -0700
>First, I like the simplicity of the dialog. If you don't think about it
>much, it helps. But, if you're concerned about an event loop that's
>somewhere in the twilight zone, you're not alone. It certainly brothers me.

With the dialog manager handling the event stuff, I don't have to. I see
that as an advantage. When the user clicks on something in my dialog, I
know and that's all that matters.

>Second, I don't like my dialogs always being pasted somewhere other than
>where I want them. I want them in the middle of my screen, or where the
>user wants them. I don't want to have dialogs designed for every monitor
>available or make one size fit for all.

So, adjust it. Whats the big deal? Its a window after all.

>Third, sometimes I like to send dialogs more than four strings.

Mine has roughly 60 (at times). That's about 56 more than your 4. I think.
(going to run VB in Windows to verify that calc...)

>So, all in all, IMHO I think dialogs are a thing of the past. A window is a
>window is a window (as long as it's not a windoze). And, one event loop is
>fine with me. Also, you can make some pretty fine dialog looking thingies
>with PGPro. Now that's a dialog!

Ah now there you have me. I have never used PGPro. Double clicked it once
though. Does that count...?

As for them being a thing of the past, ah I don't think so. Take a look at
ANY Mac application and you'll find DLOG resources. Take the dialog manager
away from us and we're going to pout...

>PS: Mel what the heck is a FN DLOGpre(DLOGptr&,whichDLOG) anyway? It
>doesn't look simple to me?

Thats the single function that puts all the junk in the dialog window
(setting buttons, popups, controls, edit fields and so on) BEFORE the
actual dialog is drawn on the monitor. All you need to know about the
dialog is the pointer (like a Window Ptr) and what the number of the dialog
is. From there, its a real simple CASE statement to handle as many dialogs
and alerts (and the items in them) as you want to add.

My TAB PANEL code is in a dialog, I have popup menu samples in a dialog and
both as just as easy as putting them in a window (okay a dialog IS a
window; drat got me again)...;-)

Mel Patrick - theWabbitGuy - mel@...
mailto:mel@...
http://www.intergate.bc.ca/business/mel