Click here to Skip to main content
15,917,940 members
Home / Discussions / Article Writing
   

Article Writing

 
Generalplaying multiple notes from memory Pin
Laura Michaels20-Dec-99 4:03
sussLaura Michaels20-Dec-99 4:03 
GeneralSuperclassing Pin
Ivan A. Fotan19-Dec-99 3:19
Ivan A. Fotan19-Dec-99 3:19 
GeneralRE: Superclassing Pin
Andrei Zenkovitch20-Dec-99 5:32
Andrei Zenkovitch20-Dec-99 5:32 
QuestionDoes anyone have: mpeg decoding source code (C++)? Pin
kai16-Dec-99 5:48
kai16-Dec-99 5:48 
GeneralNew cool Windows 2000 Open File Dialogs with MFC Pin
Member 466015-Dec-99 5:05
Member 466015-Dec-99 5:05 
GeneralRE: New cool Windows 2000 Open File Dialogs with MFC Pin
Erik Thompson15-Dec-99 9:34
sitebuilderErik Thompson15-Dec-99 9:34 
GeneralRE: New cool Windows 2000 Open File Dialogs with MFC Pin
Jesse Ezell15-Dec-99 11:53
Jesse Ezell15-Dec-99 11:53 
GeneralRE: New cool Windows 2000 Open File Dialogs with MFC Pin
Andrei Zenkovitch20-Dec-99 5:49
Andrei Zenkovitch20-Dec-99 5:49 
New Open File dialog is available only on Windows 2000 and in order to use it you have to use new version of OPENFILENAME structure that is defined in platform SDK 2000 as following:

typedef struct tagOFN {
DWORD lStructSize;
HWND hwndOwner;
HINSTANCE hInstance;
LPCTSTR lpstrFilter;
LPTSTR lpstrCustomFilter;
DWORD nMaxCustFilter;
DWORD nFilterIndex;
LPTSTR lpstrFile;
DWORD nMaxFile;
LPTSTR lpstrFileTitle;
DWORD nMaxFileTitle;
LPCTSTR lpstrInitialDir;
LPCTSTR lpstrTitle;
DWORD Flags;
WORD nFileOffset;
WORD nFileExtension;
LPCTSTR lpstrDefExt;
DWORD lCustData;
LPOFNHOOKPROC lpfnHook;
LPCTSTR lpTemplateName;
#if (_WIN32_WINNT >= 0x0500)
struct IMoniker **rgpMonikers;
DWORD cMonikers;
DWORD FlagsEx;
#endif // (_WIN32_WINNT >= 0x0500)
} OPENFILENAME;

The new element of this structure that you will be primarily interested in is FlagsEx. It can be set to the following value:
<<<<
OFN_EX_NOPLACESBAR
If this flag is set, the places bar is not displayed. If this flag is not set, Explorer-style dialog boxes include a places bar containing icons for commonly-used folders, such as Favorites and Desktop.
>>>>

Regards
Andrei Zenkovitch
Dundas Software

==================
The original message was:

Does anybody know what to do to use the new Open File Dialog
that is now standard on Windows 2000 ? My app works fin on
W2000 but the Open File Dialog looks exactly the same way as
under Windows 95/98/NT.

Thanks

GeneralRE: New cool Windows 2000 Open File Dialogs with MFC Pin
Jeremy Davis16-Feb-00 22:42
Jeremy Davis16-Feb-00 22:42 
GeneralRe: New cool Windows 2000 Open File Dialogs with MFC Pin
Thomas Freudenberg14-Apr-00 5:25
Thomas Freudenberg14-Apr-00 5:25 
Generalclass CBitmapDC : public CDC Pin
Jason Hattingh11-Jan-00 0:19
sussJason Hattingh11-Jan-00 0:19 
GeneralRE: class CBitmapDC : public CDC Pin
RAJIV16-Jan-00 10:26
RAJIV16-Jan-00 10:26 
GeneralRE: class CBitmapDC : public CDC Pin
Chris Maunder9-Feb-00 13:03
cofounderChris Maunder9-Feb-00 13:03 
QuestionRichEditCtrl - pasted text not visible initially!? Pin
Steve Roach5-Jan-00 2:24
Steve Roach5-Jan-00 2:24 
AnswerRE: RichEditCtrl - pasted text not visible initially!? Pin
Wes Rogers17-Jan-00 12:47
Wes Rogers17-Jan-00 12:47 
GeneralList files in project Pin
Vern Sauder4-Jan-00 12:12
sussVern Sauder4-Jan-00 12:12 
GeneralDatabase code Pin
shahzad11-Dec-99 5:05
shahzad11-Dec-99 5:05 
GeneralRE: Database code Pin
michaels3-Feb-00 5:00
michaels3-Feb-00 5:00 
GeneralRe: Working on it Pin
PeterK21-Apr-00 7:55
PeterK21-Apr-00 7:55 
Generalxml code generator Pin
David Hubbard10-Dec-99 5:00
David Hubbard10-Dec-99 5:00 
QuestionA extended CEdit with simple input output to replace DOS shell ? Pin
To Tran Tung10-Dec-99 4:46
To Tran Tung10-Dec-99 4:46 
Generalwildcards Pin
Rajiv Ramachandran7-Dec-99 5:52
Rajiv Ramachandran7-Dec-99 5:52 
GeneralRE: wildcards Pin
Gertjan Schuurmans9-Dec-99 2:42
Gertjan Schuurmans9-Dec-99 2:42 
GeneralCVS in VC IDE Pin
George3-Dec-99 20:24
George3-Dec-99 20:24 
GeneralRE: CVS in VC IDE Pin
Jonathan Gilligan7-Dec-99 17:12
Jonathan Gilligan7-Dec-99 17:12 

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.