[Q]How to snap metro apps in CP - Windows 8 General

Title say it all
Thanks

I am assuming you are using a keyboard and mouse.
While having more than one app open, take your mouse to the top left of the screen. When you are there, click and drag the app that should appear. Drag that app to either the left or right side of the screen, but not the center. This should snap it to a certain portion of the screen.
Note: There is a minimum resolution required to enable snapping.

I think its because of the resolution i looked at the win 8 keyboard and mouse guide video and there it snaped like you mentioned. My laptop resolution is 1280x80

Related

Putting PPC (Harrier & iMate) app on Treo 700wx Issues

Hi,
I have an application which has been running nicely on Harrier and iMate devices, well any PPC devices really because of their rectangular screen shape.
My client has gone and bought some Palm Treo 700wx devices, and they have a smaller square screen.
In the resource of my project the screens are designed to fit PPC. When it runs on the Treo the Treo automatically pops up a scroll bar to allow the whole view to be seen.
The issue is when I first go into the app I can't see the top of the screen, about 20 odd pixels heigh aren't displayed. The scroll bar still displays and I can scroll down to the bottom of the view, and when I scroll up again the top of the screen is still out of sight.
If I exit the app just by tapping on the x in the top right corner (so the app is still running, not exiting properly via my Exit button which shuts down the app), I exit the app and then when I go back into the app the screens are displayed correctly, there is no missing space at the top of the screen.
If I exit the app via my exit button and then start the app again, the top of the view is missing again.
Does anyone know why the screen isn't displayed correctly when I first enter the app, or why it should come right when reloading the view again? Has anyone else had problems with screen layout when putting PPC apps on the square Treo 700wx?
Thanks
It sounds like you have a 'refresh' problem. I haven't encountered this my self and it is really hard to diagnose when you don't even tell us what language your app is written in, but basically here is what I think happens:
When your app is launched, part of its window doesn't get properly painted (not sure why exactly).
When you click the X the app isn't closed, but minimized.
When you return to it the window is maximized and repainted. Second repaint goes correctly.
The quick solution to this would be to force a window refresh just after the app is fully started.
Sorry I forgot to add the language.. it's written in eVC++ 3.0
I'll give the refresh a go, thanks
Further Questions..
I thought that minimising and then maximising the screen fixed the problem, but only partially..
Because the screen in resource is designed for regular PPC it is bigger than the Treo 700 screen size, so the OS automatically shows a scroll bar.
The new issue I'm seeing is to do with the scroll bar. The steps I take to reproduce the issue are:
1. Go to View1, and I scroll down the view (I'm using CView not CDialog)
2. Go to View2
3. Go back to View1. When I go back to the first view the scrollbar is scrolled down in the position I left it.
4. Scroll up to top of view and some of the controls in the wrong place. Some controls I dynamically create in OnInitialUpdate, and as part of the Create() I pass in CRect to tell it where to create the control.
If I set CRect.top to say 10, it's created 10 down from the top of the visible screen. The problem is that because I've scrolled the view previously the view draws it 10 down on the visible portion of the view.
I had thought that the easiest solution would be to always reset the scroll bar to the top of the view before creating my controls, but I'm not sure how to force the OS scroll bar to the top of the view. I've tried SetScrollPos(0,0) or ScrollWindow(0, y). ScrollWindow moves the actual view up or down, but the OS scrollbar is still in the same position.
Any ideas on how to set my view window to the top and to reset the scrollbar?
Thanks again
How to refresh a view?
I have sorted the issue mentioned just above, by finding the scroll position and factoring in that when I set the value of CRect area of the controls I need to dynamically draw.
I'm now just left with the first issue, of when I first start up the app the top part of the window and scrollbar are covered by the Title/Taskbar at the top of the screen.
If I close the app via the x button and restart the app, the issue resolves itself. Or if I open up any dlg like the About screen or even display an AfxMessageBox, when I close the dialog the original screen is redrawn correctly, in the correct position and scroll bar fully shown.
I have tried calling RecalcLayout(), RefreshWindow(), UpdateWindow(), Sending WM_SIZE messages and a whole range of things, but I can't seem to get the screen refreshing correctly apart from when I open any dialog and close that dialog.
When you close a dialog what messages get sent to the previous view that force it to redraw? Does anyone have any suggestions how I can force a refresh myself?
Thanks again
Did you try InvalidateRect?
I am getting a bit rusty with MFC, since I now try to do things the hard way and use pure win 32, but this should work.
If you can't use it as a class member, call the API directly using you view GetSafeHwnd() function for window handle). Use NULL for lpRect to redraw the whole window and FALSE for bErase to prevent flickering.
Note that UpdateWindow() only triggers repaint if part of the window becomes invalid (the contents needs redrawing).
No I hadn't thought of using InvalidateRect(), so I should give it a go.
In the end I just wanted the issue fixed so opted for a quick 'n dirty solution of displaying a temp CDialog as soon as the app starts and calling EndDialog() immediately in the OnInitDialog() so the dialog disappears before you see it.
It worked and the original screen gets updated to correct size, layout and scroll bar.
Cheers.

HOW-TO Windows 8 Screen Capture

Help, please.
What is the *best* way to get a Windows 8 screen shot?
Surprisingly I am currently using a Virtual Machine (VM) and I cannot find an obvious way to screen capture. Duh?
Suggestions:
(1) I do not assume any VM software, so the best method should be available directly in the OS.
(2) Must be free, e.g. if it can be done via Visual Studio debugger/emulator it must still be free like VS Express.
(3) Method should work with keystrokes, touch gestures, button, etc., that are available on any hardware or Virtual Machine platform.
(4) Ability to capture both Windows Desktop and Metro screens required.
(5) Ability to capture sub-full-screens optional.
There may eventually be many ways, so everyone's suggestions welcome.
clipping tool
u can use the snipping or clipping tool (i forget what its called)
point ur mouse in the bottom left corner untill a little menu comes up with the time....then click search.....in the search box, just type "snipping tool" and click on apps
Or, you could press print screen and paste the screen capture into any random program that takes photos.. paint is one.
ok, i got tested snagit in Windows 8 and it worked nice since it has shortcuts and such. of course i thought like the easier thing was printscreen.
but i tested some other screen capture, since you want a free one and i found Greenshot
http://getgreenshot.org/
open source, with good features like Windows capture, and region and obviously full screen, also capture last region, so you can capture the same region over and over, and a big plus its it has an editor! so you can add stuff to the image if you want without going to another software . it worked good, of course its not as deep as snagit, but it worked great, looked great, with desktop and metro UI.
hmm if you are gonna grab a region in metro UI you have to press for example screenprint and then go to desktop and then you select which part you want to grab. it happens with snagit as well.
if you are going to use Windows capture you have to be in the window. it will grab it automatically you dont choose it. (well in my mini test) ok i found an interactive Windows capture mode in settings, besides how to disable capture mousepointer. but interactive Windows capture didn't work well for me
maybe it can work for you! it was the only with editor and free. i could find.
Another way for screenshots, put your mouse in bottom left corner and a menu appears and click share. Then there's a take a screenshot button at far right.
Sent from my GT-S5660 using xda premium
Plays2 said:
u can use the snipping or clipping tool (i forget what its called)
point ur mouse in the bottom left corner untill a little menu comes up with the time....then click search.....in the search box, just type "snipping tool" and click on apps
Click to expand...
Click to collapse
START -> type "snip" and launch Snipping tool.
Its built in. No need for other software.
Alternatively, you can use Print Screen (for the whole screen), or ALT + Print Screen for the active dialog/window
Enjoy.
http://www.thewindowsclub.com/snipping-tool-capture-screenshots-windows-8-tips

Multitasking...where??

I am sure you have seen this cool multitasking feature everywhere. The left pane has one app and the rest of the screen has another.
Now i can see the pane on the left, but it is of all the apps that are open. One app doesnt stay on whilst the other is going on on the rest of the screen...
I am x64 Windows 8 Enterprise N edition.
Any help>??
Also, just a side question...is Windows 8 by default a touch enabled OS? Like if I get a touch-monitor tomorrow, will the same OS respond as smoothly as they show in commercials??
Thanx!
Your resolution needs to be higher than 1360x768 for snap to work.
And yes, if you connect a touch monitor and Windows has the correct drivers, it'll give you gestures and stuff.
If you have one app (or the desktop) open and pull out the pane with all open apps on the left, then you can drag one app out of this list to each side of the screen (left or right).
Yes, touch will work out of the box if a touch-enabled device is connected.
SilverHedgehog said:
Your resolution needs to be higher than 1360x768 for snap to work.
And yes, if you connect a touch monitor and Windows has the correct drivers, it'll give you gestures and stuff.
Click to expand...
Click to collapse
Currently it is 1024x768. SO Snap wont work for me...right??
hanswurst24 said:
If you have one app (or the desktop) open and pull out the pane with all open apps on the left, then you can drag one app out of this list to each side of the screen (left or right).
Click to expand...
Click to collapse
Nope...doesnt work...
The app maximizes and the background app goes behind and the pulled app takes precedence...
Nope you don't have enough resolution for snap to work. When you upgraded the upgrade assistant told you that snap apps won't work when you upgrade.

Most important app! Dock4Droid

After using the Fire TV for a while I figured I would share my most inportant app. Its an app that I never really cared about using on other devices, but could not live without it on the Fire TV. Dock4Droid is awesome on the fire TV. Not only does it make multitasking funtional, but it gives you the ability to uninstall apps from anywhere. If you have an app open, just click the gear and the app info will popup and let you uninstall it. So you can uninstall several apps withing seconds without having to go all the to the actuall setting menu. If you have the app store apk that shows all your apps on the home screen you can simply open the app, hit the gear, delete the app, delete cache/data, and move on to another app. You can keep apps and shortcuts permanantly on the dock, so if you wanna do a fast reboot from anywhere, you can. It makes using multiple apps super fast. I have mine set to open apps with two finger so all I have to do is just put the cursor near the app and let go of the mouse button and it opens. I do not use the dock background, cause it looks horrible, but the color mist background looks great, and can be set to any color. The only problem is that it causes an artifact along the top and left side when the cusor passes over, but I have found that all apps that can be opened from an activation area do the same on the fire TV. Sidebar, Fancy Switcher etc all cause the same square artifact. Anyway, just thought I would share incase someone was looking for something to make their Fire TV a little easier to navigate through. Feel free to share other apps that are important to use on the Fire TV. No games or entertainment apps, just apps that make using the Fire TV easier or better.
porkenhimer said:
After using the Fire TV for a while I figured I would share my most inportant app. Its an app that I never really cared about using on other devices, but could not live without it on the Fire TV. Dock4Droid is awesome on the fire TV. Not only does it make multitasking funtional, but it gives you the ability to uninstall apps from anywhere. If you have an app open, just click the gear and the app info will popup and let you uninstall it. So you can uninstall several apps withing seconds without having to go all the to the actuall setting menu. If you have the app store apk that shows all your apps on the home screen you can simply open the app, hit the gear, delete the app, delete cache/data, and move on to another app. You can keep apps and shortcuts permanantly on the dock, so if you wanna do a fast reboot from anywhere, you can. It makes using multiple apps super fast. I have mine set to open apps with two finger so all I have to do is just put the cursor near the app and let go of the mouse button and it opens. I do not use the dock background, cause it looks horrible, but the color mist background looks great, and can be set to any color. The only problem is that it causes an artifact along the top and left side when the cusor passes over, but I have found that all apps that can be opened from an activation area do the same on the fire TV. Sidebar, Fancy Switcher etc all cause the same square artifact. Anyway, just thought I would share incase someone was looking for something to make their Fire TV a little easier to navigate through. Feel free to share other apps that are important to use on the Fire TV. No games or entertainment apps, just apps that make using the Fire TV easier or better.
Click to expand...
Click to collapse
Nice find, porkenhimer. What are you using for a mouse? I own Dock4Droid, used it on my Samsung tablet for quite a while.
Would it work on the Fire stick?
Thanks.
I am actually using an offbrand keyboard with touchpad that I got new on ebay for around $5. To be honest this cheap ugly keyboard/touchpad has worked better than anything else I have used on the fire TV. This $5 keyboard has more features and runs better than my $50 dollar keyboard. Not bad for a cheap chinese made keyboard. I use it exclusively for the Fire TV now and it combined with Dock4Droid make my Fire TV amazing. I rarely use the remote unless I am using Kodi. With Dock4Droid I can just go from app to app without ever needing to go to the homescreen too ofton. Plus I can force close apps from anywhere with Dock4Droid, so if an app is acting up there is no need to go all the way to the manage apps screen I can just close it instantly with Dock4Droid. I can be watching something in Kodi and need to look something up on google, I just popup Dock4Droid and open the browser while Kodi still plays in the baackgroud for me to listen, which is nice., cause I do not have to use the home button. I am pretty sure it will work on the stick too.
porkenhimer said:
I am actually using an offbrand keyboard with touchpad that I got new on ebay for around $5. To be honest this cheap ugly keyboard/touchpad has worked better than anything else I have used on the fire TV. This $5 keyboard has more features and runs better than my $50 dollar keyboard. Not bad for a cheap chinese made keyboard. I use it exclusively for the Fire TV now and it combined with Dock4Droid make my Fire TV amazing. I rarely use the remote unless I am using Kodi. With Dock4Droid I can just go from app to app without ever needing to go to the homescreen too ofton. Plus I can force close apps from anywhere with Dock4Droid, so if an app is acting up there is no need to go all the way to the manage apps screen I can just close it instantly with Dock4Droid. I can be watching something in Kodi and need to look something up on google, I just popup Dock4Droid and open the browser while Kodi still plays in the baackgroud for me to listen, which is nice., cause I do not have to use the home button. I am pretty sure it will work on the stick too.
Click to expand...
Click to collapse
Thanks for the reply, porkenhimer, I really appreciate it.
I can't figure out how to get to the configuration options. I'm only able to get to the screen to turn it on and off.
Just go to manage all apps and open Dock4Droid.
I can open it but there is only around 4 options. I can't find any of the configuration options as shown in the YouTube video. There's a part at the bottom that shows Launchers, but it's empty.
Jedis said:
I can open it but there is only around 4 options. I can't find any of the configuration options as shown in the YouTube video. There's a part at the bottom that shows Launchers, but it's empty.
Click to expand...
Click to collapse
Check your inbox on here, cause I sent instructions to you.
I gave it a try. I guess if you are using a keyboard with mouse mode all the time it is handy. It would be more useful if the app bar would stay active after being clicked. I can only figure out how to select an item from the bar by keeping the mouse button pushed and scrolling around to highlight the app icon and letting go.
Unless I missed a setting somewhere ... I dont see how to be able to use the app without using both hands and multi-touch.
mscroggi said:
I gave it a try. I guess if you are using a keyboard with mouse mode all the time it is handy. It would be more useful if the app bar would stay active after being clicked. I can only figure out how to select an item from the bar by keeping the mouse button pushed and scrolling around to highlight the app icon and letting go.
Unless I missed a setting somewhere ... I dont see how to be able to use the app without using both hands and multi-touch.
Click to expand...
Click to collapse
If you have it set to open apps with a finger up swipe then all you have to do is put the cursor anywhere in the area of an app that shows the label and let go of the mouse button. You do not really need to do a finger up swipe to open apps, just put the cursor in any apps area and let go of the button. The app that shows a label will be the app that opens. Also to get the dock to stay on screen all you have to do is set it to open apps with one click or two clicks and when you activate Dock4Droid it willl stay up til you click once or twice on the app. Some other settings I have set is making the icons 12pix, cause the icons become sharper the smaller they are. I also have my activation area set to the bottom at 100% with the smallest width and invisible, cause that way it does not interfere with anything else on the screen. All I have to do is put my cursor in the bottom right corner and press the mouse and it activates.
porkenhimer said:
If you have it set to open apps with a finger up swipe then all you have to do is put the cursor anywhere in the area of an app that shows the label and let go of the mouse button. You do not really need to do a finger up swipe to open apps, just put the cursor in any apps area and let go of the button. The app that shows a label will be the app that opens. Also to get the dock to stay on screen all you have to do is set it to open apps with one click or two clicks and when you activate Dock4Droid it willl stay up til you click once or twice on the app. Some other settings I have set is making the icons 12pix, cause the icons become sharper the smaller they are. I also have my activation area set to the bottom at 100% with the smallest width and invisible, cause that way it does not interfere with anything else on the screen. All I have to do is put my cursor in the bottom right corner and press the mouse and it activates.
Click to expand...
Click to collapse
Hmm Are you running this on a stick? I finally got it to basicallly work.. I was never able to get the bar to show without clicking the mouse and moving the cursor at the same time. My issues had to do with which keyboard I was using .. There were a bunch of settings I could not get to. I could scroll down a poage.. but no further... doing alt->down would bounce me to the bottom page, but I was never able to get to the pages inbetween. My ipazzport has a <<<<>>>>> bar on the touchpad that would let me get to the settings between the top page and the bottom page.. I was able to get some things set and then go back to my other keyboard. My normal keyboard mini BT keyboard has mouse buttons on the left and right side.. which makes the multi touch thing fairly easy. I will play with it and see how I like it over time.. On the surface, I think maybe the firedtv app might be a better fit for me.. as I dont always use the keyboard.
Jacksmyname said:
Nice find, porkenhimer. What are you using for a mouse? I own Dock4Droid, used it on my Samsung tablet for quite a while.
Would it work on the Fire stick?
Thanks.
Click to expand...
Click to collapse
check out the FAVI Wireless Keyboard/Touchpad! This thing is great. I think someone posted a thread on it. Great reviews.
http://www.amazon.com/FAVI-FE02RF-BL-Wireless-Keyboard-SmartStick/dp/B0090BTY8Y
​
mscroggi said:
Hmm Are you running this on a stick? I finally got it to basicallly work.. I was never able to get the bar to show without clicking the mouse and moving the cursor at the same time. My issues had to do with which keyboard I was using .. There were a bunch of settings I could not get to. I could scroll down a poage.. but no further... doing alt->down would bounce me to the bottom page, but I was never able to get to the pages inbetween. My ipazzport has a <<<<>>>>> bar on the touchpad that would let me get to the settings between the top page and the bottom page.. I was able to get some things set and then go back to my other keyboard. My normal keyboard mini BT keyboard has mouse buttons on the left and right side.. which makes the multi touch thing fairly easy. I will play with it and see how I like it over time.. On the surface, I think maybe the firedtv app might be a better fit for me.. as I dont always use the keyboard.
Click to expand...
Click to collapse
All you have to do is hold the mouse button down while moving your finger up or down on the touchpad to move from the bottom or top of the screen. Also, there is a setting to make apps open with one or two clicks, if you set them to open with one or two clicks then you only have to click the activation area and the dock will popup and stay up til you click an app once or twice.

Quad View And Floating Windows (T111) [4.2.2]

I made this mod for my GF, and share it here in case someone is interested.
It enables both floating multiwindows, and quad view KK style (up to 4 static windows on the same screen).
DISCLAIMER
I'm not responsible for anything that may happen, your Tab, your responsability
This mod has only be tested on the T111, but I'm pretty sure that it works as well on s110 and other 7 inches variants.
It may work on 8 in and 10 in variants, and in any case trying won't brick your phone so go for it!:silly:
If you do try please report here if it works.
It should work on both odexed and deodexed ROMs.
REQUIREMENTS
A Tab with a custom recovey.
INSTALLATION
Download the attached zip, flash it in recovery, reboot.
HOW TO USE THE MOD
Enable Multi Windows from your quick settings.
Floating:
Click on an app in the flash bar (the bar on the side from where Multi Windows are launched), the app will open in Floating Mode.
You will notice 3 buttons, minimize, maximize and close, and you can drag the window anywhere on the screen by dragging its upper left side.
You can resize it too, from the sides.
When an app has been minimized it becomes a small bar that you can drag anywhere, double tap it to maximize the window again.
Quad View:
Drag an app, if you put it in the center of the screen it will open in floating mode, if you put it at the top or the bottom of the screen it will open in full screen mode.
After one app is opened in full screen mode you can drag a second one to the second half on the screen, then a third to one corner and a fourth to the last corner.
The white central bar allows you to resize the windows in both length and width.
Don't touch the part where there's no bar between the windows cuz it makes the bar disappear (bug). If it happens just push home and reopen the windows.
SCREENSHOTS?
Nope, sorry, I have no time to play with that kind of stuff.
Try this mod if you feel like it, otherwise give it a miss, no worries...
UPDATES?
I have 2-3 things in my mind (windows templates, multiinstance) and I may implement them if I have time and if I see that enough people are interested.

Categories

Resources