Philip A. Larson wrote:
>Okay,
>
>This is just like working with the regular windows, except I suppose you
are
>limited in the types of controls you can add.
no no, you're not limited in any way.
DialogBoxes are exactly the same as Windows (same methods, same events,
same everything); the only difference is in the Dialog() subroutine.
there, the class of the window is checked, and if it is a DialogBox,
some additional code is executed, precisely the code that enables
tabstops and other dialogbox user interface functionalities.
I was tempted to add these functionalities directly to Windows without
using another class, but there's a drawback: with these, you're not able
to type a tab or a carriage return inside a Textfield... and this is
something you may not want at all.
thinking about it, another possible solution came to my mind: a function
called maybe EnableDialogInterface(), which you can call upon a Window
if you want tabstops (and accelerators) to be activated...
this way, DialogBoxes would be just Windows, except that they come with
this "flag" set by default.
well... comments are welcome ;-)
cheers,
Aldo Calpini
<[EMAIL PROTECTED]>