I think this is my first post here in english forum. My name is Tiago Baciotti Moreira and I am brazilian. I knew Xojo a few years ago when I was searching for a VB Like application. Today I am using Xojo to develope simple applications, for example a simples store management.
I also used a few months ago Xojo to teach somple programming basics (I am actually a teacher at Information Systems Course).
Well, I am trying to make a simple application to manage Windows (and after that, Linux) clipboard. I am facing 2 problems:
How can I put a small icon to Systray (besides windows clock on taskbar)? I searched the forum and did not find any answers. I remenber that in Visual Basic I needed to use an DLL Call but don´t know the details
How can I map a computer shortcut to open my application. For example WINKEY + T to popup my main window from clipboard?
I cannot answer your first question, but the second one is answered here. Bascially, adding the keyboard shortcut happens after the application is installed on the target computer.
This functionality is built in to Xojo… If you open the language reference and type in trayitem you will get some idea and
there is an example shipped with Xojo in:-
@Louis Desjardins / @Chris Carter , Thanks for quick answer!
Chris, I will look to the trayitem!
And, about the shortcut my goal is to allow the user set the desired shortcut inside a kind of “options window” inside my program. For example, I want a shortcut to call a function in my program to show the last 10 texts sent to Clipboard.
If you are happy with a mouse click, rather than a hot key, then for Windows, you could have the user click on the tray item and either pop up the list there, or have an option to open the UI