I have an article here on CodeGuru that does the same sort of thing as Filipp's code, but for CDialog-based apps. Filipp's code only seems to work with CWnd-based apps. There are several comments attached to this article try to address this issue, but none of them seem to help.
Hey there guys and gals. Just found this forum on yahoo as I was doing some research. Ok here it is. I would like to create a webpage that will not have a taskbar button.
In other words, everytime you open a site, it will appear on your taskbar... right? Well I want know how I can create a "floating" site that does not display itself on the task bar.
Can this be acheived with simple scripting or do I have to embed the page in some form of application that floats and then hide the application itself. Been racking my brain on this one for a while. I really don't want to have to create a software (which I've never done) to achieve this goal. Your response would be most appreciated.
I want to get the icon for the application directly into the systray when the exe file is executed. I do not require during minimize operation i want to start and stop the application thru the icon similar to other applications like volume control, realplayer, etc.,
It is a dialog based application.
The shell does not create a taskbar button if the window being created has the WS_EX_TOOLWINDOW style. This is well-known, but this trick did not seem to work for Dialog-based apps.
The problem with Dialog-based apps is that the wizard-generated resource file creates the main dialog with an extended style bit WS_EX_APPWINDOW set. This is not visible / changeable in the resource editor. checking or unchecking 'Tool Window' in the resource editor will toggle between
EXSTYLE WS_EX_TOOLWINDOW | WS_EX_APPWINDOW
; with both settings a taskbar button will be created.
To solve this, open the .rc file, selecting 'Open As: Text'
in the file open dialog box. search for the line
and replace WS_EX_APPWINDOW with WS_EX_TOOLWINDOW.
Save, recompile and start - no taskbar button will be created.
When the taskbar button -is displayed- and the window
is not on top, and you click the window's caption to bring
it to the top, it comes to the top but its button in the
taskbar is not pressed.
It's unclear why the disconnection between the main
window and the taskbar should cause the taskbar not to
update. There may not be a way around this problem.
If anyone has any suggestions, please let me know!