Borland C++ 3.1 BWCC Modeless, Iconifiable Dialog Box

Borland C++ 3.1 BWCC Modeless, Iconifiable Dialog Box

Post by Pete Co » Tue, 16 Feb 1993 16:55:52



Can anybody out there tell me how to use the BWCC to create a Borland style
Dialog box, but which runs Modeless as the main window of my application, and
is Iconifiable to my own Icon ?

This is quite straigtforward using standard TDialogs, ... but as for BWCC ...
I just haven't been able to do it !

Thanks,

Pete Cole

+---------------------------------------------+

+---------------------------------------------+

 
 
 

Borland C++ 3.1 BWCC Modeless, Iconifiable Dialog Box

Post by Keath Millig » Thu, 18 Feb 1993 00:34:18



>Can anybody out there tell me how to use the BWCC to create a Borland style
>Dialog box, but which runs Modeless as the main window of my application, and
>is Iconifiable to my own Icon ?

>This is quite straigtforward using standard TDialogs, ... but as for BWCC ...
>I just haven't been able to do it !

>Thanks,

>Pete Cole

>+---------------------------------------------+

>+---------------------------------------------+

It's a pain in the *(mostly because of a lack of documentation), but I
managed to do it -- and I learned quite a bit about BWCC and its API along
the way.  Later today, I'm going to put together a short how-to article with
source and post it to this group and to comp.windows.ms.programmer.
--

Keath Milligan               Real/Time Communications Austin, Texas


 
 
 

1. Dialog box resource edit box problem (Borland C++ 3.1)

Using Borland C++ v3.1's Resource workshop, I created a simple dialog box
with one multiline edit box in it.
When ever I set the text for this edit box, instead of the text moving to
the next line after a '\n' character is set, it puts a little box instead.
it only wraps to the next line when it has reached the maximum text it can
fit on one line.
How do I make it line feed each time it prints a '\n' ?

Here is the dialog box resource script in case I did something wrong
there:

RESULTSDLG DIALOG 6, 16, 222, 159
STYLE
WS_POPUP|WS_VISIBLE|WS_CAPTION|WS_SYSMENU|WS_THICKFRAME|WS_MINIMIZEBOX|WS_
MAXIMIZEBOX
CAPTION "Results of Search:"
FONT 8, "Arial"
BEGIN
 CONTROL "", 40,"EDIT",
ES_LEFT|ES_MULTILINE|ES_READONLY|WS_CHILD|WS_VISIBLE|WS_BORDER|WS_VSCROLL|
WS_TABSTOP, 3, 2, 217, 155
END

2. Dynamic fields

3. Borland C++ BWCC & Modeless Dialog Question

4. Sun WorkShop Professional C/Intel

5. Borland C++ TCW 3.1 - language of BWCC-controls?

6. looking for rectangle formula when curvature not in [0 1]...

7. Borland C++ 3.1 & AF compare to Borland C++ 4.0?

8. Approach Users Mailing List FAQ

9. Calling a modeless dialog box from a modal dialog box

10. Borland C++ 3.1 & AF compare to Borland C++ 4.0?

11. modeless dialogs and Borland C+3.1......

12. Borland C++ 3.1 RTL Matherr Message Box

13. Protogen/File Open Dialog/Borland C++ 3.1