Click here to Skip to main content
15,878,012 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: _argv[] proglems Pin
David Crow21-Sep-06 10:09
David Crow21-Sep-06 10:09 
GeneralRe: _argv[] proglems Pin
hlmechanic21-Sep-06 12:09
hlmechanic21-Sep-06 12:09 
GeneralRe: _argv[] proglems Pin
David Crow22-Sep-06 3:02
David Crow22-Sep-06 3:02 
AnswerRe: _argv[] proglems Pin
hlmechanic21-Sep-06 17:01
hlmechanic21-Sep-06 17:01 
QuestionRe: _argv[] proglems Pin
David Crow22-Sep-06 3:16
David Crow22-Sep-06 3:16 
AnswerRe: _argv[] proglems Pin
hlmechanic22-Sep-06 4:06
hlmechanic22-Sep-06 4:06 
QuestionRe: _argv[] proglems Pin
David Crow22-Sep-06 5:21
David Crow22-Sep-06 5:21 
AnswerRe: _argv[] proglems Pin
hlmechanic22-Sep-06 5:42
hlmechanic22-Sep-06 5:42 
my wish is to find out wich file was used to start the program by dragging the icon of the file onto the unopened program icon. I would also like to be able to set the file extenshion to open the file using this program so the user can double click on a file with the right extenshion and start the program with that file loaded into it. I do not know how to make DragQueryFile() tell me wich file was used to start the program.


The Drag and Drop onto the open program window works great but I have not noticed that it sends any information about a file that was draged onto the unopened program icon in windows explorer, or about wich program was double clicked to start this program. I suspect that this is because DragAcceptFiles is not called untill 'SetupWindow()'

IF there is a better place to put DragAcceptFiles that would let the program find out this information it would be much easyer to do.
Questionwin32 API - How to use a button Pin
gunner_uk200021-Sep-06 6:13
gunner_uk200021-Sep-06 6:13 
AnswerRe: win32 API - How to use a button Pin
David Crow21-Sep-06 6:56
David Crow21-Sep-06 6:56 
QuestionRe: win32 API - How to use a button Pin
gunner_uk200021-Sep-06 23:23
gunner_uk200021-Sep-06 23:23 
AnswerRe: win32 API - How to use a button [modified] Pin
David Crow22-Sep-06 3:01
David Crow22-Sep-06 3:01 
AnswerRe: win32 API - How to use a button Pin
susiriss22-Sep-06 3:25
susiriss22-Sep-06 3:25 
QuestionShell open with Pin
Mohammad A Gdeisat21-Sep-06 6:13
Mohammad A Gdeisat21-Sep-06 6:13 
Questionarray input using edit box Pin
Cyclone0221-Sep-06 5:27
Cyclone0221-Sep-06 5:27 
AnswerRe: array input using edit box Pin
Zac Howland21-Sep-06 5:39
Zac Howland21-Sep-06 5:39 
AnswerRe: array input using edit box Pin
David Crow21-Sep-06 6:59
David Crow21-Sep-06 6:59 
GeneralRe: array input using edit box Pin
Cyclone0221-Sep-06 7:15
Cyclone0221-Sep-06 7:15 
GeneralRe: array input using edit box Pin
David Crow21-Sep-06 7:28
David Crow21-Sep-06 7:28 
GeneralRe: array input using edit box Pin
Cyclone0222-Sep-06 5:59
Cyclone0222-Sep-06 5:59 
QuestionCall Windows Explorer after save files Pin
Max++21-Sep-06 5:19
Max++21-Sep-06 5:19 
AnswerRe: Call Windows Explorer after save files Pin
toxcct21-Sep-06 5:39
toxcct21-Sep-06 5:39 
QuestionDialog don't get focus back [modified] Pin
jsumm21-Sep-06 4:34
jsumm21-Sep-06 4:34 
QuestionComparing enum types Pin
Waldermort21-Sep-06 4:25
Waldermort21-Sep-06 4:25 
AnswerRe: Comparing enum types Pin
Zac Howland21-Sep-06 4:44
Zac Howland21-Sep-06 4:44 

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.