I'm trying to view a window while working with the slideshow, but on clicking on slideshow again other window gets minimized. So, How to view another window during slideshow without the slideshow being unaffected?
In powerpoint, go to "Slide Show" (or just "Show" depending on your version) at the top menu bar.
Then click "Set Up Show....." (or just "Set Up" depending on your version)
Under Show type, select "Browsed by an individual (window)" and click OK.
This will put it into a window so you can go back and fourth like you are talking about.
Related
I'm trying to find a Cocoa control/button that is "text only" and tracks its highlight when click on. I've tried several combinations of push button with the Bordered checkbox unchecked, and Type set to as momentary push in, momentary light, and momentary change -- but I get no animation or difference in the running program (when the button is clicked).
Have you tried something like this?
It gives a button without borders, which highlights text on click, and unhighlights on the next click:
Is it something like you're looking for?
You usually only have one button that looks like a "default button".
However, I made a child window and placed two buttons in it (with the child window as their parent). Then I put the child window inside a dialog and displayed it.
Suddenly, the buttons stay highlighted even when I click other buttons!
Why?
Your child window needs the WS_EX_CONTROLPARENT style, to allow the dialog to handle the notifications from its children.
I'm trying to make my first Cocoa app (previously I was making iOS apps) and what I wish to do for my custom view is make it's title clickable with indicator (accessory) triangle facing down.
Clicking the title would open a popup/menu with my items.
How is that doneable in Cocoa?
Rdelmar's answer is probably the easiest way to go, but may not do exactly what you might want to do (which is replace the actual title with a pop up item, instead of having a popup button under the title in the toolbar area). With respect to functionality your application will probably work just as well using the toolbar.
If, however, you truly want to replace the actual title, the means of going about this would be to set the NSWindow title text to #"" to hide it, and redraw it by sticking in your own view.
[[[theWindow contentView] superview] addSubview:theSubview];
This basically tells the superview of the main content view to add another subview (direct "translation" from the code), and you'll have to tinker with the frame of this new subview to have it be positioned where the title should be positioned (as now it's free to be placed anywhere in the window frame, including on top of the title bar, as opposed to simply inside the content view).
theSubview can be your popup button, or whatever you want, and you'll also probably have to custom draw the popup button to match the original drawing of the window title.
You can do this by adding a toolbar to your window in IB. Once, you add the toolbar, you can double click on it to open the customizer view of it. Drag a popup button into the Allowable Toolbar Items area and after it is inserted there you can drag it into the bottom area which shows the layout of the toolbar -- you can also drag out any of the default items there that you don't want.
I have to implement a custom toolbar for my application, where a button will be placed on the side of exit, maximize and minimize buttons.
I tried to work with the toolbar element on XCode, but it always put elements below these buttons and not on the side.
App Store application implement this feature, like you can see in this image.
One solution is to start with this open source code (https://github.com/indragiek/INAppStoreWindow) to give you the correct title bar style, and then position buttons in the titlebar.
I am working on a sample which contains list view to display list of names in the data base. Once the application is launched list view will be invisible. After clicking on some button I am making it to visible. If I make it to visible the control bellow the list view are also visible. And I have button bellow that control, once I hove on the list view the button also displays over the list view.
Please let me now how to solve this problem.
It sounds like you have child windows on top of each other in a dialog. Use ShowWindow(SW_HIDE) to hide the windows that are 'underneath'. So when you make the listview visible, hide the button that is underneath.
On the windows desktop, application windows will properly hide other windows that are underneath one another, but in a dialog, different styles are used, and you have to be careful not to let controls overlap or they can draw on top of each other. Instead you need to hide the ones that you don't want to be visible.