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 Tech Support » Fullscreen in RibbonBar Collapse All
Subject Author Date
Chun Pong Lau Mar 7, 2009 - 5:51 PM

Dear support team,


We would like to toggle our appliation with ribbon bar to fullscreen mode. Here are 3 questions.


1) How to hide ribbonbar in fullscreen mode? Your FullScreenState sample does not use ribbon bar hence we have no trace to go.


2) How to hide the tab when we are using CExtDynTabControlBar() in fullscreen mode?


3) How to hide the windows taskbar at the bottom of the screen in fullscreen mode?


Thanks a lot.


Regards,


Chun Pong

Chun Pong Lau Mar 13, 2009 - 9:42 PM

Dear support team,

Thank you for your efforts.

But the sample does not remove:
1) the ribbon bar at the top
2) the taskbar at the bottom

Thanks,
Chun Pong

Technical Support Mar 15, 2009 - 8:37 AM

Here is the updated version of the sample project written for you:

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

We fixed the main frame window position problem when it’s switched into the full screen mode and now it covers all the shell bars including task bar. By default this sample application displays the ribbon bar. We think this is very correct UI solution. Even in the full screen mode user is still able to press the Alt button and start navigating the commands inside the ribbon bar.

But you can do the following:

1) Comment the following line of code near beginning of the MainFrame.h file:

//#define __HIDE_RIBBON_BAR_IN_FULL_SCREEN_MODE__

2) Compile the sample application.

3) Remove the HKEY_CURRENT_USER\Software\Foss\RibbonFullScreen registry key using REGEDIT.EXE.

4) Run the new version of the sample application and try to press the F11 key in it.

Now the ribbon bar is not visible in the full screen mode. You cannot access it until you will return the main frame window into the normal mode.

If you need to return to the recommended version of this sample application, then you should comment the __HIDE_RIBBON_BAR_IN_FULL_SCREEN_MODE__ preprocessor variable again and do not forget to remove the HKEY_CURRENT_USER\Software\Foss\RibbonFullScreen registry key.

Technical Support Mar 13, 2009 - 3:38 PM

Please take a look at the following test project:

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

The switching between the full screen and normal modes can be quickly performed using the F11 key.

Technical Support Mar 9, 2009 - 10:37 AM

The FullScreenState sample project demonstrates how to implement full screen mode. A ribbon bar based frame window should do exactly the same. A ribbon bar, menu bar, tool bar, resizable control bar and status bar controls are kind of MFC control bars. To hide any of them, you should invoke the CFrameWnd::ShowControlBar() method. You don’t need to hide the task bar and other shell bars when your main frame window is switched into the full screen mode. You should just bring the main frame window to the top like the FullScreenState sample application does.

Chun Pong Lau Mar 10, 2009 - 6:35 AM

Dear support team,


I’ve found the following problem after hiding all the control bar, including a ribbon bar, a tab container and a status bar.


1) There is a black line on the top the screen. I don’t know how to remove it.


2) The FullScreenState sample cannot cover the task bar.


Thanks a lot.


Regards,


Chun Pong