Can I hide an explorer or make an explorer modal

Status
Not open for further replies.
E

escamoteur

Hi,

I want to offer the user a Calendar Explorer to pick a date. As long as this explorer is open he should not be able to switch to

another explorer.

Is it possible to make this explorer modal OR to hide all other active explorers as long as this explorer is used??

Best

Tom
 
You could set the WindowState of any other open Explorers to olMinimized.

There's no command in the object model to make an Explorer modal. You could

get the window handle for the Explorer using FindWindow() from the Win32 API

functions, then call SetWindowPos() and setting the window to HWND_TOPMOST.

That would put it on top of all other windows on the desktop in the z-order,

so effectively making it modal until dismissed or the setting is changed.

How that would affect the other Outlook operations is something you'd have

to experiment with.

If I was doing it I'd just shove a calendar picker control on a form and set

it modal until a date was picked, unless something definitely Explorer

related was required.

"escamoteur" <mail@burkharts.net> wrote in message

news:922FCF39-0297-4944-9A46-58551A331C7A@microsoft.com...
> Hi,

> I want to offer the user a Calendar Explorer to pick a date. As long as
> this explorer is open he should not be able to switch to another explorer.

> Is it possible to make this explorer modal OR to hide all other active
> explorers as long as this explorer is used??

> Best
> Tom
 
Hi Ken,

avtually I did what you recommended and set all other explorers to olMinimized, that works fine.

Unfortunately the Datepicker is not enough for me. I have to check first if the date is free, so an Calendareplorer works fine.

Best

Tom
<kenslovak@mvps.org> schrieb im Newsbeitrag news:OuoueE%23JKHA.1380@TK2MSFTNGP02.phx.gbl...
> You could set the WindowState of any other open Explorers to olMinimized.

> There's no command in the object model to make an Explorer modal. You could
> get the window handle for the Explorer using FindWindow() from the Win32 API
> functions, then call SetWindowPos() and setting the window to HWND_TOPMOST.
> That would put it on top of all other windows on the desktop in the z-order,
> so effectively making it modal until dismissed or the setting is changed.
> How that would affect the other Outlook operations is something you'd have
> to experiment with.

> If I was doing it I'd just shove a calendar picker control on a form and set
> it modal until a date was picked, unless something definitely Explorer
> related was required.

> >

>

> "escamoteur" <mail@burkharts.net> wrote in message
> news:922FCF39-0297-4944-9A46-58551A331C7A@microsoft.com...
> > Hi,
>

>> I want to offer the user a Calendar Explorer to pick a date. As long as
> > this explorer is open he should not be able to switch to another explorer.
>

>> Is it possible to make this explorer modal OR to hide all other active
> > explorers as long as this explorer is used??
>

>> Best
> > Tom

>
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
E Can I hide an explorer or make an explorer modal Outlook VBA and Custom Forms 2
J Hide/disable "Groups", "Shared Calendars" Using Outlook 2
D hide messege issue Using Outlook 1
J Outlook 2007 Hide Messages Option not Available Using Outlook 2
N How to disable shortcuts for Pilcrow in Outlook (Show or hide paragraph marks) Using Outlook 0
A Possible to hide ribbon with custom appointment form? Outlook VBA and Custom Forms 3
D Disable or hide "reply" and "reply to all" and "forward" in email from access vba Outlook VBA and Custom Forms 1
K BCM hide subfolders BCM (Business Contact Manager) 1
oliv- HIDE ITEM Outlook VBA and Custom Forms 3
S Hide Timestamp from deleyed message Using Outlook 4
I Outlook 2010 - Remove or Hide Suggested Contact Folders Using Outlook 1
K Hide Default Folders in PST Using Outlook 2
F Hide calendars from shared mailboxes Using Outlook 2
J Ho do I hide the week number on the Calendar Printing Assistant template Using Outlook 4
S Hide Folders in Outlook 2007 (IMAP) Using Outlook 5
C How do I hide distribution list from global contacts for certain users? Exchange Server Administration 1
T Is it possible to hide a mailbox but still send on the behalf of. Exchange Server Administration 1
H Outlook 2007 - hide completed tasks from Outlook Today -Solution Using Outlook 2
N Appointment Body on Custom Page 2- Hide Default Page Outlook VBA and Custom Forms 2
N How to hide pstStore Outlook VBA and Custom Forms 4
H Hide attachment... Outlook VBA and Custom Forms 3
S hide details of appointments in calendar Using Outlook 8
M hide outlook to system tray Outlook VBA and Custom Forms 1
J How to hide/disable send button in Outlook 2007 Outlook VBA and Custom Forms 1
J How to hide/disable send button in Outlook 2007 Outlook VBA and Custom Forms 2
J How to hide/disable send button in Outlook 2007 Outlook VBA and Custom Forms 1
C Re: Hide BCM toolbar BCM (Business Contact Manager) 1
T How do I hide/unhide folders in outlook inbox? BCM (Business Contact Manager) 1
K Working with Explorer.Close event Outlook VBA and Custom Forms 3
R Quick Access view in File Explorer when saving attachments Using Outlook 0
R Sending emails via Outlook XP, from Windows 10 File Explorer Using Outlook 1
P Automate Outlook Start - No Active Explorer Object Found Using Outlook 10
K Macro Not Executing then send email from Explorer Outlook VBA and Custom Forms 3
I Windows 10 - .msg files on disk show Explorer popup error Using Outlook 5
M Question: Is there a rule that will save email in Windows Explorer Outlook VBA and Custom Forms 3
oliv- How to select an mailitem in explorer with "show as conversation" Outlook VBA and Custom Forms 8
Michael Chiasson PST file shows 300+MB in Windows Explorer, but only 250kb in Outlook 2010 Using Outlook 1
P Was Helvetica crashing Outlook, now fix has messed up explorer Using Outlook 4
R Outlook 2007 - drag drop email to Explorer Using Outlook 1
A vb6 run time error 5 when Outlook 2007 Explorer object displayed Outlook VBA and Custom Forms 1
C Create a Ribbon for the OL2010 Explorer Outlook VBA and Custom Forms 1
A Active explorer issue Outlook VBA and Custom Forms 15
S How to italicize the email entry in explorer window Outlook VBA and Custom Forms 3
T Creating toolbar in new Explorer Outlook VBA and Custom Forms 3
S Strange Behaviour of Explorer Object. Outlook VBA and Custom Forms 1
T Is Explorer.FolderSwitch the best event for hiding commandbarbutton? Outlook VBA and Custom Forms 5
R destroying Explorer object pointers on shutdown Outlook VBA and Custom Forms 2
U Not able to delete Add-in button from multiple Outlook Explorer Outlook VBA and Custom Forms 1

Similar threads

Back
Top