Click here to Skip to main content
15,895,606 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: code in C language that can save and edit Pin
toxcct24-Jan-06 21:31
toxcct24-Jan-06 21:31 
GeneralRe: code in C language that can save and edit Pin
shazzney24-Jan-06 21:51
shazzney24-Jan-06 21:51 
GeneralRe: code in C language that can save and edit Pin
toxcct24-Jan-06 22:05
toxcct24-Jan-06 22:05 
AnswerRe: code in C language that can save and edit Pin
David Crow25-Jan-06 4:24
David Crow25-Jan-06 4:24 
QuestionFile selection using OPENFILENAME in Unicode env. Pin
cpp_prgmer24-Jan-06 20:46
cpp_prgmer24-Jan-06 20:46 
AnswerRe: File selection using OPENFILENAME in Unicode env. Pin
Owner drawn24-Jan-06 21:25
Owner drawn24-Jan-06 21:25 
GeneralRe: File selection using OPENFILENAME in Unicode env. Pin
cpp_prgmer24-Jan-06 21:45
cpp_prgmer24-Jan-06 21:45 
QuestionRe: File selection using OPENFILENAME in Unicode env. Pin
David Crow25-Jan-06 4:34
David Crow25-Jan-06 4:34 
This works fine:

void main( void )
{
    OPENFILENAME ofn = {0};
    wchar_t szBuffer[MAX_PATH] = {0};
 
    ofn.lStructSize = sizeof(OPENFILENAME);
    ofn.lpstrFile   = szBuffer;
    ofn.nMaxFile    = sizeof(szBuffer);
 
    GetOpenFileName(&ofn);
 
    wprintf(L"%s\n", ofn.lpstrFile);
}
How does it compare to what you have?

cpp_prgmer wrote:
Also I would like to hide the n/w btn on the placebar which im not able to inspite of the OFN_NONETWORKBUTTON option. Any suggestions on using this func 2 select multiple files w/o losing d explorer-style file browse dlg & placebar??

The "My Network Places" button cannot be removed from the My Places bar, but it can be hidden. You'll need to modify the registry at HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Common\Open Find\Places\StandardPlaces.


"The words of God are not like the oak leaf which dies and falls to the earth, but like the pine tree which stays green forever." - Native American Proverb


AnswerRe: File selection using OPENFILENAME in Unicode env. Pin
cpp_prgmer25-Jan-06 21:24
cpp_prgmer25-Jan-06 21:24 
QuestionRe: File selection using OPENFILENAME in Unicode env. Pin
David Crow26-Jan-06 2:58
David Crow26-Jan-06 2:58 
QuestionFind path of a selected file in explorer Pin
Arumugarani Sundaram24-Jan-06 19:38
Arumugarani Sundaram24-Jan-06 19:38 
AnswerRe: Find path of a selected file in explorer Pin
David Crow25-Jan-06 5:10
David Crow25-Jan-06 5:10 
GeneralRe: Find path of a selected file in explorer Pin
Arumugarani Sundaram26-Jan-06 17:38
Arumugarani Sundaram26-Jan-06 17:38 
QuestionRe: Find path of a selected file in explorer Pin
David Crow27-Jan-06 2:49
David Crow27-Jan-06 2:49 
QuestionFM20.DLL sucks! Pin
<color>Aljechin 24-Jan-06 19:13
<color>Aljechin 24-Jan-06 19:13 
QuestionRe: FM20.DLL sucks! Pin
David Crow25-Jan-06 5:15
David Crow25-Jan-06 5:15 
Questionhow to personlize print dialog using PRINTDLG Pin
a_david12324-Jan-06 18:43
a_david12324-Jan-06 18:43 
QuestionProblem in getting strings with space. Pin
Anu_Bala24-Jan-06 16:49
Anu_Bala24-Jan-06 16:49 
AnswerRe: Problem in getting strings with space. Pin
_AnsHUMAN_ 24-Jan-06 16:57
_AnsHUMAN_ 24-Jan-06 16:57 
AnswerRe: Problem in getting strings with space. Pin
Laxman924-Jan-06 17:09
Laxman924-Jan-06 17:09 
GeneralRe: Problem in getting strings with space. Pin
David Crow25-Jan-06 5:17
David Crow25-Jan-06 5:17 
AnswerRe: Problem in getting strings with space. Pin
MANISH RASTOGI24-Jan-06 17:43
MANISH RASTOGI24-Jan-06 17:43 
AnswerRe: Problem in getting strings with space. Pin
toxcct24-Jan-06 21:39
toxcct24-Jan-06 21:39 
AnswerRe: Problem in getting strings with space. Pin
_anil_25-Jan-06 2:13
_anil_25-Jan-06 2:13 
AnswerRe: Problem in getting strings with space. Pin
David Crow25-Jan-06 5:24
David Crow25-Jan-06 5:24 

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.