Click here to Skip to main content
16,006,531 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Data Type conversion. Pin
VCSharp00715-Oct-04 18:22
VCSharp00715-Oct-04 18:22 
GeneralRe: Data Type conversion. Pin
David Crow15-Oct-04 5:51
David Crow15-Oct-04 5:51 
GeneralRe: Data Type conversion. Pin
Phil J Pearson15-Oct-04 0:51
Phil J Pearson15-Oct-04 0:51 
GeneralDTS package with input parameters for VC++ application Pin
tgprakash14-Oct-04 23:09
tgprakash14-Oct-04 23:09 
GeneralCode for Dialog in C++ Pin
pcxboy14-Oct-04 23:05
pcxboy14-Oct-04 23:05 
GeneralRe: Code for Dialog in C++ Pin
toxcct14-Oct-04 23:32
toxcct14-Oct-04 23:32 
GeneralRe: Code for Dialog in C++ Pin
pcxboy14-Oct-04 23:38
pcxboy14-Oct-04 23:38 
GeneralRe: Code for Dialog in C++ Pin
toxcct14-Oct-04 23:56
toxcct14-Oct-04 23:56 
<font color=#0000FF>void</font> CATM_gui1Dlg::OnSavings() {
    <font color=#0000FF>char</font> strDestFile[260] = <font color=#808080>""</font>;
    OPENFILENAME file;
 
    <font color=#008000>// Initialisation...</font>
    ZeroMemory(&file, <font color=#0000FF>sizeof</font>(file));
    file.lStructSize     = <font color=#0000FF>sizeof</font>(file);
    file.hWndOwner       = <font color=#0000FF>this</font>->m_hWnd;
    file.lpstrFile       = strDestFile;
    file.nMaxFile        = <font color=#0000FF>sizeof</font>(strDestFile);
    file.lpstrFilter     = <font color=#808080>"Text files\0*.TXT\0"
                           "All files\0*.*\0"</font>;
    file.nFilterIndex    = 0;
    file.lpstrFileTitle  = NULL;
    file.nMaxFileTitle   = 0;
    file.lpstrInitialDir = NULL;
    file.Flags           = OFN_OVERWRITEPROMPT |
                           OFN_PATHMUSTEXIST;
 
    <font color=#008000>// Opens the dialog...</font>
    <font color=#0000FF>if</font> (GetSaveFileName(&file) == TRUE) {
        <font color=#008000>// Do whatever you want with the complete file
        // name and path contained into strDestFile...</font>
    }
}



TOXCCT >>> GEII power


GeneralRe: Code for Dialog in C++ Pin
benjymous15-Oct-04 1:48
benjymous15-Oct-04 1:48 
GeneralRe: Code for Dialog in C++ Pin
Michael P Butler15-Oct-04 0:25
Michael P Butler15-Oct-04 0:25 
GeneralRe: Code for Dialog in C++ Pin
Bob Stanneveld15-Oct-04 2:18
Bob Stanneveld15-Oct-04 2:18 
GeneralRe: CString problem Pin
toxcct14-Oct-04 23:04
toxcct14-Oct-04 23:04 
QuestionDoes anybody know how to add a version window to a non MFC DLL?? Pin
godbert14-Oct-04 22:47
godbert14-Oct-04 22:47 
AnswerRe: Does anybody know how to add a version window to a non MFC DLL?? Pin
Blake Miller15-Oct-04 4:33
Blake Miller15-Oct-04 4:33 
GeneralListCtrl Flicker Pin
sweep12314-Oct-04 22:12
sweep12314-Oct-04 22:12 
GeneralRe: ListCtrl Flicker Pin
Phil J Pearson15-Oct-04 1:06
Phil J Pearson15-Oct-04 1:06 
GeneralRe: ListCtrl Flicker Pin
sweep12315-Oct-04 2:13
sweep12315-Oct-04 2:13 
GeneralRe: ListCtrl Flicker Pin
David Crow15-Oct-04 5:56
David Crow15-Oct-04 5:56 
General&quot;GetDlgItem&quot; call Fails...... Pin
Pazzuzu14-Oct-04 21:54
Pazzuzu14-Oct-04 21:54 
GeneralRe: &quot;GetDlgItem&quot; call Fails...... Pin
toxcct14-Oct-04 22:43
toxcct14-Oct-04 22:43 
GeneralRe: &quot;GetDlgItem&quot; call Fails...... Pin
Maximilien15-Oct-04 2:48
Maximilien15-Oct-04 2:48 
GeneralRe: &quot;GetDlgItem&quot; call Fails...... Pin
Blake Miller15-Oct-04 4:38
Blake Miller15-Oct-04 4:38 
GeneralRe: &quot;GetDlgItem&quot; call Fails...... Pin
Pazzuzu17-Oct-04 20:09
Pazzuzu17-Oct-04 20:09 
GeneralRe: &quot;GetDlgItem&quot; call Fails...... Pin
Pazzuzu17-Oct-04 22:13
Pazzuzu17-Oct-04 22:13 
GeneralRe: &quot;GetDlgItem&quot; call Fails...... Pin
Blake Miller18-Oct-04 6:30
Blake Miller18-Oct-04 6:30 

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.