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 47093
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T16:04:06+00:00 2026-05-10T16:04:06+00:00

Even when BorderStyle is set to 0, it is possible to force a window

  • 0

Even when BorderStyle is set to 0, it is possible to force a window to show up on the taskbar either by turning on the ShowInTaskbar property or by using the windows api directly: SetWindowLong Me.hwnd, GWL_EXSTYLE, GetWindowLong(Me.hwnd, Win.GWL_EXSTYLE) Or Win.WS_EX_APPWINDOW. However, such taskbar entries lack a right-click menu in their taskbar entry. Right-clicking them does nothing instead of bringing up a context menu. Is there a way, to attach a standard or custom handler to it?

  • 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. 2026-05-10T16:04:07+00:00Added an answer on May 10, 2026 at 4:04 pm

    Without a hack, I think you’re going to be stuck here, I’m sorry to say. When you set the VB6 borderless properties, you inherently disable the control menu. The control menu (typically activated by right-clicking the title bar of a window or left-clicking the icon in the upper left) is what’s displayed when you right-click a window in the task bar.

    Now, if you’re in the mood to hack, you might be able to ‘simulate’ the behavior in such a way that the user doesn’t know the difference. I got the idea from this message thread on usenet.

    Basically, it sounds like you may be able to hack it by using two forms. One form is minimized right away, and becomes your ‘stub’ in the task bar. The other form is the one you’re currently designing (which we’ll call the ‘main’ form). The stub form is what actually loads and displays your main form.

    The stub form isn’t borderless, and must not deactivate the control menu. It is positioned off screen and at the smallest possible size. You’ll respond to its form-level events, and then use those to communicate the appropriate behaviors to the borderless form.

    That’s the general gist of the hack. If I wasn’t at work right now, I’d whip up a simple VB6 project and see if I could get it to work for you.

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

Sidebar

Ask A Question

Stats

  • Questions 97k
  • Answers 97k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer vdhant - That's not how containers are meant to be… May 11, 2026 at 7:29 pm
  • Editorial Team
    Editorial Team added an answer If you have your "Properties" View turned on, theres a… May 11, 2026 at 7:28 pm
  • Editorial Team
    Editorial Team added an answer You can configure multiple remote repositories with the git remote… May 11, 2026 at 7:28 pm

Related Questions

I have CustomForm inherited from Form which implements a boolean property named Prop .
I'm using Windows Vista and C#.net 3.5, but I had my friend run the
I'm writing a direct3d application and after noticing strange bugs such as anti-aliasing occurring
Even when on the page, the EnableViewState property is disabled, I am still seeing

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.