Windows Taskbar API [closed] - windows

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there any API that allows to control which icons are shown in the Windows (7) Taskbar at a given time? I would like to have the processes still running, but their icons not show up on the taskbar.

See the various extended window styles in CreateWindowEx, and figure out which one suits your needs. (Many of them deal with taskbar items, it's not just one.) Then just set the style with SetWindowLong.
There's also ITaskbarList::DeleteTab, but I really don't recommend this for hiding your window.

I want the window to be hidden from view, including from the taskbar;
Hide the window. ShowWindow
ShowWindow(hwnd, SW_HIDE);

Have you considered creating an icon in the system tray or creating a windows service?

You want to create the windows using CreateWindowEx and use the WS_EX_TOOLWINDOW style to hide the window from the taskbar. Also, once you've created the window, call ShowWindow with SW_HIDE.

I'd try to send them WM_SETICON with NULL for both the big and small icons.

Related

How to hide the items in popup menu in system tray of the application? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I would like to hide update or hide certain popup menu items in the taskbar (system tray) of my application only. How do i do that?
If you are using Delphi TTrayIcon component for this then the answer lies in its PopupMenu property.
Through this property you can Access to TTrayIcon underlying PopupMenu at runtime in order to do necessary changes as you would do to any popup menu.
Or you could even assign your own PopupMenu to act as TTrayIcon PopupMenu. With this approach you can design several different PopupMenu-es at design time and then simply chose appropriate PopupMenu to be used at certain time of your Application execution.

How to customize enlarging a window on a mac pro? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 5 years ago.
Improve this question
I'm using a mac book pro.
When I'm pressing the upper left corner green button - it makes the window
into full screen and hides the dock bar.
I want my window to be almost full screen - I want the dock bar to remain.
One option is to manually starch it, but this is something that needs to be done every time.
Is there a way of customizing the upper left green button for that?
The functionality you're looking for is known as "zooming" the window. It used to be that the green button did that, but these days it enters full-screen mode instead. If you hold down the Option key when you click the green button, it reverts to the old zoom operation. You can also use the Zoom item of the Window menu. You can also configure things so that double-clicking on the title bar zooms the window, on the Dock pane of System Preferences.

How do I recenter the active program on Windows? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
This may seem like a silly question, but how do I recenter the active program, or get it back on my screen when I can't click it?
Sometimes when I run skype and switch between resolutions for full-screen programs, the skype window disappears off screen, and I have no way of dragging it back.
Does anyone know how to fix this without restarting the program?
Alt+Tab until the desired window is active.
Try the following shortcuts:
Win+Left: Fills left half of display with active window.
Win+Right: Fills right half of display with active window.
Win+Up: Maximize
Win+Down: Minimize or reset to window size prior to maximize.
NOTE, the above is for Windows 7. I haven't tested it on other OS's.
Not sure if it will work on earlier versions.

add show/hide hidden files icon in OSX finder window [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I can follow this script to show or hide hidden files on a mac, it works. Is there a way to add an icon to the finder window that on click toggles this functionality?
http://www.techiecorner.com/153/how-to-show-hidden-files-in-finder-mac-os-x/
Some ideas:
Make a double-clickable AppleScript file with above commands and
drag the icon into your sidebar or top window bar. This article might help.
Use the Secrets PrefPane to un/set Finder → Show hidden files
Use the hiddenfiles Dashboard Widget

Getting the Window Title? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Ok i specify:
My problem is that I want to assign a keyboardshortcut for Dreamweaver CS4 and I have it like this: "C:\Program Files\Adobe\Adobe Dreamweaver CS4\Dreamweaver.exe" Thats ok so far.
But when I press the key it doesn't place itself infront of everything else like Outlook and Visual Studio does, instead it blinks in the taskbar, and I have to click there anyway to get back to Dreamweaver.
Is there any switch or something I can assign for Dreamweaver to get back AND have it "popup?"
OR some coding with the window title property that fixes this?
The Win32 API has a function for enumerating all top level windows on the desktop - EnumWindows ( http://msdn.microsoft.com/en-us/library/ms633497(VS.85).aspx ). Using the enumerated window handle with the Win32 API GetWindowText call ( http://msdn.microsoft.com/en-us/library/ms633520(VS.85).aspx ) would get you that information.
I am unfamiliar with the C# based methods, but I expect there is a similar way there too.
But you did not specify enough information really, what language/tool are you trying to do this within?
Windows tries very hard to prevent applications from shoving themselves in the foreground. For some reason Windows thinks that CS4 is trying to move itself to the foreground and instead of stealing the focus from the current app in the foreground, it's flashing the icon for the app to let you know that it needs attention.

Resources