On Sun, 23 Mar 2003 23:46:44 +0100 (Romance Standard Time) Xavier Nodet <[EMAIL PROTECTED]> wrote:
XN> [Back on this old thread, which I left full in this message as won't XN> suppose you keep all mails] I do at this -- why do you think I regularly run out of the quota on Free IMAP server? :-) XN> > I think the simplest fix would be to remember the last selected folder in XN> > wxPTreeCtrl and restore it on startup and ignore the first selection event XN> > in wxFolderTree -- then the folder will be just selected, but not opened. XN> > The reason I say this is that some folder is definitely going to be XN> > selected in the tree (unless we forcibly set the selection to the root XN> > folder if "don't open at startup" is on?) XN> XN> That could be a good solution: select the 'Home' folder, as defined in XN> the Preferences (Folder Tree pane). If you can explain me how to force XN> this selection before the comctl32.dll kicks in... I might be (ok, I am) totally sleeping, but don't we need to do it *after* it kicks in? Otherwise it would still set focus to a wrong folder later... And this is simple to do: just have a flag "m_wasInitialSelectionSet" in wxFolderTreeImpl and set the focus to the right folder in OnIdle() if it's not set (and set it, of course). Could you please try to do it? I'd really like to concentrate on "serious" bugs and make a 0.65 release a.s.a.p. TIA! VZ ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Mahogany-Developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/mahogany-developers
