dmaul
July 22nd, 2005, 05:17 AM
Hi all! Im rather new to c++ and windows related applications although Im pretty good in console related applications using pascal or c.
Im trying to build a "notepad" using c++ builder and there is something i cant manage to find. I dont know how to load a text file on startup when double clicked from the windows explorer (once my program is associated with *.txt files). Instead it just opens a blank file.
How can i retrieve the path of the file i double-clicked on explorer? What event should i use to load it on startup once my program knows the path?
I know my words are a bit confusing, but dont hesitate in asking further information about my questions.
Thx all for reading.
Im trying to build a "notepad" using c++ builder and there is something i cant manage to find. I dont know how to load a text file on startup when double clicked from the windows explorer (once my program is associated with *.txt files). Instead it just opens a blank file.
How can i retrieve the path of the file i double-clicked on explorer? What event should i use to load it on startup once my program knows the path?
I know my words are a bit confusing, but dont hesitate in asking further information about my questions.
Thx all for reading.