Scale Mode Property
Posted on 2001-06-18
Scale Mode property is avaialable for normal forms but it is not available for MDI forms. What's the solution for this problem. Actually I am trying to show an application icon in the system tray but my application is an MDI based. I am using the following API
Private Declare Function Shell_NotifyIcon Lib "shell32" _
Alias "Shell_NotifyIconA" _
(ByVal dwMessage As Long, pnid As NOTIFYICONDATA) As Boolean
The problem is that I want to know when user clicked the icon in the tray and for that though this API provides you a way to find that user has clicked the icon in th tray but that only works for SDI. that does not work for MDI since SDI uses the form's Scale Mode property which is not available in MDI form.