Click here to Skip to main content
15,908,437 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionUsing events of JScript in ATL COM DLL? Pin
ritz123422-May-08 0:30
ritz123422-May-08 0:30 
QuestionCheckbox and Listbox question Pin
monsieur_jj21-May-08 22:32
monsieur_jj21-May-08 22:32 
AnswerRe: Checkbox and Listbox question Pin
monsieur_jj22-May-08 16:24
monsieur_jj22-May-08 16:24 
GeneralRe: Checkbox and Listbox question Pin
Stuart Dootson22-May-08 22:22
professionalStuart Dootson22-May-08 22:22 
GeneralRe: Checkbox and Listbox question Pin
monsieur_jj25-May-08 16:39
monsieur_jj25-May-08 16:39 
GeneralRe: Checkbox and Listbox question Pin
Stuart Dootson26-May-08 12:30
professionalStuart Dootson26-May-08 12:30 
QuestionCButton question Pin
monsieur_jj20-May-08 19:43
monsieur_jj20-May-08 19:43 
AnswerRe: CButton question Pin
Stuart Dootson20-May-08 20:27
professionalStuart Dootson20-May-08 20:27 
If you're using WTL, then you want CFolderDialog - see Michael Dunn's excellent article[^].

Otherwise, You need SHBrowseForFolder[^] for the whole choosing/creating a folder thing. I'll give you 10 extra bonus points if you can get it to start up displaying a folder of your choice (hint: you need to register a callback in the lpfn member of the structure whose address you pass as a parameter, and that callback needs to respond to BFFM_INITIALIZED by sending the BFFM_SETSELECTION with the folder).

Oh, and retrieving the folder that was selected? Yeah, you'll need to get friendly with PIDLs.

Alternatively, you could use the nice, easy to use wrapper for SHBrowseForFolder from this CP article[^]. Might be a little easier than using SHBrowseForFolder yourself.



GeneralRe: CButton question Pin
monsieur_jj21-May-08 15:43
monsieur_jj21-May-08 15:43 
GeneralRe: CButton question Pin
Stuart Dootson21-May-08 20:53
professionalStuart Dootson21-May-08 20:53 
GeneralRe: CButton question Pin
monsieur_jj21-May-08 22:25
monsieur_jj21-May-08 22:25 
QuestionAbout DLL files and Comm control Pin
savitri19-May-08 23:10
savitri19-May-08 23:10 
AnswerRe: About DLL files and Comm control Pin
Cedric Moonen19-May-08 23:24
Cedric Moonen19-May-08 23:24 
GeneralRe: About DLL files and Comm control Pin
savitri20-May-08 0:15
savitri20-May-08 0:15 
GeneralRe: About DLL files and Comm control Pin
Cedric Moonen20-May-08 0:54
Cedric Moonen20-May-08 0:54 
GeneralRe: About DLL files and Comm control Pin
ShilpiP20-May-08 1:15
ShilpiP20-May-08 1:15 
AnswerRe: About DLL files and Comm control Pin
kuttiam22-May-08 19:35
kuttiam22-May-08 19:35 
QuestionHow to get the html text box value. Pin
Member 462021617-May-08 3:12
Member 462021617-May-08 3:12 
AnswerRe: How to get the html text box value. Pin
CPallini19-May-08 23:44
mveCPallini19-May-08 23:44 
Questionboost compiles slow? Pin
followait17-May-08 0:38
followait17-May-08 0:38 
AnswerRe: boost compiles slow? Pin
Stuart Dootson17-May-08 12:18
professionalStuart Dootson17-May-08 12:18 
GeneralRe: boost compiles slow? Pin
followait17-May-08 17:17
followait17-May-08 17:17 
GeneralRe: boost compiles slow? Pin
Stephen Hewitt20-May-08 18:40
Stephen Hewitt20-May-08 18:40 
GeneralRe: boost compiles slow? Pin
followait20-May-08 19:04
followait20-May-08 19:04 
GeneralRe: boost compiles slow? Pin
Stephen Hewitt20-May-08 19:09
Stephen Hewitt20-May-08 19:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.