The main problem I am having can be fixed fairly easily by using:
WinSet, Enable,, Schedule
This is great because the schedule is no longer disabled and if I slide the appointment window to the side I can 'see' the schedule and navigate around on it. However, the appointment window is still permanently on top of the schedule. Secondly, the appointment window's minimize button is 'grey-out' and does not allow minimizing by default. I used "WinSet, Style" to change this behavior and allow minimizing the window, but then I cannot easily restore the window as it is not part of the 'alt-tab' list. I played with all types of Winset styles and exstyles and found I could get fairly close to my goal if I simply set the appointment window styles to be the same as the schedule window. This adds the appointment window to the 'alt-tab' list and allows it to be minimized and restored easily so I can still access the schedule with this window open.
This is the test code I used that works to this degree:
Code: Select all
!F1::
WinSet, Enable,, Schedule
WinGet, Schedule_Win_Style, Style, Schedule
WinGet, Schedule_Win_ExStyle, ExStyle, Schedule
WinSet, Style, %Schedule_Win_Style%, Appointment
WinSet, ExStyle, %Schedule_Win_ExStyle%, Appointment
If (ErrorLevel=1) {
MsgBox, Could not apply style!
} Else {
MsgBox, Successfully applied style
}
Note:
WinSet, AlwaysOnTop,, Schedule
does not work at all for this situation. The always on top setting gets applied to BOTH windows with the appointment windows still always on top of the schedule. They appointment window is linked together with the schedule window. If I close the schedule window, the appointment window is automatically closed as well. Also if I minimize the schedule the appointment window also minimizes AND, somewhat strangely, disappears from the 'alt-tab' list.
I am fine with the dependent hierarchy of the appointment window to the schedule. I would just really like to be able to have the schedule window appear ABOVE the appointment window on screen.
Does anyone know how to accomplish this?