1. Win32Lib: Uhh. I dont think that goes there.

i dont know why noone has said anything yet(maybe I'm just wrong), but 
it would seem like the "Open as read-only" CheckBox shouldn't be in the 
"Save As" dialog.

Am I wrong?


Thnaks, 
   Robert Szalay

new topic     » topic index » view message » categorize

2. Re: Win32Lib: Uhh. I dont think that goes there.

On Thu,  5 Jun 2003 02:43:31 +0000, Robert Szalay <robsz1 at hotpop.com> 
wrote:

>
>
> i dont know why noone has said anything yet(maybe I'm just wrong), but it 
> would seem like the "Open as read-only" CheckBox shouldn't be in the 
> "Save As" dialog.
>
> Am I wrong?
>
>
Hmmm...good point. I guess I can fix that one.

-- 

cheers,
Derek Parnell

new topic     » goto parent     » topic index » view message » categorize

3. Re: Win32Lib: Uhh. I dont think that goes there.

----- Original Message -----
From: "Robert Szalay" <robsz1 at hotpop.com>
To: "EUforum" <EUforum at topica.com>
Subject: Win32Lib: Uhh. I dont think that goes there.


>
>
> i dont know why noone has said anything yet(maybe I'm just wrong), but
> it would seem like the "Open as read-only" CheckBox shouldn't be in the
> "Save As" dialog.
>

I can't see this. Whenever I try a Save As dialog, the read-only checkbox is
not visible. Can you send me some code that demonstrates the problem?
--
Derek

new topic     » goto parent     » topic index » view message » categorize

4. Re: Win32Lib: Uhh. I dont think that goes there.

On Fri, 06 Jun 2003 15:56:53 +1000, Derek Parnell
<ddparnell at bigpond.com> wrote:

>On Thu,  5 Jun 2003 , Robert Szalay <robsz1 at hotpop.com> wrote:
>>  the "Open as read-only" CheckBox shouldn't be in the=20
>> "Save As" dialog.
>Hmmm...good point. I guess I can fix that one.

<aside> I don't get that on win98 </aside>
But, if you *can* change things in that area, I would REALLY like a
"hotkey" to change directory up a level -;) Even just a tabstop on the
button would make me smile. Switching between list and details would
be nice too. (ok, I'm on about Open, not Save As)

It amazes me just how much I hate I cannot do that one simple thing.

Pete

new topic     » goto parent     » topic index » view message » categorize

5. Re: Win32Lib: Uhh. I dont think that goes there.

----- Original Message -----
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Win32Lib: Uhh. I dont think that goes there.


>
>
> On Fri, 06 Jun 2003 15:56:53 +1000, Derek Parnell
> <ddparnell at bigpond.com> wrote:
>
> >On Thu,  5 Jun 2003 , Robert Szalay <robsz1 at hotpop.com> wrote:
> >>  the "Open as read-only" CheckBox shouldn't be in the
> >> "Save As" dialog.
> >Hmmm...good point. I guess I can fix that one.
>
> <aside> I don't get that on win98 </aside>
> But, if you *can* change things in that area, I would REALLY like a
> "hotkey" to change directory up a level -;) Even just a tabstop on the
> button would make me smile. Switching between list and details would
> be nice too. (ok, I'm on about Open, not Save As)
>
> It amazes me just how much I hate I cannot do that one simple thing.
>

The dialog is built-in to Windows and I can't change it easily, but I'll
have a look. In the meantime Press Alt-I, Right-Arrow then Left or Right to
navigate to the directory to need.

--
Derek

new topic     » goto parent     » topic index » view message » categorize

6. Re: Win32Lib: Uhh. I dont think that goes there.

----- Original Message -----
From: "Robert Szalay" <robsz1 at hotpop.com>
To: "EUforum" <EUforum at topica.com>
Subject: RE: Win32Lib: Uhh. I dont think that goes there.


>
>
> Well.  That is strange indeed.
>
> It is there clear as the blue sky(when the weather is nice).
>
> POE: http://robsz1.euforge.com/images/save%20as.bmp
> and no, those are not the colors of my desktop.  I reduced it to 256
> colors and thats how it turned out  smile.
>
> I am using the latest version of win32lib(the one on your site (.59 i
> beleive it is))
> Euphoria v 2.3
> Windows 98SE
>
> The code below is what i used in the picture.
>
> -- code --
> without warning
> include win32lib.ew
>
> constant Win = create(Window, "Save As dialog mabober", 0, Default,
> Default, 50, 50, 0),
>          Btn = create(PushButton, "Save As", Win, 0, 0, 50, 20, 0)
>
>
> procedure onClick_Btn(atom id, atom event, sequence params)
>    params = getSaveFileName(id, "", {"All Files","*.*"})
> end procedure
>
> setHandler(Btn, w32HClick, routine_id("onClick_Btn"))
>
> WinMain(Win,Normal)
> -- /code --
>
> Thanks,
>   Robert Szalay
>
>
> Derek Parnell wrote:
> >
> >
> > ----- Original Message -----
> > From: "Robert Szalay" <robsz1 at hotpop.com>
> > To: "EUforum" <EUforum at topica.com>
> > Sent: Thursday, June 05, 2003 12:43 PM
> > Subject: Win32Lib: Uhh. I dont think that goes there.
> >
> >
> > > i dont know why noone has said anything yet(maybe I'm just wrong), but
> > > it would seem like the "Open as read-only" CheckBox shouldn't be in
the
> > > "Save As" dialog.
> > >
> >
> > I can't see this. Whenever I try a Save As dialog, the read-only
> > checkbox is
> > not visible. Can you send me some code that demonstrates the problem?
> > --
> > Derek
> >
> >

I guess you are using the version of Euphoria 2.3 that makes Windows think
you are running the old Windows 3.1. There is a 'fix' for this in the
archives to change it to the newer Windows 4 and above. The newer Windows
automatically hide this readonly box. In the meantime, you might like to try
an add some dialog flags to the call...

 filename = getSaveFileName(
          TheWindow,
          "MyFile.txt",
           { "Dialog Flags", {OFN_OVERWRITEPROMPT, OFN_HIDEREADONLY}
             "Text File", "*.TXT",
             "All Files", "*.*"
           }
          )


--
Derek

new topic     » goto parent     » topic index » view message » categorize

7. Re: Win32Lib: Uhh. I dont think that goes there.

A line has disappeared from the buildDefaultOfn function.
55.1 & 57.1 (when it was in win32lib.ew) have this:

	-- set up default flags.
	flags =3D or_all( {
		exflags,             -- from caller
		OFN_EXPLORER,           -- looks like windows explorer
		OFN_HIDEREADONLY,       -- hide the read-only checkbox
		OFN_LONGNAMES,          -- use long filenames
		OFN_PATHMUSTEXIST} )  -- path must exist

58.9 (the function is now in winfile.ew) has this:

	flags =3D clib:or_all( {
	    exflags,             -- from caller
	    OFN_EXPLORER,           -- looks like windows explorer
	    OFN_LONGNAMES,          -- use long filenames
	    OFN_PATHMUSTEXIST} )  -- path must exist

It was probably removed for open but ought to go back for save?

Pete

new topic     » goto parent     » topic index » view message » categorize

8. Re: Win32Lib: Uhh. I dont think that goes there.

----- Original Message ----- 
From: "Pete Lomax" <petelomax at blueyonder.co.uk>
To: "EUforum" <EUforum at topica.com>
Subject: Re: Win32Lib: Uhh. I dont think that goes there.


> 
> 
> A line has disappeared from the buildDefaultOfn function.
> 55.1 & 57.1 (when it was in win32lib.ew) have this:
> 
> -- set up default flags.
> flags = or_all( {
> exflags,             -- from caller
> OFN_EXPLORER,           -- looks like windows explorer
> OFN_HIDEREADONLY,       -- hide the read-only checkbox
> OFN_LONGNAMES,          -- use long filenames
> OFN_PATHMUSTEXIST} )  -- path must exist
> 
> 58.9 (the function is now in winfile.ew) has this:
> 
> flags = clib:or_all( {
>     exflags,             -- from caller
>     OFN_EXPLORER,           -- looks like windows explorer
>     OFN_LONGNAMES,          -- use long filenames
>     OFN_PATHMUSTEXIST} )  -- path must exist
> 
> It was probably removed for open but ought to go back for save?
> 
I've already done that now for the next release.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu