System Tray Icon

a_20120

tan
Local time
Today, 06:03
Joined
Nov 21, 2006
Messages
175
Hi.
Firstly I have searched the forum, but not found my solution, I have a database, when open it, the Application window removes, and just a form appears.
PROBLEM:
I want, when I minimized the form, it should goes to the System Tray (Notification Area), and again when click on it, the form restore. for more detail see the attachment
How it is possible?
 

Attachments

Ok. Now I am able to minimize the Access Application window to the system tray, but when I click on ICON in system tray, The Access Application Window becomes MAXIMIZED. How I can hide that after clicking on icon in system tray?
 
Minimize to Sytem Tray Solved, BUT...

Finally I found how to minimize the Application to the system tray, but when I click on icon in system tray, the Application Window also appears with the form.
How I can I hide the Application Window, after clicking on the icon in system tray?
Hope someone from here help me with this...
For further information see the attachment
 

Attachments

I haven't tried what you are doing but perhaps you could test for the application window state on the GotFocus event of the Form ?
 
Hi!
I don't know if this helps...

You just need to add

Call basWindow.fSetAccessWindow(0)

After

SetForegroundWindow hwnd

in Function fWndProcTray ().

This is working great!
 

Users who are viewing this thread

Back
Top Bottom