1. Win32Lib; Shortcuts in GetOpenFileDialog

Hi,

a) Is there functionality in Win32Lib that enables the coder to change links in
the GetOpenFileDialog? (See enclosed picture - highlighted with a red frame.)

http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg


b) [OT] Is it at all possible for the general user to change this in Windows
settings?

Kenneth / ZNorQ

new topic     » topic index » view message » categorize

2. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> Hi,
> 
> a) Is there functionality in Win32Lib that enables the coder to change links
> in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> frame.)
> 
> <a
> href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> 
> 
> b) [OT] Is it at all possible for the general user to change this in Windows
> settings?
> 
> Kenneth / ZNorQ

Just run the openfile.exw demo in the Demo\ folder. It is displaying exactly
that on my system (both at home and at work). If it does for you, then you just
have to inspect that code...
If it doesn't, you'll have to tell us which version of Windows, which desktop
theme, and this sort of things, so that I can understands what could possibly go
wrong.

CChris

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

3. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> Hi,
> 
> a) Is there functionality in Win32Lib that enables the coder to change links
> in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> frame.)
> 
> <a
> href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> 
> 
> b) [OT] Is it at all possible for the general user to change this in Windows
> settings?

      Yes.

      Well sort of:

filename = getOpenFileName(Window1,            -- parent window
       "D:\\where_I_want to_open",                    -- where name
                          { "Data File", "*.Dat",     -- data files
                            "All Files", "*.*" } )    -- everything else  

> 
> Kenneth / ZNorQ


Don Cole

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

4. Re: Win32Lib; Shortcuts in GetOpenFileDialog

CChris wrote:
> 
> ZNorQ wrote:
> > 
> > Hi,
> > 
> > a) Is there functionality in Win32Lib that enables the coder to change links
> > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > frame.)
> > 
> > <a
> > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > 
> > 
> > b) [OT] Is it at all possible for the general user to change this in Windows
> > settings?
> > 
> > Kenneth / ZNorQ
> 
> Just run the openfile.exw demo in the Demo\ folder. It is displaying exactly
> that on my system (both at home and at work). If it does for you, then you
> just
> have to inspect that code...
> If it doesn't, you'll have to tell us which version of Windows, which desktop
> theme, and this sort of things, so that I can understands what could possibly
> go wrong.
> 
> CChris

I'm not quite sure what you are aiming at, CChris. I do get the dialog as shown
on the picture - and in the above example you mentioned.

What I'm asking; "Is it possible to change those links to suit your own need?".
For example, I don't use "my documents" much, so I'd like to change it to some
other folder I'm using more frequently..

Kenneth/ZNorQ

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

5. Re: Win32Lib; Shortcuts in GetOpenFileDialog

don cole wrote:
> 
> ZNorQ wrote:
> > 
> > Hi,
> > 
> > a) Is there functionality in Win32Lib that enables the coder to change links
> > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > frame.)
> > 
> > <a
> > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > 
> > 
> > b) [OT] Is it at all possible for the general user to change this in Windows
> > settings?
> 
>       Yes.
> 
>       Well sort of:
> 
> }}}
<eucode>
>        filename = getOpenFileName(Window1,            -- parent window
>        "D:\\where_I_want to_open",                    -- where name
>                           { "Data File", "*.Dat",     -- data files
>                             "All Files", "*.*" } )    -- everything else  
> 
> </eucode>
{{{

> > 
> > Kenneth / ZNorQ
> 
> 
> Don Cole

Ehr, I knew my english and my linguistic skills sucked, but I didn't know it was
this awful.. :p

What you showed me above isn't exacly what I'm after. I know about that - what
I'm after is the ability change the links on the left hand side. Those are
shortcuts to different directories, but I want to change some of them to suit my
own need.. They are highlighted with a red frame and a yellow transparent
background in the picture I linked to in my initial post.

Kenneth / ZNorQ

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

6. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> don cole wrote:
> > 
> > ZNorQ wrote:
> > > 
> > > Hi,
> > > 
> > > a) Is there functionality in Win32Lib that enables the coder to change
> > > links
> > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > > frame.)
> > > 
> > > <a
> > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > 
> > > 
> > > b) [OT] Is it at all possible for the general user to change this in
> > > Windows
> > > settings?
> > 
> >       Yes.
> > 
> >       Well sort of:
> > 
> > }}}
<eucode>
> >        filename = getOpenFileName(Window1,            -- parent window
> >        "D:\\where_I_want to_open",                    -- where name
> >                           { "Data File", "*.Dat",     -- data files
> >                             "All Files", "*.*" } )    -- everything else  
> > 
> > </eucode>
{{{

> > > 
> > > Kenneth / ZNorQ
> > 
> > 
> > Don Cole
> 
> Ehr, I knew my english and my linguistic skills sucked, but I didn't know it
> was this awful.. :p
> 
> What you showed me above isn't exacly what I'm after. I know about that - what
> I'm after is the ability change the links on the left hand side. Those are
> shortcuts
> to different directories, but I want to change some of them to suit my own
> need..
> They are highlighted with a red frame and a yellow transparent background in
> the picture I linked to in my initial post.
> 
> Kenneth / ZNorQ

Can't help you with your actual programming problem, but I can say this:
your English is just fine, and your "accenting" with the red border
probably should have been sufficient; but I also missed it, my fault.  

However, the inclusion of "ON THE LEFT HAND SIDE" really does point clearly 
to what you want to change! :)

Dan

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

7. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> don cole wrote:
> > 
> > ZNorQ wrote:
> > > 
> > > Hi,
> > > 
> > > a) Is there functionality in Win32Lib that enables the coder to change
> > > links
> > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > > frame.)
> > > 
> > > <a
> > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > 
> > > 
> > > b) [OT] Is it at all possible for the general user to change this in
> > > Windows
> > > settings?
> > 
> >       Yes.
> > 
> >       Well sort of:
> > 
> > }}}
<eucode>
> >        filename = getOpenFileName(Window1,            -- parent window
> >        "D:\\where_I_want to_open",                    -- where name
> >                           { "Data File", "*.Dat",     -- data files
> >                             "All Files", "*.*" } )    -- everything else  
> > 
> > </eucode>
{{{

> > > 
> > > Kenneth / ZNorQ
> > 
> > 
> > Don Cole
> 
> Ehr, I knew my english and my linguistic skills sucked, but I didn't know it
> was this awful.. :p
> 
> What you showed me above isn't exacly what I'm after. I know about that - what
> I'm after is the ability change the links on the left hand side. Those are
> shortcuts
> to different directories, but I want to change some of them to suit my own
> need..
> They are highlighted with a red frame and a yellow transparent background in
> the picture I linked to in my initial post.
> 
> Kenneth / ZNorQ

    Hello,ZNorQ,

I thought you didn't like where the window opended not the shortcuts to the
    left.

As to the shortcuts I think this is matter of Bill Gates knows, "What's best
    for you."

What I do is use Windows Classic View then I don't have to look at those
    shortcuts at all.

You can always put your own shortcuts in Window's Start Menu, just by
    dragging them there.

    Also you can put them in the Window's status bar.

Don Cole

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

8. Re: Win32Lib; Shortcuts in GetOpenFileDialog

Dan Moyer wrote:
> 
> ZNorQ wrote:
> > 
> > don cole wrote:
> > > 
> > > ZNorQ wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > a) Is there functionality in Win32Lib that enables the coder to change
> > > > links
> > > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > > > frame.)
> > > > 
> > > > <a
> > > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > > 
> > > > 
> > > > b) [OT] Is it at all possible for the general user to change this in
> > > > Windows
> > > > settings?
> > > 
> > >       Yes.
> > > 
> > >       Well sort of:
> > > 
> > > }}}
<eucode>
> > >        filename = getOpenFileName(Window1,            -- parent window
> > >        "D:\\where_I_want to_open",                    -- where name
> > >                           { "Data File", "*.Dat",     -- data files
> > >                             "All Files", "*.*" } )    -- everything else  
> > > 
> > > </eucode>
{{{

> > > > 
> > > > Kenneth / ZNorQ
> > > 
> > > 
> > > Don Cole
> > 
> > Ehr, I knew my english and my linguistic skills sucked, but I didn't know it
> > was this awful.. :p
> > 
> > What you showed me above isn't exacly what I'm after. I know about that -
> > what
> > I'm after is the ability change the links on the left hand side. Those are
> > shortcuts
> > to different directories, but I want to change some of them to suit my own
> > need..
> > They are highlighted with a red frame and a yellow transparent background in
> > the picture I linked to in my initial post.
> > 
> > Kenneth / ZNorQ
> 
> Can't help you with your actual programming problem, but I can say this:
> your English is just fine, and your "accenting" with the red border
> probably should have been sufficient; but I also missed it, my fault.  
> 
> However, the inclusion of "ON THE LEFT HAND SIDE" really does point clearly
> 
> to what you want to change! :)
> 
> Dan

*Confidence boosted* Thanks for those fine words, and I'll really try
to be more specific (I'll probably fail again, though). :D

Kenneth / ZNorQ

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

9. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> CChris wrote:
> > 
> > ZNorQ wrote:
> > > 
> > > Hi,
> > > 
> > > a) Is there functionality in Win32Lib that enables the coder to change
> > > links
> > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > > frame.)
> > > 
> > > <a
> > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > 
> > > 
> > > b) [OT] Is it at all possible for the general user to change this in
> > > Windows
> > > settings?
> > > 
> > > Kenneth / ZNorQ
> > 
> > Just run the openfile.exw demo in the Demo\ folder. It is displaying exactly
> > that on my system (both at home and at work). If it does for you, then you
> > just
> > have to inspect that code...
> > If it doesn't, you'll have to tell us which version of Windows, which
> > desktop
> > theme, and this sort of things, so that I can understands what could
> > possibly
> > go wrong.
> > 
> > CChris
> 
> I'm not quite sure what you are aiming at, CChris. I do get the dialog as
> shown
> on the picture - and in the above example you mentioned.
> 
> What I'm asking; "Is it possible to change those links to suit your own
> need?".
> For example, I don't use "my documents" much, so I'd like to change it to some
> other folder I'm using more frequently..
> 
> Kenneth/ZNorQ

Ah.. I didn't get that.
The links are "obviously" registry entries. I'll try to find out today, but they
may change with the Windows version.

CChris

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

10. Re: Win32Lib; Shortcuts in GetOpenFileDialog

don cole wrote:
> 
> ZNorQ wrote:
> > 
> > don cole wrote:
> > > 
> > > ZNorQ wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > a) Is there functionality in Win32Lib that enables the coder to change
> > > > links
> > > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > > > frame.)
> > > > 
> > > > <a
> > > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > > 
> > > > 
> > > > b) [OT] Is it at all possible for the general user to change this in
> > > > Windows
> > > > settings?
> > > 
> > >       Yes.
> > > 
> > >       Well sort of:
> > > 
> > > }}}
<eucode>
> > >        filename = getOpenFileName(Window1,            -- parent window
> > >        "D:\\where_I_want to_open",                    -- where name
> > >                           { "Data File", "*.Dat",     -- data files
> > >                             "All Files", "*.*" } )    -- everything else  
> > > 
> > > </eucode>
{{{

> > > > 
> > > > Kenneth / ZNorQ
> > > 
> > > 
> > > Don Cole
> > 
> > Ehr, I knew my english and my linguistic skills sucked, but I didn't know it
> > was this awful.. :p
> > 
> > What you showed me above isn't exacly what I'm after. I know about that -
> > what
> > I'm after is the ability change the links on the left hand side. Those are
> > shortcuts
> > to different directories, but I want to change some of them to suit my own
> > need..
> > They are highlighted with a red frame and a yellow transparent background in
> > the picture I linked to in my initial post.
> > 
> > Kenneth / ZNorQ
> 
>     Hello,ZNorQ,
> 
>     I thought you didn't like where the window opended not the shortcuts to
> the left.

Hehe, no, I know you can specify a default file and path - AND the different
file
extenstions. I was talking about the *re-defitinition* of the shortcuts on the
left.
My fault, sorry man.

> 
>     As to the shortcuts I think this is matter of Bill Gates knows, "What's
> best for you."

Hehe, excellent statement, and so true. Anyway, that's basically the same thing
those
low-brow 'experts' at service desk told me here @ work, but I just didn't want
to
acknowledge that (in a state of denial) just yet..

> 
>     What I do is use Windows Classic View then I don't have to look at those
> shortcuts at all.

Oh, I don't want to take them away - I use some of them. Just that "my
documents" is
one of the least used by me, and I wanted my own-most-used shortcut.

> 
>     You can always put your own shortcuts in Window's Start Menu, just by
>     dragging
> them there.

I don't see how that will help me when I'm opening files. This IS related to
opening files
(hence the open file dialog reference), not having general shortcuts to
directories.
> 
>     Also you can put them in the Window's status bar.

Not quite following you...??

> 
> Don Cole

Kenneth / ZNorQ

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

11. Re: Win32Lib; Shortcuts in GetOpenFileDialog

CChris wrote:
> 
> ZNorQ wrote:
> > 
> > CChris wrote:
> > > 
> > > ZNorQ wrote:
> > > > 
> > > > Hi,
> > > > 
> > > > a) Is there functionality in Win32Lib that enables the coder to change
> > > > links
> > > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a red
> > > > frame.)
> > > > 
> > > > <a
> > > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > > 
> > > > 
> > > > b) [OT] Is it at all possible for the general user to change this in
> > > > Windows
> > > > settings?
> > > > 
> > > > Kenneth / ZNorQ
> > > 
> > > Just run the openfile.exw demo in the Demo\ folder. It is displaying
> > > exactly
> > > that on my system (both at home and at work). If it does for you, then you
> > > just
> > > have to inspect that code...
> > > If it doesn't, you'll have to tell us which version of Windows, which
> > > desktop
> > > theme, and this sort of things, so that I can understands what could
> > > possibly
> > > go wrong.
> > > 
> > > CChris
> > 
> > I'm not quite sure what you are aiming at, CChris. I do get the dialog as
> > shown
> > on the picture - and in the above example you mentioned.
> > 
> > What I'm asking; "Is it possible to change those links to suit your own
> > need?".
> > For example, I don't use "my documents" much, so I'd like to change it to
> > some
> > other folder I'm using more frequently..
> > 
> > Kenneth/ZNorQ
> 
> Ah.. I didn't get that.

Hehe, np.

> The links are "obviously" registry entries. I'll try to find out today, but

I'd appreciate that, CChris, but don't exhaust yourself trying. It's not really
a big deal, just gives me some minor additional comforts. A pity if one have to
make registry changes to do this, as the company I work for has limited the
access
to that..

> they may change with the Windows version.

I'm using WinXP.

> 
> CChris

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

12. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> CChris wrote:
> > 
> > ZNorQ wrote:
> > > 
> > > CChris wrote:
> > > > 
> > > > ZNorQ wrote:
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > a) Is there functionality in Win32Lib that enables the coder to change
> > > > > links
> > > > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a
> > > > > red
> frame.)</font></i>
> > > > > 
> > > > > <a
> > > > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > > > 
> > > > > 
> > > > > b) [OT] Is it at all possible for the general user to change this in
> > > > > Windows
> > > > > settings?
> > > > > 
> > > > > Kenneth / ZNorQ
> > > > 
> > > > Just run the openfile.exw demo in the Demo\ folder. It is displaying
> > > > exactly
> > > > that on my system (both at home and at work). If it does for you, then
> > > > you
> just</font></i>
> > > > have to inspect that code...
> > > > If it doesn't, you'll have to tell us which version of Windows, which
> > > > desktop
> > > > theme, and this sort of things, so that I can understands what could
> > > > possibly
> > > > go wrong.
> > > > 
> > > > CChris
> > > 
> > > I'm not quite sure what you are aiming at, CChris. I do get the dialog as
> > > shown
> > > on the picture - and in the above example you mentioned.
> > > 
> > > What I'm asking; "Is it possible to change those links to suit your own
> > > need?".
> > > For example, I don't use "my documents" much, so I'd like to change it to
> > > some
> > > other folder I'm using more frequently..
> > > 
> > > Kenneth/ZNorQ
> > 
> > Ah.. I didn't get that.
> 
> Hehe, np.
> 
> > The links are "obviously" registry entries. I'll try to find out today, but
> 
> I'd appreciate that, CChris, but don't exhaust yourself trying. It's not
> really
> a big deal, just gives me some minor additional comforts. A pity if one have
> to
> make registry changes to do this, as the company I work for has limited the
> access
> to that..
> 
> > they may change with the Windows version.
> 
> I'm using WinXP.
> 
> > 
> > CChris

I eventually found out this page
http://msdn.microsoft.com/en-us/library/ms646960(VS.85).aspx#_win32_Open_and_Save_As_Dialog_Box_Customization

Here is the relevant material. Copyright to whom it's due:

The contents of the Places bar are determined by the contents of the following
subkey:


HKEY_CURRENT_USER
Software
Microsoft
Windows
CurrentVersion
Policies
Comdlg32
Placesbar
Currently, there can only be five entries under this key, and the value/name
index is zero-based. The names for the entries should be Place0, Place1,
Place2,Place3, and Place4. The values of the entries can be REG_DWORD, REG_SZ, or
REG_EXPAND_SZ values that identify locations to include in the places bar.

Value type Meaning 
REG_DWORD A CSIDL value that identifies a folder. For a list of CSIDL values,
see CSIDL.
REG_SZ or REG_EXPAND_SZ A null-terminated string that specifies a valid path. 

Now, you only need to:
* use wisely a registry tool (there are a couple in the archive), 
* get the CSIDL for the items you want - or simply remove those you don't want.
Back the key up before any tampering. Google for CSIDL and select hits on MSDN.

CChris

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

13. Re: Win32Lib; Shortcuts in GetOpenFileDialog

ZNorQ wrote:
> 
> don cole wrote:
> > 
> > ZNorQ wrote:
> > > 
> > > don cole wrote:
> > > > 
> > > > ZNorQ wrote:
> > > > > 
> > > > > Hi,
> > > > > 
> > > > > a) Is there functionality in Win32Lib that enables the coder to change
> > > > > links
> > > > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a
> > > > > red
> frame.)</font></i>
> > > > > 
> > > > > <a
> > > > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > > > 
> > > > > 
> > > > > b) [OT] Is it at all possible for the general user to change this in
> > > > > Windows
> > > > > settings?
> > > > 
> > > >       Yes.
> > > > 
> > > >       Well sort of:
> > > > 
> > > > }}}
<eucode>
> > > >        filename = getOpenFileName(Window1,            -- parent window
> > > >        "D:\\where_I_want to_open",                    -- where name
> > > >                           { "Data File", "*.Dat",     -- data files
> > > >                             "All Files", "*.*" } )    -- everything else
> > > >
> > > > 
> > > > </eucode>
{{{

> > > > > 
> > > > > Kenneth / ZNorQ
> > > > 
> > > > 
> > > > Don Cole
> > > 
> > > Ehr, I knew my english and my linguistic skills sucked, but I didn't know
> > > it
> > > was this awful.. :p
> > > 
> > > What you showed me above isn't exacly what I'm after. I know about that -
> > > what
> > > I'm after is the ability change the links on the left hand side. Those are
> > > shortcuts
> > > to different directories, but I want to change some of them to suit my own
> > > need..
> > > They are highlighted with a red frame and a yellow transparent background
> > > in
> > > the picture I linked to in my initial post.
> > > 
> > > Kenneth / ZNorQ
> > 
> >     Hello,ZNorQ,
> > 
> >     I thought you didn't like where the window opended not the shortcuts to
> > the left.
> 
> Hehe, no, I know you can specify a default file and path - AND the different
> file
> extenstions. I was talking about the *re-defitinition* of the shortcuts on the
> left.
> My fault, sorry man.
> 
> > 
> >     As to the shortcuts I think this is matter of Bill Gates knows, "What's
> > best for you."
> 
> Hehe, excellent statement, and so true. Anyway, that's basically the same
> thing
> those
> low-brow 'experts' at service desk told me here @ work, but I just didn't want
> to 
> acknowledge that (in a state of denial) just yet..
> 
> > 
> >     What I do is use Windows Classic View then I don't have to look at those
> > shortcuts at all.
> 
> Oh, I don't want to take them away - I use some of them. Just that "my
> documents"
> is
> one of the least used by me, and I wanted my own-most-used shortcut.
> 
> > 
> >     You can always put your own shortcuts in Window's Start Menu, just by
> >     dragging
> > them there.
> 
> I don't see how that will help me when I'm opening files. This IS related to
> opening files 
> (hence the open file dialog reference), not having general shortcuts to
> directories.
> > 
> >     Also you can put them in the Window's status bar.
> 
> Not quite following you...??
> 
> > 
> > Don Cole
> 
> Kenneth / ZNorQ


Perhaps 
I should have said toolbar.  If you right click any vacant area of the tool
   bar at the bottom of the screen in winXP you can add My Documents to the toolbar
   or any folder you want.
As CChris said be very carful messing with the registry. I have made my
   computer unbootable and had to reinstall XP. Although this can be done without
   loosing all your data it's not a good idea (to mess up the registry).

Don Cole

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

14. Re: Win32Lib; Shortcuts in GetOpenFileDialog

CChris wrote:
> 
> ZNorQ wrote:
> > 
> > CChris wrote:
> > > 
> > > ZNorQ wrote:
> > > > 
> > > > CChris wrote:
> > > > > 
> > > > > ZNorQ wrote:
> > > > > > 
> > > > > > Hi,
> > > > > > 
> > > > > > a) Is there functionality in Win32Lib that enables the coder to
> > > > > > change
> links</font></i>
> > > > > > in the GetOpenFileDialog? (See enclosed picture - highlighted with a
> > > > > > red
> > frame.)</font></i>
> > > > > > 
> > > > > > <a
> > > > > > href="http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg">http://euphoria.znorq.net/images/forum/openDialog_shortcuts_HF09.jpg</a>
> > > > > > 
> > > > > > 
> > > > > > b) [OT] Is it at all possible for the general user to change this in
> Windows</font></i>
> > > > > > settings?
> > > > > > 
> > > > > > Kenneth / ZNorQ
> > > > > 
> > > > > Just run the openfile.exw demo in the Demo\ folder. It is displaying
> > > > > exactly
> > > > > that on my system (both at home and at work). If it does for you, then
> > > > > you
> > just</font></i>
> > > > > have to inspect that code...
> > > > > If it doesn't, you'll have to tell us which version of Windows, which
> > > > > desktop
> > > > > theme, and this sort of things, so that I can understands what could
> > > > > possibly
> > > > > go wrong.
> > > > > 
> > > > > CChris
> > > > 
> > > > I'm not quite sure what you are aiming at, CChris. I do get the dialog
> > > > as shown
> > > > on the picture - and in the above example you mentioned.
> > > > 
> > > > What I'm asking; "Is it possible to change those links to suit your own
> > > > need?".
> > > > For example, I don't use "my documents" much, so I'd like to change it
> > > > to some
> > > > other folder I'm using more frequently..
> > > > 
> > > > Kenneth/ZNorQ
> > > 
> > > Ah.. I didn't get that.
> > 
> > Hehe, np.
> > 
> > > The links are "obviously" registry entries. I'll try to find out today,
> > > but
> > 
> > I'd appreciate that, CChris, but don't exhaust yourself trying. It's not
> > really
> > a big deal, just gives me some minor additional comforts. A pity if one have
> > to
> > make registry changes to do this, as the company I work for has limited the
> > access
> > to that..
> > 
> > > they may change with the Windows version.
> > 
> > I'm using WinXP.
> > 
> > > 
> > > CChris
> 
> I eventually found out this page
> <a
> href="http://msdn.microsoft.com/en-us/library/ms646960">http://msdn.microsoft.com/en-us/library/ms646960</a>(VS.85).aspx#_win32_Open_and_Save_As_Dialog_Box_Customization
> 
> Here is the relevant material. Copyright to whom it's due:
> 
> The contents of the Places bar are determined by the contents of the following
> subkey:
> 
> 
> HKEY_CURRENT_USER
> Software
> Microsoft
> Windows
> CurrentVersion
> Policies
> Comdlg32
> Placesbar
> Currently, there can only be five entries under this key, and the value/name
> index is zero-based. The names for the entries should be Place0, Place1,
> Place2,Place3,
> and Place4. The values of the entries can be REG_DWORD, REG_SZ, or
> REG_EXPAND_SZ
> values that identify locations to include in the places bar.
> 
> Value type Meaning 
> REG_DWORD A CSIDL value that identifies a folder. For a list of CSIDL values,
> see CSIDL. 
> REG_SZ or REG_EXPAND_SZ A null-terminated string that specifies a valid path.
> 
> 
> Now, you only need to:
> * use wisely a registry tool (there are a couple in the archive), 
> * get the CSIDL for the items you want - or simply remove those you don't
> want.
> Back the key up before any tampering. Google for CSIDL and select hits on
> MSDN.
> 
> CChris

CChris,

Great work! You didn't have to dedicate so much efforts in helping me out, but
it is greatly appreciated. I haven't had time to try it out yet, but I will as
soon as I'm able.

Again, thank you.

Kenneth / ZNorQ

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

Search



Quick Links

User menu

Not signed in.

Misc Menu