🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

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

#559
From: Daryl
Date: Fri, 01 Feb 2008 22:43
11 lines
1704 bytes
When using SHBrowseForFolder Function with a callback function - I have the 
BROWSEINFO Structure flags BIF_VALIDATE and BIF_EDITBOX set.

Now when an invalid folder is entered by the user in the EDIT box and the 
call back function uMsg BFFM_VALIDATEFAILED is enacted - 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? or perhaps remove it and 
refocus onto a folder in the dialog's folder tree?

thanks
daryl 
Technical Details
Message-ID: <47a3a07f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!indigo.octanews.net!news-out.octanews.net!mauve.octanews.net!newsfeeds.sol.net!192.101.42.2.MISMATCH!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,b9ce09f85e82d150,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Daryl" <devaccount@hotmail.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: SHBrowseForFolder Function and highlighting text in the dialog's EDIT box
Date: Sat, 2 Feb 2008 08:43:13 +1000
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16480
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545
NNTP-Posting-Host: 202.63.43.146
Message-ID: <47a3a07f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1201905791 202.63.43.146 (1 Feb 2008 14:43:11 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!indigo.octanews.net!news-out.octanews.net!mauve.octanews.net!newsfeeds.sol.net!192.101.42.2.MISMATCH!ucberkeley!news-hog.berkeley.edu!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
X-Original-Bytes: 1480