Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.basic.visual.misc > #943

Re: Common Dialog Function

From "Mike Williams" <Mike@WhiskyAndCoke.com>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Common Dialog Function
Date 2012-03-13 20:31 +0000
Organization A noiseless patient Spider
Message-ID <jjoaqo$t2n$1@dont-email.me> (permalink)
References <ZFJ7r.7894$_N4.2103@newsfe07.ams2> <jjo0rh$uh2$1@dont-email.me> <jjo2ss$brr$1@dont-email.me>

Show all headers | View raw


"Bob Butler" <bob_butler@cox.invalid> wrote in message 
news:jjo2ss$brr$1@dont-email.me...
>
> I have the same issue with 1 app on a Vista box.  When it opens
> the dialog box it is maximized but double-clicking the dialog box
> title bar puts it back to normal.  Other apps using the same code
> do not exhibit the problem  and the same exe doesn't do it on
> other systems.  I've searched the registry and everywhere I can
> think of with no luck.  I've learned to live with it.

Hmm . . . that's quite interesting. I've never actually noticed it before 
but it seems that Windows remembers the most recent window state (and the 
size) of file dialogs on a program by program basis and that the memory 
persists between restarts, so it must be in the registry somewehere. I 
haven't looked for it yet but I'm sure it must be there somewhere. Perhaps 
the entry has become corrupt for the specific program you are talking about?

This "remember the previous file dialog window setting" applies to all 
individual compiled VB6 programs on a program by program basis (and to 
NotePad and MS Word etc, etc) but it will apply on an "IDE basis" to every 
program that is run in the IDE. So the OP (Ivar) has probably just double 
clicked a file dialog while it was open in the IDE (or on a file dialog of a 
VB6 program running in the IDE) to make it maximized and this will be 
remembered even through restarts. The result would be exactly what Ivar has 
described (for example a maximized dialog when using the VB IDE File / Open 
or File / Make Exe dialog, and the soluition of course is for Ivar to double 
click any of those file dialogs once again to normalize it, and that 
normalized setting should be remembers for the future. Actually, now that I 
think about it, this sounds like pretty standard Windows stuff, and I'm sure 
almost everybody knows it, but I must admit that it is something I have only 
just noticed myself. If somebody really needs to then I'm sure it would be 
possible to force any file dialog used in a compiled VB6 exe to open 
normalised if it just happened to have been maximized by the user last time 
he used that same program, but I'm not sure whether it would be a good idea 
to bypass Windows normal behaviour in that way.

Mike

Back to comp.lang.basic.visual.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Common Dialog Function "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-03-13 15:26 +0000
  Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-13 16:51 +0000
  Re: Common Dialog Function Deanna Earley <dee.earley@icode.co.uk> - 2012-03-13 16:58 +0000
    Re: Common Dialog Function Deanna Earley <dee.earley@icode.co.uk> - 2012-03-13 17:38 +0000
  Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-13 17:41 +0000
    Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-13 11:13 -0700
      Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-13 20:31 +0000
        Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-13 15:54 -0700
        Re: Common Dialog Function ralph <nt_consulting64@yahoo.net> - 2012-03-13 19:01 -0500
        Re: Common Dialog Function Deanna Earley <dee.earley@icode.co.uk> - 2012-03-14 10:03 +0000
          Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 11:07 +0000
            Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 11:28 +0000
          Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-14 05:51 -0700
            Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 13:46 +0000
              Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-14 07:23 -0700
                Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 15:10 +0000
                Re: Common Dialog Function "Bob Butler" <bob_butler@cox.invalid> - 2012-03-14 11:20 -0700
                Re: Common Dialog Function "Mike Williams" <Mike@WhiskyAndCoke.com> - 2012-03-14 18:46 +0000
          Re: Common Dialog Function ralph <nt_consulting64@yahoo.net> - 2012-03-14 08:22 -0500
  Re: Common Dialog Function BeeJ <nospam@spamnot.com> - 2012-03-13 11:24 -0800
  Re: Common Dialog Function "Ivar" <ivar.ekstromer000@ntlworld.com> - 2012-03-13 21:53 +0000

csiph-web