Search found 29 matches: HideFromTaskBar

Searched query: +HideFromTaskBar

by Axolotl
Tue May 09, 2023 4:39 pm
Forum: Coding Questions
Topic: Move window by image...
Replies: 5
Views: 470

Re: Move window by image...

... but can't get them both.
this maybe can help here.


; ---== Windows Hiding from the Taskbar (professional way) ==---

Procedure HideFromTaskBar(hWnd, State) ; VOID .. State == Hide (1) and Show (0)
Protected TBL.ITaskbarList

CoInitialize_(0) ; CoInitializeEx_(0, #COINIT ...
by FihmpenRouk
Sun May 08, 2022 4:11 pm
Forum: Applications - Feedback and Discussion
Topic: DesktopCalendar
Replies: 0
Views: 1145

DesktopCalendar

... desktop.l
size.l
EndStructure

Declare.s ReadAutoStartString()
Declare WriteAutoStartString(appName$)
Declare EmptyAutoStartString()
Declare HideFromTaskBar(iWin.i)

DataSection
Icon:
IncludeBinary "DesktopCalendar.ico"
EndDataSection

; primär skärm är första index (0).
nDesktops ...
by Kwai chang caine
Mon Feb 14, 2022 12:41 pm
Forum: Coding Questions
Topic: Request an additional flag for the OpenConsole() function
Replies: 3
Views: 499

Re: Request an additional flag for the OpenConsole() function

... simple to fully hide the windows console :cry:

Structure RunProgramExtendedStructure
ProgramID.i
WindowHandle.i
EndStructure

Procedure HideFromTaskBar(hWnd.l, Flag.l) ; TsSoft
Protected TBL.ITaskbarList

CoInitialize_(0)
If CoCreateInstance_(?CLSID_TaskBarList, 0, 1, ?IID_ITaskBarList ...
by BarryG
Sat Jun 27, 2020 4:49 am
Forum: Coding Questions
Topic: Window with no titlebar or taskbar icon? [SOLVED]
Replies: 6
Views: 2339

Re: Window with no titlebar or taskbar icon?

RSBasic, your HideFromTaskBar() procedure is fantastic, but I need to know how to tell if a hWnd has a taskbar button already (so I can toggle it). Do you know how?

I know I can check for the #WS_EX_TOOLWINDOW style but not all hWnds have that style set. I also tried comparing two Notepad windows ...
by IdeasVacuum
Sat Mar 30, 2019 12:58 pm
Forum: Coding Questions
Topic: Hiding Window Item in the Taskbar
Replies: 10
Views: 2947

Re: Hiding Window Item in the Taskbar

... will not display in the Task bar.

If that is not a good solution, the following API code does it (this is not coded by me):

Procedure HideFromTaskBar(iWin.i)
;#------------------------------
;Use to prevent upteen icons appearing on the task bar when child windows are displayed

DataSection ...
by Michael Vogel
Sat Mar 30, 2019 9:15 am
Forum: Coding Questions
Topic: Hiding Window Item in the Taskbar
Replies: 10
Views: 2947

Re: Hiding Window Item in the Taskbar

... task switcher (Alt+Tab), the second window will be seen below the main window...

Meanwhile I am doing this (seems to be fine):

Procedure HideFromTaskBar(hWnd.l, Flag.l)

Protected TBL.ITaskbarList

CoInitialize_(0)
If CoCreateInstance_(?CLSID_TaskBarList, 0, 1, ?IID_ITaskBarList, @TBL) = #S ...
by RSBasic
Fri Aug 17, 2018 10:04 am
Forum: Coding Questions
Topic: Window with no titlebar or taskbar icon? [SOLVED]
Replies: 6
Views: 2339

Re: Window with no titlebar or taskbar icon?

Ah

EnableExplicit

Procedure HideFromTaskBar(hWnd.i, Flag.l)
Protected TBL.ITaskbarList
CoInitialize_(0)
If CoCreateInstance_(?CLSID_TaskBarList, 0, 1, ?IID_ITaskBarList, @TBL) = #S_OK
TBL\HrInit()
If Flag
TBL\DeleteTab(hWnd)
Else
TBL\AddTab(hWnd)
EndIf
TBL\Release()
EndIf
CoUninitialize ...
by Bisonte
Tue Jan 09, 2018 7:00 pm
Forum: Coding Questions
Topic: Window borderless, not draggable?
Replies: 7
Views: 2046

Re: Window borderless, not draggable?

RSBasic's WinApiLibrary says :

#MainWindow = 1

Procedure HideFromTaskBar(hWnd.i, Flag.l)
Protected TBL.ITaskbarList
CoInitialize_(0)
If CoCreateInstance_(?CLSID_TaskBarList, 0, 1, ?IID_ITaskBarList, @TBL) = #S_OK
TBL\HrInit()
If Flag
TBL\DeleteTab(hWnd)
Else
TBL\AddTab(hWnd)
EndIf
TBL ...
by LiK137
Fri Jun 02, 2017 12:57 am
Forum: Coding Questions
Topic: OpenCV very low performance on Camera settings Change
Replies: 0
Views: 1424

OpenCV very low performance on Camera settings Change

... Window_ScreenCentered | #PB_Window_SystemMenu)

RedrawWindow_(WindowID(0),0,0,#RDW_INVALIDATE | #RDW_ERASE)
UpdateWindow_(WindowID(0))

HideFromTaskBar(WindowID(0),1)
StickyWindow(0,#True)
ResizeWindow(0,#PB_Ignore,#PB_Ignore,FrameWidth,FrameHeight)
SmartWindowRefresh(0,0)
HideWindow(0,1 ...
by Danilo
Wed Sep 17, 2014 6:09 am
Forum: Coding Questions
Topic: Annoying Window Gadget Redraw [SOLVED]
Replies: 3
Views: 1596

Re: Annoying Window Gadget Redraw

... KTIPOShell",#WS_OVERLAPPEDWINDOW | 1 | #PB_Window_BorderLess | #PB_Window_Invisible) ;(1)__-=::[ CREATE INVISIBLE/HIDDEN WINDOW ]::=-__
HideFromTaskBar(WindowID(0),1)
WindowOnTop(WindowID(0))
Color = RGB(0, 0, 0)
InitWW = WindowWidth(0):InitWH = WindowHeight(0)
SetWindowColor(0, Color ...
by LiK137
Tue Sep 16, 2014 3:40 pm
Forum: Coding Questions
Topic: Annoying Window Gadget Redraw [SOLVED]
Replies: 3
Views: 1596

Annoying Window Gadget Redraw [SOLVED]

... INITWin
UsePNGImageDecoder()
OpenWindow(0,0,0,#Width,#Height,"KTIPOShell",#WS_OVERLAPPEDWINDOW | #WS_VISIBLE | 1 | #PB_Window_BorderLess)
HideFromTaskBar(WindowID(0),1)
WindowOnTop(WindowID(0))
Color = RGB(0, 0, 0)
InitWW = WindowWidth(0):InitWH = WindowHeight(0)
SetWindowColor(0, Color ...
by Danilo
Fri Jun 13, 2014 8:52 am
Forum: Coding Questions
Topic: How can I do a task does not appear in the taskbar?
Replies: 5
Views: 1896

Re: How can I do a task does not appear in the taskbar?

... Hide a Window from the Taskbar
;----------------------------------------
;----------------------------------------
EnableExplicit

Global _hideFromTaskbar_Object.ITaskbarList
;
; Hide or UnHide a Window from the Windows Taskbar
;
; STATES: #FALSE (0) = Show Window on Taskbar
; #TRUE (<>0) = Hide ...
by Bisonte
Mon Sep 02, 2013 10:48 pm
Forum: Tricks 'n' Tips
Topic: PopupWindow & PopupMenu powered by CanvasGadget
Replies: 1
Views: 2291

Re: PopupWindow & PopupMenu powered by CanvasGadget

First : http://purebasic.fr/german/images/smilies/allright.gif

I modified the code a bit.

Fit to Module
Comments added
HideFromTaskBar added ( ts-soft )

;:=============================================================================
;:- CustomPopupWindow.pbi
;:- Author : Eddy (modified by ...
by RASHAD
Mon Oct 01, 2012 8:02 pm
Forum: Tricks 'n' Tips
Topic: Capture Part or Full of Screen using mouse [Windows]
Replies: 9
Views: 2436

Re: Capture Part or Full of Screen using mouse [Windows]

... KEYEVENTF_KEYUP, 0)
keybd_event_(#VK_SHIFT,0,#KEYEVENTF_KEYUP,0)
keybd_event_(#VK_STARTKEY, 0, #KEYEVENTF_KEYUP, 0)

EndProcedure

Procedure HideFromTaskBar(hWnd, Flag)
Protected TBL.ITaskbarList

CoInitialize_(0)
If CoCreateInstance_(?CLSID_TaskBarList, 0, 1, ?IID_ITaskBarList, @TBL) = #S_OK ...