Click here to Skip to main content
15,847,263 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 20:48
norish20-Mar-09 20:48 
QuestionWant to stop full screen display when using Windows media player Pin
Keith Worden20-Mar-09 9:43
Keith Worden20-Mar-09 9:43 
AnswerRe: Want to stop full screen display when using Windows media player Pin
V Shah11-Mar-10 7:28
V Shah11-Mar-10 7:28 
GeneralRe: Want to stop full screen display when using Windows media player Pin
Keith Worden11-Mar-10 7:45
Keith Worden11-Mar-10 7:45 
QuestionGetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 8:49
zouzoulikou20-Mar-09 8:49 
AnswerRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
David Crow20-Mar-09 8:57
David Crow20-Mar-09 8:57 
GeneralRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
zouzoulikou20-Mar-09 23:48
zouzoulikou20-Mar-09 23:48 
GeneralRe: GetSaveFileName: does not work propoerly when the option "Hide file extension for know file type" is checked Pin
David Crow21-Mar-09 17:11
David Crow21-Mar-09 17: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 2:54
norish21-Mar-09 2:54 
Questionhow to use #pragma data_seq() Pin
ernst2002053020-Mar-09 8:48
ernst2002053020-Mar-09 8:48 
AnswerRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 8:55
David Crow20-Mar-09 8:55 
GeneralRe: how to use #pragma data_seq() Pin
ernst2002053020-Mar-09 9:04
ernst2002053020-Mar-09 9:04 
GeneralRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 9:09
David Crow20-Mar-09 9:09 
GeneralRe: how to use #pragma data_seq() Pin
ernst2002053020-Mar-09 9:18
ernst2002053020-Mar-09 9:18 
GeneralRe: how to use #pragma data_seq() Pin
David Crow20-Mar-09 9:29
David Crow20-Mar-09 9:29 
AnswerRe: how to use #pragma data_seq() Pin
cmk20-Mar-09 11:38
cmk20-Mar-09 11:38 
QuestionErase previous drawings Pin
llp00na20-Mar-09 7:53
llp00na20-Mar-09 7:53 
AnswerRe: Erase previous drawings Pin
Chris Losinger20-Mar-09 8:09
professionalChris Losinger20-Mar-09 8:09 
GeneralRe: Erase previous drawings Pin
llp00na20-Mar-09 8:27
llp00na20-Mar-09 8:27 
GeneralRe: Erase previous drawings Pin
Chris Losinger20-Mar-09 8:35
professionalChris Losinger20-Mar-09 8:35 
GeneralRe: Erase previous drawings Pin
David Crow20-Mar-09 10:25
David Crow20-Mar-09 10:25 
AnswerRe: Erase previous drawings Pin
Code-o-mat20-Mar-09 8:30
Code-o-mat20-Mar-09 8:30 
GeneralRe: Erase previous drawings Pin
llp00na20-Mar-09 9:17
llp00na20-Mar-09 9:17 
GeneralRe: Erase previous drawings Pin
llp00na20-Mar-09 9:23
llp00na20-Mar-09 9:23 
QuestionRe: Erase previous drawings Pin
David Crow20-Mar-09 9:31
David Crow20-Mar-09 9: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.