Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
D

Desmo16

@Desmo16
About
Posts
67
Topics
35
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • still on CFileDialog
    D Desmo16

    I'm sorry you're right. I didn't think it was so easy, I supposed i had to use fd.m_pOFN->something to do it. I found that immediately after the post. Excuse me again.

    C / C++ / MFC question

  • 2 CFileDialogs
    D Desmo16

    The CFileDialog has on the bottom-right corner a button labeled as "open". How can i change the label into "save" ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • still on CFileDialog
    D Desmo16

    Hi all, The CFileDialog has on the bottom-right corner a button labeled as "open". How can i change the label into "save" ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • 2 CFileDialogs
    D Desmo16

    You are right, now i wrote: CFileDialog fd(TRUE, NULL, "*.txt", OFN_FILEMUSTEXIST | OFN_HIDEREADONLY); fd.m_pOFN->lpstrTitle = "Carica file di osservazioni"; fd.m_pOFN->lpstrFilter = "Text files (*.txt)"; and it works great ! Thanx !

    C / C++ / MFC question

  • 2 CFileDialogs
    D Desmo16

    i tried with CFileDialog fd(TRUE, NULL, percorso, OFN_FILEMUSTEXIST | OFN_HIDEREADONLY); fd.m_pOFN->lpstrTitle = "load file"; fd.m_pOFN->lpstrDefExt = "txt"; and also with CFileDialog fd(TRUE, NULL, percorso, OFN_FILEMUSTEXIST | OFN_HIDEREADONLY); fd.m_pOFN->lpstrTitle = "load file"; fd.SetDefExt("txt"); but it doesn't work. Where should i search in the doc exactly ?

    C / C++ / MFC question

  • 2 CFileDialogs
    D Desmo16

    Hi all, I do: CFileDialog fd(TRUE, NULL, percorso, OFN_FILEMUSTEXIST | OFN_HIDEREADONLY); fd.m_pOFN->lpstrTitle = "Dialog Title"; Now i need a CFileDialog that shows only .txt files. I also need another CFileDialog which i use to save a file in which the "file type" field is .txt How can i do that ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • modeless dialog: is it opened ?
    D Desmo16

    Hi all, I need to know if a modeless dialog is opened and, if this is the case, close it. How can i do that ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • button kept pushed
    D Desmo16

    Hi all, I've a button to move to the next point in a plot when the button is pushed. The matter is that i must click on the button many times if i wanna continue to pass to the next point in the plot, while i would like to obtain this keeping clicked the button. How can i do that ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • filesystem navigation in c++
    D Desmo16

    #include WHAT ?

    C / C++ / MFC question c++ ios performance learning

  • filesystem navigation in c++
    D Desmo16

    The compiler tells me PathRemoveFileSpec(path); identifier not found even with a research independent from the object is there anything i should include ? Thanx in advance, Desmo16.

    C / C++ / MFC question c++ ios performance learning

  • ffilesystem navigation in c++ 2
    D Desmo16

    Hi all, They told me there's a function similar to GetPathName() _____________________ CFileDialog fd; fd.GetPathName(); --------------------- which return the directory instead of the full path. Does anybody know which one is it ? Thanx in advance, Deamo16.

    C / C++ / MFC c++ question

  • filesystem navigation in c++
    D Desmo16

    Hi all, I've got the path to a file returned by a CFileDialog. (Let's call it "path") Now i wanna open another file in the same directory. I know the name of the file, of course. I tried with: file.open(path+"\..\newfile.txt",std::ios::in); but it tells me "not enough memory" at runtime. How can i do that ? Thanx in advance, Desmo16.

    C / C++ / MFC question c++ ios performance learning

  • tabstop2
    D Desmo16

    Hi all, I'm sorry this is the last silly question of the day :-) To disable tabstop i do ModifyStyle(WS_TABSTOP,0,0); What should i do to enable tabstop again ? Thanx, Desmo16.

    C / C++ / MFC question

  • tabstop
    D Desmo16

    That's what i needed, thanx but... How can i re-enable the tabstop ?

    C / C++ / MFC question

  • tabstop
    D Desmo16

    Hi all, How can i set the tabstop property of a control to FALSE from the code ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • tab order
    D Desmo16

    Hi all, How can i set the order of navigation among controls when i press TAB ? Thanx in advance, Desmo16.

    C / C++ / MFC question

  • problem with an edit control
    D Desmo16

    When i say "whole number" i mean "not a single digit", that is to say 345 or 765 and not 1 or 5 or 9. And no, not all values are valid 'cause they had a geophysical meaning in the software. Anyway, how can i trigger the event handling the enter key ? Thanx in advance, Desmo16.

    C / C++ / MFC help question announcement

  • problem with an edit control
    D Desmo16

    Hi all, I use the edit control EN_CHANGE event in order to update a slider in a software. The edit control contains a number. My problem is that every time i write a digit in the edit control this triggers the EN_CHANGE event, the slider is updated and the cursor in the edit control is put at the beginning. I wanna the update of the slider AFTER i enter the whole number in the edit control, not for every digit, but my boss want me to do that without using a button to load the value entered in the edit control into the slider. Is there another event i can use to obtain that ? Thanx in advance, Desmo16.

    C / C++ / MFC help question announcement

  • particular double to CString to edit control
    D Desmo16

    it works ! Thanx !

    C / C++ / MFC ios question

  • particular double to CString to edit control
    D Desmo16

    Hi all, I read a double (2.567656e-010) from file, then I convert it into CString and finally i put it in an edit control, but the value is too small so in the edit control i find 0.000000. Here you have the code i use, toremove is the variable linked to the edit control: double var=0; std::fstream f_load; f_load.open("C:\\best_pop.txt",std::ios::in); f_load>>var; CString tmp; tmp.Format("%lf",var); toremove.SetWindowText(tmp); What should i do to see 2.567656e-010 in the edit control ?

    C / C++ / MFC ios question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups