Click here to Skip to main content
15,914,371 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: get_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 9:20
Mohammad Tarik10-Jul-08 9:20 
QuestionRe: get_anchors doesn't return all anchors Pin
David Crow10-Jul-08 10:16
David Crow10-Jul-08 10:16 
AnswerRe: get_anchors doesn't return all anchors Pin
Mohammad Tarik10-Jul-08 11:04
Mohammad Tarik10-Jul-08 11:04 
QuestionDisk Info Pin
Fedrer10-Jul-08 7:09
Fedrer10-Jul-08 7:09 
AnswerRe: Disk Info Pin
David Crow10-Jul-08 7:35
David Crow10-Jul-08 7:35 
QuestionHow do I load asociated file in application from windows explorer???? Pin
AlmodJ10-Jul-08 5:48
AlmodJ10-Jul-08 5:48 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
Rajesh R Subramanian10-Jul-08 6:07
professionalRajesh R Subramanian10-Jul-08 6:07 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
AlmodJ10-Jul-08 7:18
AlmodJ10-Jul-08 7:18 
Okay,

Say I wrote an application to view jpeg bitmaps. Then I tell windows to open jpeg files using my application by going into explorer, right click on a jpeg file choose properties, then click "Opens with" ---> change. Set to myApp.exe as associating executable. Now, let's suppose after doing this when I double click or right click--> open, myApp executes... But guess what? Where's the bitmap? Cry | :((
There is something missing... You need at the very least, some means to pass the file path info to myApp. As a command argument ?? A pointer to file structure?? As a shellexecute parameter , But wait, shell execute is only useful if all you're interested in is to run another application from within your program. You would then have to write a shell helper that attaches to explorer, but this seems far too much overkill to me. I'm missing something here, so I'm hoping some MSVS C++ gurus out there could help me get to an answer quicker. As I said, I'm not a newbie-just point me in the right direction.

Smile | :)
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
Mark Salsbery10-Jul-08 7:27
Mark Salsbery10-Jul-08 7:27 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
AlmodJ10-Jul-08 8:46
AlmodJ10-Jul-08 8:46 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
CPallini10-Jul-08 6:55
mveCPallini10-Jul-08 6:55 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
Rajesh R Subramanian10-Jul-08 19:44
professionalRajesh R Subramanian10-Jul-08 19:44 
GeneralRe: How do I load asociated file in application from windows explorer???? Pin
CPallini10-Jul-08 21:05
mveCPallini10-Jul-08 21:05 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
Mark Salsbery10-Jul-08 6:58
Mark Salsbery10-Jul-08 6:58 
AnswerRe: How do I load asociated file in application from windows explorer???? Pin
enhzflep10-Jul-08 20:19
enhzflep10-Jul-08 20:19 
QuestionPropertySheet 'Finish' Button Pin
softwaremonkey10-Jul-08 4:28
softwaremonkey10-Jul-08 4:28 
AnswerRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 4:46
Graham Bradshaw10-Jul-08 4:46 
GeneralRe: PropertySheet 'Finish' Button Pin
softwaremonkey10-Jul-08 4:54
softwaremonkey10-Jul-08 4:54 
GeneralRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 5:36
Graham Bradshaw10-Jul-08 5:36 
GeneralRe: PropertySheet 'Finish' Button [modified] Pin
softwaremonkey10-Jul-08 5:50
softwaremonkey10-Jul-08 5:50 
GeneralRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 5:58
Graham Bradshaw10-Jul-08 5:58 
GeneralRe: PropertySheet 'Finish' Button Pin
Graham Bradshaw10-Jul-08 5:59
Graham Bradshaw10-Jul-08 5:59 
GeneralRe: PropertySheet 'Finish' Button Pin
softwaremonkey10-Jul-08 6:04
softwaremonkey10-Jul-08 6:04 
QuestionTransfering String from View Class to other class. Pin
Cozmo2310-Jul-08 4:24
Cozmo2310-Jul-08 4:24 
AnswerRe: Transfering String from View Class to other class. Pin
led mike10-Jul-08 4:33
led mike10-Jul-08 4:33 

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.