🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #560

Re: SHBrowseForFolder Function and highlighting text in the dialog's EDIT box

#560
From: Remy Lebeau (TeamB)
Date: Sat, 02 Feb 2008 00:18
19 lines
1602 bytes
"Daryl" <devaccount@hotmail.com> wrote in message 
news:47a3a07f@newsgroups.borland.com...

> Is it possible after the error message is closed to highlight
> the incorrect folder name in the EDIT box in the Browse
> for Folder dialog?

Not directly.  You would have to manually find the HWND of the edit field 
and then pass it to SetFocus().

> or perhaps remove it and refocus onto a folder in the dialog's
> folder tree?

Send a BFFM_SETSELECTION message to the HWND provided by the callback, 
specifying a valid path.


Gambit 
Technical Details
Message-ID: <47a3b6ac$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47a3a07f@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b9ce09f85e82d150
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <47a3a07f@newsgroups.borland.com>
Subject: Re: SHBrowseForFolder Function and highlighting text in the dialog's EDIT box
Date: Fri, 1 Feb 2008 16:18:11 -0800
Lines: 21
Organization: Lebeau Software
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Response
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 207.178.157.90
Message-ID: <47a3b6ac$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201911468 207.178.157.90 (1 Feb 2008 16:17:48 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!club-internet.fr!feedme-small.clubint.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail