EnableSizing and other issues

Topics: General, Bug Information
Jun 11, 2008 at 9:52 PM
The _comdlg.dialoghandler method in _system.vcx misses support for OFN_ENABLESIZING. I propose to add the property lEnableSizing and insert the following code in the method.

IF THIS.lEnableSizing
    nFlags = nFlags + OFN_ENABLESIZING

I haven't tested this yet, but I feel pretty sure it will work.

There are other issues as well, described in messages on the UT:

<B>Re: Descriptive File Types with PUTFILE()</B> Thread #574248 Message #574258
<B>Re: Descriptive File Types with PUTFILE()</B> Thread #574248 Message #574755

Jun 12, 2008 at 2:18 PM
Hi Peter,

Great to see you here. I've reviewed _comdlg.dialoghandler and it looks like your code change suggestion is a good one. It's interesting that the define for the OFN_ENABLESIZING constant is there, but not provided for in the code.

I'm going to look into your the threads you referenced from the Universal Thread... then I'll be back.
Jun 12, 2008 at 2:30 PM
Edited Jun 12, 2008 at 2:31 PM
A couple of questions...

On the fix that Sergey provides in message 574258, I'm not sure where to put those lines of code or if they are even needed anymore. There is already a...

THIS.cFileName = LEFT(lcFileName, AT(CHR(0), lcFileName) - 1)

...in the dialoghandler method of the _comdlg class. What is the bug that Sergey is referring to in that post on the UT, and is that fix just for the VFP 7 version of the _system.vcx?

Does anyone know if there are any known solutions to the 5 issues that Andrus points out in post 574755?


Jun 12, 2008 at 8:13 PM
Hi Craig, that's a really quick repsonse! :)

We might ask them on the UT or invite them here.