Visual Studio 2013 Windows 8.1 App Debugging Black Bar Top Right - visual-studio-2013

I've been unable to figure out what the meaning of this black bar in the top right hand corner is while debugging my Win8 store app. Anyone have an idea how to remove it?
Note I was unable to take a screen snip of it so I had to use my phone.. weird.

Look in app.xaml.cs. The code to enable/disable is in the main function there.
DebugSettings.EnableFrameRateCounter
The numbers are performance indicators.
http://msdn.microsoft.com/en-us/library/windows/apps/windows.ui.xaml.debugsettings.enableframeratecounter.aspx
Left to right
Left side: App FPS and then App CPU
Right side: Sys FPS and then Sys CPU
Pete

Related

Visual Studio windows Tile and cross questions

I've recently (about 3 months ago) started using Visual Studio 2017 Community, v15.6.2. Questions that stump me:
1) How do I get all my windows to be tiled and remain on-screen as I move from one window to the next? At the moment I could have two or more windows in the workspace. As soon as I click on one to work in it, the others disappear. Don't know how to fix it!
2) What is that cross that appears in the center of the workspace when I am busy moving windows around. Cross seems to have arrows and made up of blocks by the looks of it.
3) How do I get the Properties Window to be vertically tabbed on the rhs side of the workspace? i.e. if I click on the Properties tab the Properties window appears, else it is not visible.
Thanks in advance.
By default only one code file is visible in VS. To see multiple code windows at once you can create several tab groups or float document windows outside the IDE. Another option is to use my Task Canvas extension - after you add code files or fragments to the Task Canvas window they are automatically tiled.
For the guide diamond and other window management options please refer to the Customize window layouts in Visual Studio documentation.

Resizing visual area of ccscren object in OSX

I have created a fairly simple graphics program by starting with the PeevedPenguin project using iPad as target and then trying to retarget it to the Mac. I am using current versions of Spritebuilder, Cocos, and Xcode.
When I move over to the Mac target, the game moves over with a number of smaller issues but I am having one big issue with how to expand the visual area of the scene. It always loads in a small visual window that cuts off display of any activity outside that box. My scene is basicially a derivation of the background screen from PeevedPenguins.
For this application I want the scene to fill, but not expand past, a window the size of my screen.
I have googled about every possible idea on finding a tutorial concerning how to build these windows, but unfortunately, some other use of the term windows fills up my search results.
Would really appreciated help in solving this issue. Even a link to some sort of "Graphic design for windows on the Mac" would help.
Thanks
Apple provides a convenient "Implementing the Full-Screen Experience" section in their Mac App Programming Guide.

Why is my application's window border grey in Windows 8, rather than being based off the desktop like other windows?

I have a large legacy application which is showing up with a perpetually grey border on every Windows 8 machine we run it on, while the other windows for other apps accurately use a color derived from the desktop background. For the life of me I can't find out why.
I've tried my best google-fu to crawl MSDN for APIs to control this but came up empty. The app looks like all others in Windows XP, Vista, and 7...just Windows 8 is grey in color. We definitely haven't added Win8 specific code to treat this otherwise.
It's just an MFC window on the outside, but inside it embeds a .NET/WPF component and a Direct3D 9-enabled visual area.
My best guess is it could somehow be related to having a Direct3D surface in the window, but I couldn't validate that anywhere.
Any help would be greatly appreciated!
Thanks
Edit: The grey matches the effect of not having focus, and we definitely do play games with window focus...so that could be it.
The problem was a developer overloaded OnNcActivate() and returned TRUE at the end. They needed to call up to the baseclass's (CWnd) OnNcActivate instead.
This was visible on Windows 7 as well if you looked close enough.
The Desktop in Windows 8 does not use transparency in window borders like Windows 7 and Vista did with the Aero Themes. If you are move the focus to another top window in your app, this could explain why your seeing the grey border. Try changing the colors for windows without the focus to something discernable from grey to verify that is what you are seeing.

Having 2 xcode windows side by side

So I have a 1920x1080 display, and when I try to run two xcode windows side by side, they overlap each other. I originally faced this problem on my MBP 1650x1050 screen but I am expecting for screen real estate.
Anyone have any ideas how to get it run side by side without the xcode windows getting cropped? I'm using BetterTouchTool to snap the windows to the left and right.
Here's a picture of the cropping:
Hide the toolbar (View > Hide Toolbar) and you will be able to resize Xcode windows to smaller sizes than when the toolbar is visible.
You may also want to hide the Navigator (View > Navigators > Hide Navigator) to make more room for the editor view.
Here is a screenshot with a 1440x900 resolution:
This isn't possible, OS X applications have predetermined minimum height and width attributes, which as far as I know can't be overridden. Believe me, I'm dealing with the same problem. It's pretty frustrating, but there isn't anything you can do about it.

Crystal Reports with Windows 7 - Report displays with a huge left margin inside viewer

I really hope someone can help me here. I have tried applying SP1 to Visual Studio 2008 and SP1 to Crystal Reports Basic that comes with VB2008 to repair this problem, but have had no success. I've tried setting margins, changing paper sizes and default printers too.. No joy.
Every time I create a ReportViewer and give it a ReportDocument in Windows 7, the report isn't centered in the ReportViewer. If I resize the width of the window to the point you can see the whole page of the report, theres a huge section of background to the left. I was originally coding under Windows XP (the error doesn't occur in XP but does occur on some client systems running Windows 7), but after swapping my coding environment over to Windows 7 this error even occurs at design stage! Please help if you can.
Screenshot:
http://i55.tinypic.com/53o135.jpg
As you can see in this screenshot, there is no Crystal Report Viewer background visible on the right, yet there is already a large section visible on the left. Once the window is enlarged further, the left becomes even larger still.
I'm using Crystal XI under Windows XP, but I think I can answer your question.
In the image below (taken from your image), the white space circled in red holds your Group Tree. Click on the icon above it (with the red arrow) to hide the group tree.
The grey space (circled in green) tells you the Section Names, i.e. Header, Group Footer, etc. To turn that off, go into File->Options->Layout.
Does this answer your question, I hope? Oh, and welcome to StackOverflow :)
OK, I found the solution to this problem. It's when the user selects 120% magnified objects in their Windows Display settings! You need to adjust things for the DPI change

Resources