titlebar

How to hide the title bar while application is loading and show it when it finishes loading?

淺唱寂寞╮ 提交于 2019-12-05 20:02:58
I have an application which uses a custom title bar. However, when my application launches, I noticed that the default title bar is shown for a brief period of time. My problem is I don't want to show the default title bar while my application is loading. How do I hide the title bar while my application is loading so that there will be no hint of it and then show it afterwards? So far, I tried the following solutions but none have worked: Hide the title bar in XML and then set the custom title bar in code. (Problem encountered: I received an error message saying: "You cannot combine custom

Can the Wicket modal window be customized?

与世无争的帅哥 提交于 2019-12-05 10:03:39
I need to add a button to the title bar of a Wicket modal window. I can't find anything useful in the Wicket API that will help me. Is there any way to customize the title bar in this way? According /org/apache/wicket/extension/ajax/markup/html/modal/res/modal.js you can't modify modal window decorator by wicket api because modal window markup defined entirely in javascript. So as always you can select simple but bad way and replace modal.js by your own, or you can hardly true way changing modal window after show using js to modify span with class "w_captionText". Or may be (i'm not test it)

Disable menu bar in Windows Mobile 6.5

天涯浪子 提交于 2019-12-05 08:53:35
I'm porting .NET application from WM5 to WM6.5. Besides new resolution I noticed different UI behavior for start menu and title bar (caption bar). My application needs to work in kind of kiosk mode where user can't exit application and bypass our authentication. For this purpose on WM5 I was hiding start button and close button. I am using following function: SHFullScreen(hWnd, SHFS_HIDESTARTICON | SHFS_HIDESIPBUTTON); Hiding buttons kind of works on WM6.5 too, but there is another problem. User can tap on the title bar (menu bar, caption bar - I'm not sure what is proper name for it - the bar

Android: Using FEATURE_NO_TITLE with custom ViewGroup leaves space on top of the window

不问归期 提交于 2019-12-05 07:42:52
I am trying to create a custom ViewGroup, and I want to use it with a full screen application. I am using the "requestWindowFeature(Window.FEATURE_NO_TITLE)" to hide the title bar. The title bar is not showing, but it still consuming space on top of the window. The image above was generated with the following code: public class CustomLayoutTestActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); requestWindowFeature(Window.FEATURE_NO_TITLE); Button b = new Button(this); b.setText("Hello"); CustomLayout layout = new

Hide a form's client area (but let the title bar be visible) when mouse is not over the title bar

拈花ヽ惹草 提交于 2019-12-04 21:03:05
I'm looking for a way to develop this: (source: hostingpics.net ) When the mouse is over the form's title bar (rectange 1 on the picture) the form content (the rectangle 2) is visible & when the mouse is not over, it disappears but the rectangle 1 must remain visible! How could i manage to do that ? Thanks in advance There are some mouse events related to the non-client area of the forms ( WM_NCMOUSEMOVE , WM_NCMOUSELEAVE , ...) that can be used for this purpose. But this is not simple, because they are not included in Windows Forms. To use this events, you should override WndProc of your form

uwp NavigationView control Titlebar

為{幸葍}努か 提交于 2019-12-04 20:20:20
I have a problem with the NavigationView Control and the titlebar. I have tried to extend the view into the titlebar to play with the acrylic effects of the standard NavigationView. But then I´ve noticed that the back and menu buttons are underneath the titlebar, so you´re not able to click them properly. In the attached image, you can see that everything under the red line is clickable but when you go over it, you are targeting the titlebar. Is there anything I can do to fix this behavior? I don't know which version OS you are working on, I didn't see this problem in recent Windows insider OS

How to add button to other apps window title bar (XP/Vista)

拥有回忆 提交于 2019-12-04 19:23:10
I have the handler of an open window which wasn't necessarily open by my process. How can I add a button to that window and make the button call a certain application (.exe) when clicked? The button could be next to the system menu or the minimize button. This should work for both XP and Vista (a different approach for each version is OK). The standard approach is to inject a DLL into the process with SetWindowsHookEx, hooking WH_CALLWNDPROC to monitor the WM_NCPAINT message. That used to work pretty well but no more. Visual Styles and Vista UAC will make you grow a pretty long beard. Common

Android: What's the difference between a title bar and an ActionBar

我的梦境 提交于 2019-12-04 16:18:51
问题 I can't tell if they're the same thing or not and they seem to have different methods for removing them but I'm not sure if those are just multiple methods to do the same thing or not. So is there a difference and if there is what is it? Ref: https://developer.android.com/reference/android/R.id.html#title https://developer.android.com/reference/android/app/ActionBar.html (with material design, it is usually represented by a Toolbar) 回答1: The Title bar is a small part of the UI that you can

How Can we hide title bar while using action bar?

淺唱寂寞╮ 提交于 2019-12-04 15:55:41
问题 I'm using ActionBarSherlock and I'm trying to hide the title bar of my application but whenever I do that, I get a NullPointerException when accessing the ActionBar How do I remove/hide the title bar? Please note that I'm not referring to the title of the action bar. I'm referring to the title bar above the action bar. I'm running my application on an Android 2.3 device. Below is my code: (My class extends SherlockFragmentActivity .) super.onCreate(savedInstanceState); setTheme(R.style.Theme

Android fullscreen activity with action bar

為{幸葍}努か 提交于 2019-12-04 12:15:15
what theme should I use to hide the notification bar but show the action bar? (Like calculator on Samsung phones) getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); Use this with Theme holo **you have to do it through coding add this before setContentView() ** 来源: https://stackoverflow.com/questions/27313117/android-fullscreen-activity-with-action-bar