TPW : Using Transfer Buffers for Dialog Boxes

TPW : Using Transfer Buffers for Dialog Boxes

Post by Pauletti Andre » Tue, 11 Aug 1992 16:42:51

Hi there

Since about two months I am writing a TPW applcation and I am using
dialog boxes for user IO. I had a lot of problems (and still have !)
to use the transfer buffer mechanism of OWL for the dialog boxes.

First of all, the manual is buggy in the chapters (eg. p.189 of the
Windows Programming Guide : last line ComboBox InitResource wants 3
parameters NOT 2 as in the manual)
Second if I construct the controls in the order I defined them in the
transfer buffer record some of them are filled in some not. If I
change the order for the creation (New statments), e.g. all edit
control first and than the ComboBoxes, more controls are filled with
there values. but not all. Of course the programm crashes if I change
the order of the creation.

QUESTION : 1. Did any body have the same experience with the order
              of the transfer buffer and InitResource
           2. If someone could provide me better an CORRECT infos how
              to use then I would be grateful.

cheers andreas pauletti


1. TPW : Dialogs and Transfer Buffers


I have a problem with defining a typed constant for a dialog transfer
buffer, that has a ComboBox as a control object. In the TPW Windows
Programming Guide is stated on page 188 that the transfer buffer for
a ComboBox should consist of 2 elements. One is of type PStrCollection
and holds the list box strings and the other is an array of char.

Question :
   How do I define a typed constant of type PStrCollection ?
   There is no where stated how to do this. Logically this should
   be an array of Strings that will be listed in the listbox.

any ideas ?

regards andreas pauletti

2. FS: Another 2000

3. Using TPW, how do I load dialog box resources from DLLs?

4. MS Visual IntrDev question

5. OWL: Using Transfer Structures with Dialog Boxes

6. & Email

7. OWL Dialog transfer buffer

8. Technical editor?

9. Turbo Pascal: Dialogs and transfer buffers

10. TPW:Dialog Box before InitMainWindow

11. Q: TPW:displaying a modeless dialog-box

12. Look for design solution to transfer data from business object to a dialog box object

13. Dialog box from a Dialog Box