Want tabbed window effect like in windows properties for I-Phone - iphone

I am new to i-phone development.
as per my project requirement i want a tabbed window browsing effect like the one you see in window-XP display properties or in IE internet options.
i have found that tab bar controller is there in iphone .
but that tab bar comes at the bottom..
i want it on the top.
looking for your support.
Thanks,
DSOXT

Ideally, you would follow UI convention. Different platforms work in different ways, and a tab bar on top is "strange" on a iOS (or even Android) device. Pounding Windows conventions (which are actually now relegated to history - tab bars are disappearing in Windows) into iOS is silly.
However, if you REALLY want to do this, this may work: UITabBar customization (untested by me)

Related

Form title bar multicolour

I have a question about form appearance.
I would like to create an application that looks likes some MacOS app (for example Bear or even the App Store. These application are characterized by the left part (a sort of drawer) that is of on1y one colour.
I would like to have my forms created with Delphi in the same way.
I've looked at the internet and I've tried, as suggested, to use VCL style, but there are some problem due to Windows dpi setting on the various PC that run the application. So I wonder if there is a way to reach this task coding.
In the image below you can see how a normal window appear in a PC with Windows 10
The example is greeting with a simple form in which I put a panel painted of blue.
As you can see the titlebar of the windows is white and it can be painted with a color using the VCL styles (but in this case all the titlebar should be of that color.
What I would like to have is something like the following image (created in Photoshop )in which I've traced a red line only in order to highlight the titlebar:
I've tried with intercepting WM_NCPAIN or other similar solution but I can't find a way to reach my task.
Can someone help me with this problem?
Many thanks in advance
In Windows Vista and later, the appearance of the non-client areas of application windows (the title bar, icon, window border, and caption buttons) is controlled by the DWM (Desktop Window Manager). Using the DWM APIs, you can change the way the DWM renders a window's frame. (quote from MSDN).
There is an article Setting up a custom title bar on Vista/Windows 7 that explains how to do this using Delphi. The article also applies to Windows 8.x and Windows 10. The author has written a number of articles on the subject; you can find an overview here.

How to show the toolbar only in certain modes?

Is it possible to toolbar only when certain modes are used for the current buffer?
What I am aiming at is have the toolbar only active when gdb-gud or newsticker are running,
so that a quick interaction with it is possible. As soon as e.g. newsticker is closed, the toolbar-mode should be disabled.
Is there a general way to achieve this behavior, or do I have to write something myself?
tool-bar-mode is a global mode. You can of course turn it on or off on a mode hook, but it affects all buffers in all frames.
As #legoscia mentioned, you can make the tool bar frame-specific. tool-bar-here-mode makes this easier (togglable). It is in library tool-bar+.el
I don't think you can easily limit use of the tool bar to a particular mode.
However, you can make showing the tool bar be on-demand when you click Buttons in the menu bar. This saves screen real estate: Show the tool bar temporarily, for the space of a single use.
This is available with tool-bar-popup-mode, which is also in library tool-bar+.el.
Screenshots and description.

Creating an option type menu in iOS

This is what I'm talking about, only just hiding half of the view that called it:
I've searched on the internet for hours, but I seem to be missing some sort of key word. I've searched: iOS Menu, iOS Overlay Menu, iOS Options Menu, iOS Sharing Menu (as it resembled the old one), iOS Called Menu and variations of all of those. It would be extremely helpful if someone could tell me the name of this type of menu or possible explain how to make one.
That's called a UIActionSheet.

How do I create a Preference Pane?

How do I create a preference pane for my app on Mac. Also, how do I make a preferences section for my app in the iPhone?
Your iPhone app needs a Settings bundle if you want to have your preferences in the system preferences.
http://developer.apple.com/iphone/library/samplecode/AppPrefs/index.html
You can create your own preferences view in your app on either platform. This is done by creating a view controller or window controller like you would any other view controller/window controller and you can use NSUserDefaults to store/retrieve the information you obtain from your user.
To put settings inside your application you might want to consider mySettings, an open source (EPL) framework for doing much of the hard work. After making a small code contribution myself I decided against including the setting inside my app after all.
For the Mac, you may wish to consult Apple's Preference Panes guide.
For Mac OS X, i would recommend my RHPreferences framework.
Available on GitHub. BSD Licensed.
Its a simple and easy Preferences window controller with multiple tabs for your next Mac application.
It also provides:
Auto resizing between different sized tab views (With animation)
Custom NSToolbarItem support
Persistence of the last used tab
Support for placeholder NSToolbarItems (eg NSToolbarFlexibleSpaceItemIdentifier & NSToolbarShowFontsItemIdentifier)

Eclipse RCP Splash Screen

I'm involved in a project that is attempting to use the Eclipse RCP splash screen to gather user credentials, language, etc. If this screen loses focus, it is not available (under Windows at least) through the ALt-Tab functionality, and can only be found by minimizing all other windows and uncovering it. Any way of having this screen allow itself to be activated in this way? They're avoiding creating an intermediate screen, for reasons unknown at this point.
I think it might be time to examine those unknown reasons. Even eclipse doesn't use the splash screen in this way. If it needs to prompt for information, it opens a new dialog to ask for it.
Good luck.
[Edit] I stand corrected. This thread seems to have a solution to this. Good luck, I'm no SWT/RCP guru.
See this page. From one of the comments:
The splash screen window is created natively with the extended window style WS_EX_TOOLWINDOW which makes it not appear in the task bar. This corresponds to the SWT constant SWT.TOOL.
I don't know if it's possible to change the window style after it is created on Windows. You can always drop down to JNI if that's necessary.
Create your own implementation of AbstractSplashHandler.
When creating the shell, don't use the SWT.TOOL style.
The shell will be accessible through the windows task bar.