我正在创建一个能够创建新会议/约会邀请的新 Outlook 功能区。客户请求最小化新约会窗口的能力,但该按钮当前被禁用并且焦点无法从窗口移动。有没有办法启用最小化按钮或改变焦点远离约会窗口?
Outlook.Application outlook = new Outlook.Application();
Outlook.AppointmentItem appointment = (Outlook.AppointmentItem)outlook.CreateItem(Outlook.OlItemType.olAppointmentItem);
appointment.ReminderSet = true;
appointment.BusyStatus = Outlook.OlBusyStatus.olBusy;
appointment.ReminderMinutesBeforeStart = 15;
appointment.Duration = 30;
appointment.MeetingStatus = Outlook.OlMeetingStatus.olMeeting;
appointment.Display(true);