Avatar of CSecurity
CSecurityFlag for Iran, Islamic Republic of

asked on 

C++ CreateWindowEx Invisible in Taskbar

I have a window created using CreateWindowEx like this:

CreateWindowEx(NULL, &ClassName[0], NULL, WS_EX_APPWINDOW,
                                    CW_USEDEFAULT, 0, CW_USEDEFAULT, 0,
                                    NULL, NULL, hInstance, NULL)))

ALso I tried to hide my window from taskbar using
ShowWindow(hwnd, SW_SHOWNOACTIVATE);

also tried

ShowWindow(hwnd, SW_HIDE);

ALL WAS UNSUCCESFULL! I can't hide my window from taskbar. Still my window is in taskbar.

I want it to be visible to user but not visible and no entry in taskbar.

Please advice.

Thanks
Editors IDEsVisual C++.NETC++

Avatar of undefined
Last Comment
Jaime Olivares
ASKER CERTIFIED SOLUTION
Avatar of jkr
jkr
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
SOLUTION
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
C++
C++

C++ is an intermediate-level general-purpose programming language, not to be confused with C or C#. It was developed as a set of extensions to the C programming language to improve type-safety and add support for automatic resource management, object-orientation, generic programming, and exception handling, among other features.

58K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo