U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » TopWindow&PopUp, TrayIcon » Double-click a file and open the App
Re: Double-click a file and open the App [message #21029 is a reply to message #20985] Mon, 27 April 2009 13:13 Go to previous messageGo to previous message
mrjt is currently offline  mrjt
Messages: 705
Registered: March 2007
Location: London
Contributor
There are two parts to this:
1- Telling windows to start your app when a certain document type is double clicked. This is presumably controlled by there registry, but there may well be some sort of Windows API call to do it for you. There should be plenty of info on the 'net.

2- Accessing the command line can be done using CammandLine(). I assume this is how Windows passes the filename, though I'm not certain.

[Updated on: Mon, 27 April 2009 18:21]

Report message to a moderator

 
Read Message
Read Message
Read Message
Previous Topic: starting program hidden and putting it in start up
Next Topic: [FIX] resizing eats memory
Goto Forum:
  


Current Time: Fri Sep 11 19:58:25 GMT+2 2026

Total time taken to generate the page: 0.00543 seconds