Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!1.eu.feeder.erje.net!news2.arglkargh.de!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Windows 10 OpenDialog resizing bug... Date: Mon, 15 Jun 2015 18:11:25 +0200 Lines: 64 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: individual.net 0Wk5fvQ6OI/0GB1JZEUCLQKgFv8FPoWUEZPUtuZ80Kq9cD6QI= Cancel-Lock: sha1:dfCuvAN0I3hRiBklefX26d+XK+4= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:8210 Hi Jean, I'm pretty sure this is a Windows bug. The OpenDialog class is only a wrapper about a Windows API function - look at the SDK to see what it does. And if ClassMate has the same problem, see this as confirmation. Wolfgang wrote: > Hello all... > > I am using CAVO 28 SP3 (2837), and Window 10 Preview build 10130. > > In the sample program Vopad, I changed the: > /---------------------------------- > METHOD FileOpen() CLASS PadShellWindow > LOCAL oOD AS OpenDialog > > oOD := OpenDialog{SELF, ".\*.RTF"} > > oOD:SetFilter({"*.RTF", "*.TXT"}, {"Rich Edit Text", "TXT"}, 1) > oOD:SetStyle( OFN_ENABLESIZING, TRUE ) > oOD:Show() > IF !Empty(oOD:FileName) > SELF:DoOpenFile(oOD:FileName, oOD:ReadOnly) > ENDIF > /---------------------------------------- > to be able to resize the open file dialog, I have added the following: > oOD:SetStyle( OFN_ENABLESIZING, TRUE ) > > The problem is that we can only expand the window, and we cannot > reduce it after expansion. > > The same problem with ClassMate 209. > > The resizing is working well with all previous version of Windows ( > XP to Win 8.1). > > The sample .aef and .exe ( ready to test), can be downloaded at: > http://www.rayonline.com/temp/vopad-2.zip > > > Questions? > 1) Is CAVO 28 SP4b ( I think ) has the same problem on windows 10 ? > 2) Do you think it is a Windows 10 bug ? > > Waiting for your replies... > > Many tanks in advance. > > Best regards > > Jean Raymond > http://rayonline.com > support@rayonline.com --