titlebar

Application Title in Taskbar but not Titlebar

夙愿已清 提交于 2020-01-15 07:41:39
问题 This is a strange thing I'm doing, but how can I set the title of a winform form in the taskbar, but not in its titlebar? 回答1: A possible solution (it works fine for me) it's to override the CreateParams property and set the caption to be displayed in the taskbar: protected override CreateParams CreateParams { get { new SecurityPermission(SecurityPermissionFlag.UnmanagedCode).Demand(); // Extend the CreateParams property of the Button class. CreateParams cp = base.CreateParams; // Update the

adding click listener to titlebar image

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-14 08:49:06
问题 Merry Christmas and Happy Holidays everyone! I'm trying to setup a listener on the image icon that appears on the left side of the default title bar, but so far not having any luck. Here's my Activity's onCreate: @Override public void onCreate(Bundle savedInstanceState) { requestWindowFeature(Window.FEATURE_LEFT_ICON); super.onCreate(savedInstanceState); findViewById(Window.FEATURE_LEFT_ICON).setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { System.out.println

Can the Wicket modal window be customized?

帅比萌擦擦* 提交于 2020-01-13 10:14:09
问题 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? 回答1: 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

Round corners on a borderless NSWindow

大城市里の小女人 提交于 2020-01-13 03:41:51
问题 I'm creating an application and I don't want a title bar: If the title remains the same all the time, does it make sense to show it? For example, if an app doesn’t show the names of documents, or any other assets that it opens, and there is plenty of space at the top around other controls to grab onto if you want to move the window around, does the title serve much purpose? The problem is: how do I do this? I tried using [mainWindow setStyleMask:NSBorderlessWindowMask]; but I can't make it

Round corners on a borderless NSWindow

不想你离开。 提交于 2020-01-13 03:41:39
问题 I'm creating an application and I don't want a title bar: If the title remains the same all the time, does it make sense to show it? For example, if an app doesn’t show the names of documents, or any other assets that it opens, and there is plenty of space at the top around other controls to grab onto if you want to move the window around, does the title serve much purpose? The problem is: how do I do this? I tried using [mainWindow setStyleMask:NSBorderlessWindowMask]; but I can't make it

How to change the font style of the dialog's title bar in MFC

你。 提交于 2020-01-11 10:17:10
问题 By default in MFC, the font of the dialog's title bar is in correspondence with the system settings. How can I change the font style? 回答1: This is not just an MFC default; it works that way for all Windows applications. That's because the operating system draws the title bar for all windows, and naturally the operating system respects the settings that the user has configured. If you want to change that and override the user's settings (and I really question why you would want to do such a

Adding a custom button in title bar VB.NET

我是研究僧i 提交于 2020-01-11 03:57:07
问题 I was just wondering if there was a possible way to add a custom button into the title bar using VB.NET. I've seen many such questions on Stack Overflow but failed to get a sure-shot and a working answer. Can anyone help me around with this issue? I've checked on Google and other website too but it fails to render. I want the code to work on Windows XP, Windows Vista and Windows 7. I would be grateful if you will be able to give a working code and the button must even be able to accept click

text box error in android

 ̄綄美尐妖づ 提交于 2020-01-06 16:01:25
问题 hi in my app i have 2 Activity named as A and B. Now i am placing 2 edit boxes for typing the first name and last name, with an OK button in Activity A. After entering the data and pressing OK button i want to show the first name and last name as the title text of Activity B. i have tried and succeed in passing those names to be subject of my mail in the same app. pls help me... 回答1: You can use putExtra and getStringExtra with your Intent to pass String parameters to a new Activity. In

Jommla 3 Header Title Bar

江枫思渺然 提交于 2020-01-05 15:19:42
问题 Does anybody know how to add a header "Title Bar" in joomla 3 for where the title should go for an article? I have attached a picture of what I'm looking for. Thanks Title Bar Picture 回答1: By default you also can add for example a single line, we have a feature for Custom Page Heading on each Menu Item. If you have for example a menu item type Category Blog, this will works for the entire section, same thing for menu item type Single Article and so on. 回答2: It looks like the titles are being

can I add text box beside the title of WPF window

我的梦境 提交于 2020-01-05 08:57:27
问题 We have a requirement where need to change the title which I can't change the existing code. I can write my c# code using the existing namespaces, libraries something like extensibility of the existing application. My question how Title can be changed from my code with my requirement(existing code already changed the title as per their requirement) Please suggest any changes Thanks, Rajesh 回答1: for (int i = 0; i < Application.Current.Windows.Count; i++) { var win = Application.Current.Windows