|
From: WonderMan on 26 May 2008 10:14 Hello, I created a MFC dialog-based program with VC++ 6.0 and Windows XP Pro, but when I use it, I get his name and icon showing on the Windows toolbar. Is there a way to hide the program from the Windows toolbar, i.e to be able to use the program without having his name and icon displayed on the Windows toolbar ? Thank you.
From: WonderMan on 26 May 2008 10:20 WonderMan avait �nonc� : > Hello, > > I created a MFC dialog-based program with VC++ 6.0 and Windows XP Pro, but > when I use it, I get his name and icon showing on the Windows toolbar. > > Is there a way to hide the program from the Windows toolbar, i.e to be able > to use the program without having his name and icon displayed on the Windows > toolbar ? > > Thank you. When I say 'Window toolbar', you should read 'Window taskbar', ie the bar which show at the bottom of your screen and shows a box with the program name and its icon when it is running ...
From: Doug Harrison [MVP] on 26 May 2008 11:34 On Mon, 26 May 2008 16:14:13 +0200, WonderMan <none(a)none.com> wrote: >Hello, > >I created a MFC dialog-based program with VC++ 6.0 and Windows XP Pro, >but when I use it, I get his name and icon showing on the Windows >toolbar. > >Is there a way to hide the program from the Windows toolbar, i.e to be >able to use the program without having his name and icon displayed on >the Windows toolbar ? See the CreateWindowEx documentation. I hope you have a good reason for wanting to do this. One of the most inconsistent, annoying things in Windows prior to Vista was that open Control Panel applets weren't represented by buttons on the taskbar. -- Doug Harrison Visual C++ MVP
From: Scott McPhillips [MVP] on 26 May 2008 11:38 "WonderMan" <none(a)none.com> wrote in message news:mn.d3ce7d854b213587.88081(a)none.com... > Hello, > > I created a MFC dialog-based program with VC++ 6.0 and Windows XP Pro, but > when I use it, I get his name and icon showing on the Windows toolbar. > > Is there a way to hide the program from the Windows toolbar, i.e to be > able to use the program without having his name and icon displayed on the > Windows toolbar ? > > Thank you. In you project's .rc file, change the dialog style from WS_EX_APPWINDOW to WS_EX_TOOLWINDOW. WS_EX_TOOLWINDOW is a special style, normally used with floating toolbars, that prevents the window from appearing on the Windows taskbar. -- Scott McPhillips [VC++ MVP]
From: WonderMan on 26 May 2008 11:55
Scott McPhillips [MVP] avait soumis l'id�e : > "WonderMan" <none(a)none.com> wrote in message > news:mn.d3ce7d854b213587.88081(a)none.com... >> Hello, >> >> I created a MFC dialog-based program with VC++ 6.0 and Windows XP Pro, but >> when I use it, I get his name and icon showing on the Windows toolbar. >> >> Is there a way to hide the program from the Windows toolbar, i.e to be able >> to use the program without having his name and icon displayed on the >> Windows toolbar ? >> >> Thank you. > > > In you project's .rc file, change the dialog style from WS_EX_APPWINDOW to > WS_EX_TOOLWINDOW. > > WS_EX_TOOLWINDOW is a special style, normally used with floating toolbars, > that prevents the window from appearing on the Windows taskbar. Thank you very much for this answer !� |