Click here to Skip to main content
15,923,557 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How??? Pin
Nish Nishant19-Nov-01 13:07
sitebuilderNish Nishant19-Nov-01 13:07 
GeneralPostMessage (hWnd = 0) Pin
Goa19-Nov-01 8:24
Goa19-Nov-01 8:24 
GeneralRe: PostMessage (hWnd = 0) Pin
Alvaro Mendez19-Nov-01 10:25
Alvaro Mendez19-Nov-01 10:25 
GeneralRe: hWnd = 0 -> No windows Pin
Masaaki Onishi19-Nov-01 11:38
Masaaki Onishi19-Nov-01 11:38 
GeneralRe: PostMessage (hWnd = 0) Pin
luckylourson20-Nov-01 1:27
luckylourson20-Nov-01 1:27 
GeneralSHBrowseForFolder and BIF_NONEWFOLDERBUTTON Pin
Maximilien19-Nov-01 7:56
Maximilien19-Nov-01 7:56 
GeneralRe: SHBrowseForFolder and BIF_NONEWFOLDERBUTTON Pin
Michael Dunn19-Nov-01 8:02
sitebuilderMichael Dunn19-Nov-01 8:02 
GeneralRe: SHBrowseForFolder and BIF_NONEWFOLDERBUTTON Pin
Mark Terrano30-Nov-01 6:31
Mark Terrano30-Nov-01 6:31 
Go to your MSDN CDs, or msdn.microsoft.com (typing URL from memory) and get the latest SDK for the windows shell. It'll replace your shlobj.h file and provide the new values that you need to have defined.
You might also have to add WINVER=0x0400 in your settings - if you are using a feature that says Version 0.4 - you want 0x0400 for 5 you want WINVER=0x0500

I was puzzled by this too at first. FYI you can just plug in the values instead of relying on the defines and you'll be okay.

Hope this helps:

#define BIF_RETURNONLYFSDIRS 0x0001 // For finding a folder to start document searching
#define BIF_DONTGOBELOWDOMAIN 0x0002 // For starting the Find Computer
#define BIF_STATUSTEXT 0x0004 // Top of the dialog has 2 lines of text for BROWSEINFO.lpszTitle and one line if
// this flag is set. Passing the message BFFM_SETSTATUSTEXTA to the hwnd can set the
// rest of the text. This is not used with BIF_USENEWUI and BROWSEINFO.lpszTitle gets
// all three lines of text.
#define BIF_RETURNFSANCESTORS 0x0008
#define BIF_EDITBOX 0x0010 // Add an editbox to the dialog
#define BIF_VALIDATE 0x0020 // insist on valid result (or CANCEL)

#define BIF_NEWDIALOGSTYLE 0x0040 // Use the new dialog layout with the ability to resize
// Caller needs to call OleInitialize() before using this API

#define BIF_USENEWUI (BIF_NEWDIALOGSTYLE | BIF_EDITBOX)

#define BIF_BROWSEINCLUDEURLS 0x0080 // Allow URLs to be displayed or entered. (Requires BIF_USENEWUI)
#define BIF_UAHINT 0x0100 // Add a UA hint to the dialog, in place of the edit box. May not be combined with BIF_EDITBOX
#define BIF_NONEWFOLDERBUTTON 0x0200 // Do not add the "New Folder" button to the dialog. Only applicable with BIF_NEWDIALOGSTYLE.
#define BIF_NOTRANSLATETARGETS 0x0400 // don't traverse target as shortcut

#define BIF_BROWSEFORCOMPUTER 0x1000 // Browsing for Computers.
#define BIF_BROWSEFORPRINTER 0x2000 // Browsing for Printers
#define BIF_BROWSEINCLUDEFILES 0x4000 // Browsing for Everything
#define BIF_SHAREABLE 0x8000 // sharable resources displayed (remote shares, requires BIF_USENEWUI)








--Mark Terrano

QuestionFast scan binary file with STL? Pin
Todd Smith19-Nov-01 7:53
Todd Smith19-Nov-01 7:53 
GeneralPoor little orphan button Pin
Derek Lakin19-Nov-01 6:51
Derek Lakin19-Nov-01 6:51 
GeneralRe: Poor little orphan button Pin
Alvaro Mendez19-Nov-01 10:36
Alvaro Mendez19-Nov-01 10:36 
GeneralRe: Poor little orphan button Pin
Derek Lakin19-Nov-01 19:59
Derek Lakin19-Nov-01 19:59 
GeneralRe: Poor little orphan button Pin
Alvaro Mendez20-Nov-01 8:10
Alvaro Mendez20-Nov-01 8:10 
GeneralRe: Poor little orphan button Pin
Derek Lakin20-Nov-01 23:32
Derek Lakin20-Nov-01 23:32 
GeneralRe: Poor little orphan button Pin
Derek Lakin22-Nov-01 0:54
Derek Lakin22-Nov-01 0:54 
GeneralDialog Box Problems Pin
19-Nov-01 6:29
suss19-Nov-01 6:29 
GeneralRe: Dialog Box Problems Pin
Carlos Antollini19-Nov-01 7:54
Carlos Antollini19-Nov-01 7:54 
GeneralRe: Dialog Box Problems Pin
Michael Dunn19-Nov-01 7:57
sitebuilderMichael Dunn19-Nov-01 7:57 
GeneralRe: Dialog Box Problems Pin
mvworld19-Nov-01 10:46
mvworld19-Nov-01 10:46 
GeneralPrinting - positioning problem Pin
pmarki19-Nov-01 6:09
pmarki19-Nov-01 6:09 
GeneralRe: Printing - positioning problem Pin
Rassman20-Nov-01 5:18
Rassman20-Nov-01 5:18 
GeneralMicrosoft FlexGrid Control 6.0 Pin
19-Nov-01 5:37
suss19-Nov-01 5:37 
GeneralRe: Microsoft FlexGrid Control 6.0 Pin
Carlos Antollini19-Nov-01 5:51
Carlos Antollini19-Nov-01 5:51 
Questionhow to move (drag) controls in the dialog? Pin
19-Nov-01 5:20
suss19-Nov-01 5:20 
AnswerRe: how to move (drag) controls in the dialog? Pin
Andres Manggini19-Nov-01 9:49
Andres Manggini19-Nov-01 9:49 

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.