Hiding Taskbar

Hiding Taskbar

Question:
I was wondering how to hide the taskbar in NT/95?

Answer:
To hide the task bar you will need to declare two API calls. These two API calls will locate the TaskBar window handle and then alter the state of the window.

Declare the API calls as follows:

Function long FindWindowExA &   ( long hWnd, long hWndChild, &  ref string lpszClassName, &  ref string lpszWindow) library 'user32'Function long ShowWindow &  (long hWnd, long nCmdShow ) library 'user32'

Then add the following code to your PowerBuilder script:

Constant Long SW_HIDE = 0String ls_ShellTaskBarWnd = "Shell_TrayWnd"String ls_NullLong ll_HTaskBarll_HTaskBar = FindWindowExA( 0, 0, &  ls_ShellTaskBarWnd, ls_Null )ShowWindow( ll_HTaskBar, SW_HIDE )

The same code can be used to redisplay the taskbar when you are finished:

Constant Long SW_SHOW = 5String ls_ShellTaskBarWnd = "Shell_TrayWnd"String ls_NullLong ll_HTaskBarll_HTaskBar = FindWindowExA( 0, 0, &   ls_ShellTaskBarWnd, ls_Null )ShowWindow( ll_HTaskBar, SW_SHOW )
Share the Post:
Heading photo, Metadata.

What is Metadata?

What is metadata? Well, It’s an odd concept to wrap your head around. Metadata is essentially the secondary layer of data that tracks details about the “regular” data. The regular

XDR solutions

The Benefits of Using XDR Solutions

Cybercriminals constantly adapt their strategies, developing newer, more powerful, and intelligent ways to attack your network. Since security professionals must innovate as well, more conventional endpoint detection solutions have evolved

AI is revolutionizing fraud detection

How AI is Revolutionizing Fraud Detection

Artificial intelligence – commonly known as AI – means a form of technology with multiple uses. As a result, it has become extremely valuable to a number of businesses across

AI innovation

Companies Leading AI Innovation in 2023

Artificial intelligence (AI) has been transforming industries and revolutionizing business operations. AI’s potential to enhance efficiency and productivity has become crucial to many businesses. As we move into 2023, several

data fivetran pricing

Fivetran Pricing Explained

One of the biggest trends of the 21st century is the massive surge in analytics. Analytics is the process of utilizing data to drive future decision-making. With so much of

kubernetes logging

Kubernetes Logging: What You Need to Know

Kubernetes from Google is one of the most popular open-source and free container management solutions made to make managing and deploying applications easier. It has a solid architecture that makes