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


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

Re: Common Dialog Function

From Deanna Earley <dee.earley@icode.co.uk>
Newsgroups comp.lang.basic.visual.misc
Subject Re: Common Dialog Function
Date 2012-03-14 10:03 +0000
Organization Aioe.org NNTP Server
Message-ID <jjpqd9$i8e$1@speranza.aioe.org> (permalink)
References <ZFJ7r.7894$_N4.2103@newsfe07.ams2> <jjo0rh$uh2$1@dont-email.me> <jjo2ss$brr$1@dont-email.me> <jjoaqo$t2n$1@dont-email.me>

Show all headers | View raw


On 13/03/2012 20:31, Mike Williams wrote:
> "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?

I quick process explorer trace shows the data to be stored as a fairly 
simple binary blob under 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\ComDlg32\CIDSizeMRU

When I close the dialog, it enumerates all entries until it find the 
value matching the exe name (not the full path) then updates it.

It also updates various other locations with the folder view state 
(icons size, sort, etc) and the nav pane expanded state but they may be 
more generic shell settings.

-- 
Deanna Earley (dee.earley@icode.co.uk)
i-Catcher Development Team
http://www.icode.co.uk/icatcher/

iCode Systems

(Replies direct to my email address will be ignored.
Please reply to the group.)

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