Click here to Skip to main content
15,886,873 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: DirectX functions - Graphics card Please help me, Its URGENT Pin
velayudhan_raj4-Jun-06 22:20
velayudhan_raj4-Jun-06 22:20 
QuestionLooking for data structures for long integer Pin
George_George4-Jun-06 20:33
George_George4-Jun-06 20:33 
AnswerRe: Looking for data structures for long integer Pin
Maxwell Chen4-Jun-06 21:03
Maxwell Chen4-Jun-06 21:03 
GeneralRe: Looking for data structures for long integer Pin
George_George4-Jun-06 21:15
George_George4-Jun-06 21:15 
AnswerRe: Looking for data structures for long integer Pin
Maxwell Chen4-Jun-06 21:46
Maxwell Chen4-Jun-06 21:46 
GeneralRe: Looking for data structures for long integer Pin
George_George4-Jun-06 22:15
George_George4-Jun-06 22:15 
Questionopen file dialog Pin
iLL eFFect4-Jun-06 20:25
iLL eFFect4-Jun-06 20:25 
AnswerRe: open file dialog Pin
Hamid_RT4-Jun-06 20:37
Hamid_RT4-Jun-06 20:37 
try this
<br />
	static char		File [260];<br />
	OPENFILENAME m_ofn;<br />
	memset(&m_ofn, 0, sizeof(m_ofn));<br />
	m_ofn.lStructSize       = sizeof(OPENFILENAME);<br />
	m_ofn.hwndOwner         = m_hWnd;<br />
m_ofn.hInstance         = AfxGetApp()->m_hInstance;<br />
m_ofn.lpstrFilter		= 	"All files(*.*)\0*.*\0";<br />
    m_ofn.lpstrCustomFilter = NULL;<br />
    m_ofn.nMaxCustFilter    = 0;<br />
    m_ofn.nFilterIndex      = 0;<br />
    m_ofn.lpstrFile         = File ;<br />
<br />
    m_ofn.nMaxFile          = sizeof(File );<br />
    m_ofn.lpstrFileTitle    = 0;<br />
    m_ofn.nMaxFileTitle     = 0;<br />
    m_ofn.lpstrInitialDir   = NULL;<br />
<br />
    m_ofn.lpstrTitle        = "Save a File";<br />
    m_ofn.nFileOffset       = 0;<br />
    m_ofn.nFileExtension    = 0;<br />
    m_ofn.lpstrDefExt       = NULL;<br />
    m_ofn.lCustData         = 0;<br />
    m_ofn.lpfnHook 		   = NULL;<br />
    m_ofn.lpTemplateName    = NULL;<br />
<br />
m_ofn.Flags= OFN_HIDEREADONLY|OFN_EXPLORER |OFN_ENABLEHOOK ;<br />
<br />
GetSaveFileName(&m_ofn);<br />
<br />



whitesky


GeneralRe: open file dialog Pin
iLL eFFect4-Jun-06 22:44
iLL eFFect4-Jun-06 22:44 
AnswerRe: open file dialog Pin
Viorel.4-Jun-06 20:53
Viorel.4-Jun-06 20:53 
QuestionShow struct contents in Notepad Pin
RajiRaghu4-Jun-06 19:33
RajiRaghu4-Jun-06 19:33 
AnswerRe: Show struct contents in Notepad Pin
_AnsHUMAN_ 4-Jun-06 19:43
_AnsHUMAN_ 4-Jun-06 19:43 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 19:51
RajiRaghu4-Jun-06 19:51 
GeneralRe: Show struct contents in Notepad Pin
ThatsAlok4-Jun-06 19:56
ThatsAlok4-Jun-06 19:56 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 20:00
RajiRaghu4-Jun-06 20:00 
GeneralRe: Show struct contents in Notepad Pin
ThatsAlok4-Jun-06 20:38
ThatsAlok4-Jun-06 20:38 
GeneralRe: Show struct contents in Notepad Pin
FarPointer4-Jun-06 20:59
FarPointer4-Jun-06 20:59 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 21:47
RajiRaghu4-Jun-06 21:47 
GeneralRe: Show struct contents in Notepad Pin
ThatsAlok4-Jun-06 22:11
ThatsAlok4-Jun-06 22:11 
GeneralRe: Show struct contents in Notepad Pin
Hamid_RT4-Jun-06 22:17
Hamid_RT4-Jun-06 22:17 
GeneralRe: Show struct contents in Notepad Pin
RajiRaghu4-Jun-06 22:56
RajiRaghu4-Jun-06 22:56 
AnswerRe: Show struct contents in Notepad Pin
_AnsHUMAN_ 4-Jun-06 20:38
_AnsHUMAN_ 4-Jun-06 20:38 
QuestionEvent Viewer Pin
ashokvishnu4-Jun-06 19:26
ashokvishnu4-Jun-06 19:26 
AnswerRe: Event Viewer Pin
Anilkumar K V5-Jun-06 0:40
Anilkumar K V5-Jun-06 0:40 
GeneralRe: Event Viewer Pin
ashokvishnu5-Jun-06 1:09
ashokvishnu5-Jun-06 1: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.