Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS General Discussion » How to hide application's main dialog as taskbar(auto hide of taskbar) Collapse All
Subject Author Date
Anil Siddhpura Jan 7, 2010 - 5:22 AM

Hi,

I have created one dialog base application. Now is it possible to hide it?

I want to hide the dialog just as window’s taskbar autohide. And it appears again when we move cursor to top or bottom of screen(Just like taskbar’s autohide)

Technical Support Jan 19, 2010 - 1:25 PM

We just opened both URLs in Google Chrome browser and saved these web pages:

http://www.prof-uis.com/download/forums/tmp/SavedContentForAnilSiddhpura.zip

Here is the source code of the CMainFrame class from the real life commercial project we coded for one of our customers. It’s the frame window which acts like shell bar. It’s re-dockable and supports auto-hiding like the Windows Task Bar does. It’s tested and working. You can download it and insert into your project:

http://www.prof-uis.com/download/forums/tmp/ReadyToUseCodeForAnilSiddhpura.zip

Anil Siddhpura Jan 20, 2010 - 12:06 AM

Hi,

Thanks for your support.

I used those two files. But it giving me compilation error while creating childview window(while calling m_ChildView.create function). Although I comment out that function and run the application and it work.

Also, can you provide me the sample project? And it’ll be better if the code is in dialog base application. As i have already developed my application in dialog base application.

Thanks in advance.

Technical Support Jan 20, 2010 - 1:33 PM

Of course, you should replace the view window creation code with something specific for your project. I.e. You should create your view window instead.
Which type of sample project you need? SDI? Dialog?

Technical Support Jan 12, 2010 - 6:49 AM

Both links are OK in IE, Chrome, Chromium, Firefox and Safari. Both links are simple and do not contain long parameters. You can check it yourself by looking at the source code of the html page. There may be something wrong on your computer.

Anil Siddhpura Jan 18, 2010 - 10:58 PM

Hi,

Yes, I saw that example. But that’s very old code and also very hard to reuse it.

Do you have any latest example of how to create appbar in MFC?

Technical Support Jan 11, 2010 - 6:04 AM

Cannot confirm that. Which web browser are you using?

Anil Siddhpura Jan 12, 2010 - 5:36 AM

Hi,

I have tried it with "Google Chrome" and "Internet Explorer"

Technical Support Jan 9, 2010 - 9:45 AM

You should convert your dialog into shell bar. Shell bars are also known as app bars. Please read the following:

http://support.microsoft.com/kb/134206
http://msdn.microsoft.com/en-us/library/bb762108(VS.85).aspx

Anil Siddhpura Jan 11, 2010 - 5:28 AM

Hi,

I tried to open the given links, but these links are not working