Click here to Skip to main content
15,902,870 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Which frormat is used for file DRAG to windows explorer ? Pin
vgrigor29-Mar-04 20:47
vgrigor29-Mar-04 20:47 
GeneralXP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
ohadp29-Mar-04 1:13
ohadp29-Mar-04 1:13 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
Antti Keskinen29-Mar-04 4:52
Antti Keskinen29-Mar-04 4:52 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
ohadp29-Mar-04 4:54
ohadp29-Mar-04 4:54 
GeneralRe: XP adds 'A:' to SendTo menu although it doesn't appear in the SendTo folder Pin
Antti Keskinen29-Mar-04 5:32
Antti Keskinen29-Mar-04 5:32 
GeneralFileDialog with the Favourites control on left Pin
andrewtruckle28-Mar-04 23:41
andrewtruckle28-Mar-04 23:41 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 3:16
David Crow29-Mar-04 3:16 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 3:55
andrewtruckle29-Mar-04 3:55 
I have tried this code below, and it does indeed show a control on the left. But for some reason it still doesn't list "Favourites" as one of the choices.

Also, it means I loose all the benfits that were in the CFileDialog class. It seems like I am trying to re-invent the wheel here.. Smile | :)

Appreciate any advice.

Andrew


void CTestdlgDlg::OnButton1() <br />
{<br />
	// TODO: Add your control notification handler code here<br />
	OPENFILENAME ofn;<br />
	TCHAR		szFile[_MAX_PATH]=_T("");<br />
	ZeroMemory(&ofn, sizeof(OPENFILENAME));<br />
	ofn.lStructSize = sizeof(OPENFILENAME);<br />
	ofn.hwndOwner = GetSafeHwnd();<br />
	ofn.lpstrFile = szFile;<br />
	ofn.nMaxFile = sizeof(szFile);<br />
	ofn.lpstrFilter = "All\0*.*\0Text\0*.TXT\0";<br />
	ofn.nFilterIndex = 1;<br />
	ofn.lpstrFileTitle = NULL;<br />
	ofn.nMaxFileTitle = 0;<br />
	ofn.lpstrInitialDir = NULL;<br />
	ofn.Flags = OFN_PATHMUSTEXIST | OFN_FILEMUSTEXIST;<br />
	<br />
	GetOpenFileName(&ofn);<br />
}

GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:03
David Crow29-Mar-04 4:03 
GeneralRe: FileDialog with the Favourites control on left Pin
andrewtruckle29-Mar-04 4:10
andrewtruckle29-Mar-04 4:10 
GeneralRe: FileDialog with the Favourites control on left Pin
David Crow29-Mar-04 4:22
David Crow29-Mar-04 4:22 
GeneralBluetooth reconnection problems Pin
Julius Cesar28-Mar-04 23:23
Julius Cesar28-Mar-04 23:23 
QuestionGetCalendarInfo ? Pin
Thomas Andersen28-Mar-04 22:30
Thomas Andersen28-Mar-04 22:30 
AnswerRe: GetCalendarInfo ? Pin
Antony M Kancidrowski29-Mar-04 2:14
Antony M Kancidrowski29-Mar-04 2:14 
AnswerRe: GetCalendarInfo ? Pin
Phil J Pearson29-Mar-04 3:02
Phil J Pearson29-Mar-04 3:02 
GeneralRe: GetCalendarInfo ? Pin
Thomas Andersen29-Mar-04 18:10
Thomas Andersen29-Mar-04 18:10 
GeneralUnused scan codes Pin
Julius Cesar28-Mar-04 22:20
Julius Cesar28-Mar-04 22:20 
GeneralRe: Unused scan codes Pin
Antti Keskinen29-Mar-04 0:06
Antti Keskinen29-Mar-04 0:06 
GeneralRe: Unused scan codes Pin
Julius Cesar29-Mar-04 2:23
Julius Cesar29-Mar-04 2:23 
GeneralRe: Unused scan codes Pin
Antti Keskinen29-Mar-04 5:29
Antti Keskinen29-Mar-04 5:29 
GeneralIsFieldNull Pin
Member 87969028-Mar-04 22:16
Member 87969028-Mar-04 22:16 
GeneralFocus problem in FormView Pin
Raghunandan S28-Mar-04 22:08
Raghunandan S28-Mar-04 22:08 
GeneralCFileDialog modification Pin
Haakon S.28-Mar-04 22:04
Haakon S.28-Mar-04 22:04 
GeneralRe: CFileDialog modification Pin
22491728-Mar-04 22:32
22491728-Mar-04 22:32 
QuestionHow to remove an ActiveX from a project ? Pin
Cedric Moonen28-Mar-04 21:33
Cedric Moonen28-Mar-04 21:33 

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.