I had the same problem that I spent several weeks working out. I tried the
constructor event on the data window and found that it was not reliable. It
depended upon other objects on the window and the order that those objects
were created. The only way I found worked all the time was the one in
overriding the open event. First thing in the open event was to accept the
parameters and than call the open event. This was in PB6.5 and all the
windows are sheet within a MDI frame. I don't know if the use of sheets
instead of windows makes a difference.
�
joez
�

-----Original Message-----
From: John Huang [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 22, 1999 11:46 AM
To: 'Marvin Young'; [EMAIL PROTECTED]
Subject: RE: PFCSIG Will of_GetxxxParm() Solve My Message Clobbering Probl
em?



If you have a datawindow control in your response window, you can try to get
the parameter being passed-in in the constructor event of the datawindow
control.

HTH, 

John 

-----Original Message----- 
From: Marvin Young [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>
] 
Sent: Thursday, July 22, 1999 10:58 AM 
To: [EMAIL PROTECTED] 
Subject: PFCSIG Will of_GetxxxParm() Solve My Message Clobbering 
Problem? 


I just realized that since I'm using n_msg as my message object, I can make
use of of_GetxxxParm() to retrieve openwithparm() parameters.� 

I gave up on openwithparm() earlier because I found that my w_response
windows' message.doubleparm and message.stringparm variables were getting
overwritten by one of my PFC services (Linkage, as I recall.� Or maybe it
was Resize.)

Before I rip out my current "gnv_app.ia_parmkludge[]" solution, I'd like to
know whether I can truly use of_GetxxxParm() to reliably pass parameters to
my response windows?� Anyone out there had experience with this?

Thanks for any light you can shed, 


Marvin Young 
Washington State Department of Fish and Wildlife 
[EMAIL PROTECTED] 
(360) 902-2508 
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
����������������������������������������������������������������������������
�������������������� 

> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS,
ADDRESS 
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:�� help pfcsig 
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED] 

> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE:   help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]

Reply via email to