Click here to Skip to main content
15,885,757 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Run-time error stops dialog when combo box added: [8002] Window Create, and Create Dialog failure Error code-20 Pin
norish20-Mar-09 19:48
norish20-Mar-09 19:48 
QuestionWant to stop full screen display when using Windows media player Pin
Keith Worden20-Mar-09 8:43
Keith Worden20-Mar-09 8:43 
AnswerRe: Want to stop full screen display when using Windows media player Pin
V Shah11-Mar-10 6:28
V Shah11-Mar-10 6:28 
GeneralRe: Want to stop full screen display when using Windows media player Pin
Keith Worden11-Mar-10 6:45
Keith Worden11-Mar-10 6:45 
QuestionGetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 7:49
zouzoulikou20-Mar-09 7:49 
AnswerRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
David Crow20-Mar-09 7:57
David Crow20-Mar-09 7:57 
GeneralRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 22:48
zouzoulikou20-Mar-09 22:48 
GeneralRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
David Crow21-Mar-09 16:11
David Crow21-Mar-09 16:11 
zouzoulikou wrote:
Note: Any idea for my problem ?


What problem? Regardless of the setting, ofn.lpstrFile will contain the correct value (with the extension intact) if the OK button is clicked. You will have to correctly assign that member to a buffer, however, like:

char szBuffer[MAX_PATH] = "MyDoc.prefered";
ofn.lpstrFile = szBuffer;


"Old age is like a bank account. You withdraw later in life what you have deposited along the way." - Unknown

"Fireproof doesn't mean the fire will never come. It means when the fire comes that you will be able to withstand it." - Michael Simmons


AnswerRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
norish21-Mar-09 1:54
norish21-Mar-09 1:54 
Questionhow to use #pragma data_seq() Pin
ernst2002053020-Mar-09 7:48
ernst2002053020-Mar-09 7:48 
AnswerRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 7:55
David Crow20-Mar-09 7:55 
GeneralRe: how to use #pragma data_seq() Pin
ernst2002053020-Mar-09 8:04
ernst2002053020-Mar-09 8:04 
GeneralRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 8:09
David Crow20-Mar-09 8:09 
GeneralRe: how to use #pragma data_seq() Pin
ernst2002053020-Mar-09 8:18
ernst2002053020-Mar-09 8:18 
GeneralRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 8:29
David Crow20-Mar-09 8:29 
AnswerRe: how to use #pragma data_seq() Pin
cmk20-Mar-09 10:38
cmk20-Mar-09 10:38 
QuestionErase previous drawings Pin
llp00na20-Mar-09 6:53
llp00na20-Mar-09 6:53 
AnswerRe: Erase previous drawings Pin
Chris Losinger20-Mar-09 7:09
professionalChris Losinger20-Mar-09 7:09 
GeneralRe: Erase previous drawings Pin
llp00na20-Mar-09 7:27
llp00na20-Mar-09 7:27 
GeneralRe: Erase previous drawings Pin
Chris Losinger20-Mar-09 7:35
professionalChris Losinger20-Mar-09 7:35 
GeneralRe: Erase previous drawings Pin
David Crow20-Mar-09 9:25
David Crow20-Mar-09 9:25 
AnswerRe: Erase previous drawings Pin
Code-o-mat20-Mar-09 7:30
Code-o-mat20-Mar-09 7:30 
GeneralRe: Erase previous drawings Pin
llp00na20-Mar-09 8:17
llp00na20-Mar-09 8:17 
GeneralRe: Erase previous drawings Pin
llp00na20-Mar-09 8:23
llp00na20-Mar-09 8:23 
QuestionRe: Erase previous drawings Pin
David Crow20-Mar-09 8:31
David Crow20-Mar-09 8:31 

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.