Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6121999
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T15:50:53+00:00 2026-05-23T15:50:53+00:00

I have utlized the User32 library from MS Access in VBA to Hide the

  • 0

I have utlized the User32 library from MS Access in VBA to Hide the MDI window:

Global Const SW_HIDE = 0
Global Const SW_SHOWNORMAL = 1
Global Const SW_SHOWMINIMIZED = 2
Global Const SW_SHOWMAXIMIZED = 3

' Windows User32 Library reference to modify the window by one of the above commands
Private Declare Function apiShowWindow Lib "User32" Alias "ShowWindow" _
 (ByVal hWnd As Long, ByVal nCmdShow As Long) As Long

At the appropriate point in my application I have triggered a call to this function effectively hiding the application while specific forms are set with Modal = True and Popup = True to have them show through the hidden parent MDI window.

This works great! However, I would like to still have a reference on the windows Taskbar for the open instance of MS Access:

Windows Taskbar

This functionality went away once I hid the parent MDI window. Previously the user could click on this reference order to bring focus back to the respective open form.

Does anyone know how I can accomplish this? Is there a User32 Library reference or parameter which could be passed into the apiShowWindow method to have this occur?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T15:50:54+00:00Added an answer on May 23, 2026 at 3:50 pm

    why not just make the call with SW_SHOWMINIMIZED? that seems to be the desired functionality. (e.g. window not showing but still on taksbar vs. window totally hidden)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Scenario: I am parsing values from an XML file using C# and have the
I'm writing a library for C#. I'm wondering if it's possible to only have
What I have is an XML we receive from a web service which represents
I have a class which reads data from port through TcpClient. I've created 2
Say I have a simple query like this: SELECT * FROM topics ORDER BY
I have a problem with jquery-ui tab content extending past the browser window width.
I have access to a bunch of Mac desktops, the hard drives of which
I am writing an application that runs in the background from startup to shutdown,
I have a simple single threaded utility written in C# that inserts data into
Wihtin my current project I have to add data items to a List<> object.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.