Programs that work in horizontal mode - problem - JAMin, XDA Neo, S200 General

It's about Thunderhawk web browser and Vitrual Pool Mobile (a pool game). They both work in horizontal mode. Having my screen aligned vertically (default) they work fine, I can awnser calls, read notifications and come back to the program without any problem. When I set the today screen to the horizontal alignment the programs starts and works fine, but after a call or a notification is displayed on the screen, the alignment suddenly changes to vertical and upside down! The program is displayed normally, so I have to guess where to touch the screen in order to exit to the today screen. After coming back to today screen everything works fine, the screen is aligned horizontally, as it was before the call or a notification came. My rom is AKU2, I use O2 and have made some standard registry hacks (cache size, edge icon, etc.). Help!

Related

What programs you looking for ?

Currently looking for .
Today icon to turn off screen so I can leave WIFI and MSN on with screen off.
Today icon to switch between landscape portrait.
Today bar that shows outgoing calls in minutes and sms texts sent.
Icon on today screen that lets me turn GPS on or off so it doesnt connect itself but I dont need dummy entries.
Task list that actually shows task title like " Walk dog " didnt like taskplus.
Remote software for TV, DVD etc.
What does anyone use for the above and what is everyone else looking for ?
woo.. I won't start about what I'm looking for - it's too much But I ordered (though it's on back order.. bah) the DevKit from MS, so maybe I'll make my own solutions in due time.
Anyway...
For the first two, just get one of the many utilities that allow you to launch a program from your Today Screen. I used tdLaunch right now, might move to cLaunch (same program, bit more functions), or use a different solution altogether. Then get...
http://www.pocketgear.com/software_detail.asp?id=15527
...to rotate your screen
http://www.pocketgear.com/software_detail.asp?id=14498
or
http://www.pocketgear.com/software_detail.asp?id=15943
or
http://www.pocketgear.com/software_detail.asp?id=16314 (includes a component)
...to turn your screen off. Please note that I'm using the last one, and it turns the entire screen off (not just the backlight, the LCD panel as well) - so it won't respond to taps or anything; you'll have to use the on/off button to turn the screen back on. I don't know whether the other two turn the LCD off, or only the backlight.
Then just launch the appropriate application from your today screen using the today screen launching app. Simple as that
just checked - the other two turn the entire screen off as well
You need one single SW: SPB Pocket Plus[/url]

MSN Messenger

I've searched the forums for this - not sure if the VGA modifications fix it - but:
In landscape mode, MSN Mesenger does not take advantage of the whole screen. Both the text display and the entry window are crammed into the top 50% or so of the screen, while the bottom half is simply a blank white field. Is there any way to force the application to use the whole screen?
Flip the screen to portrait, then flip it back.
It's a bug.
Ant
That worked - thanks.
also, enable and dissable the keyboard on the botom bar wer the softkeys are, that works for me, plus is quicker
Thank you...

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.

Screen Freezes In Text Messaging??

If I am in the text messaging screen in landscape mode, and close the phone into portrait mode, the screen does not completely rotate.
The top portion of the screen switches, and the bottom menu bar switches, but there is a section about 1/3 the size of the screen that remains in landscape mode until I close the text message program.
It only does it in texting, no other programs cause this problem with the screen, and it has only started doing it since I hard reset the phone.
Any help??
Yeah, texting does some strange stuff for me too. Sometimes when I push the button to select the contact i want to text it takes quite awhile for it to bring up the texting screen. And yes, same as you on the switching from landscape.
hmm.... That's wierd. I cant seem to find anything else relating to this problem
i am having the same problem also.. but recently it stopped.. idk wuts going on?
well, i figured out what the problem was with mine. It was doing it because I hacked the registry for the SIP to completely kill the pop-up keyboard. After re-enabling it, no more screen issue.

Screen Rotation Problem

Hi. When I open the keyboard, the screen orients itself to the landscape mode. When I close the keyboard, the screen resumes portrait mode, but on the right hand side, part of the screen is covered by the background. It is the same width as the scroll bar. I can't get rid of it until I reset the device. Any thoughts as to the problem and the fix? Thanks.
umm i had that issue before, do you have a lot of programs open? sounds strange, but when ever i have a lot of stuff running, my device cant handle it, so it kind of gets frozen onto the screen until i reset...
does this problem occur ALL the time, or when u run a certain problem?
Actually, it only happens on the Today screen. If I have any program running in landscape and return to portrait before exiting to the Today screen, no problems. Just when I go to landscape in the Today screen. Very odd.
what todayscreen plugins are you running?
I think only two: Tonaya Weather to Go and cLauncher. Pbar is also running, but I don't think it is a Today Plug-in.
Curious D said:
I think only two: Tonaya Weather to Go and cLauncher. Pbar is also running, but I don't think it is a Today Plug-in.
Click to expand...
Click to collapse
I had the same problem too with cLauncher but it is no longer there after I installed SPBMobile Shell which enable me to put cLauncher into one of its tabs buttons...
Why don't you try disabling cLauncher from your today..
I tried disabling each program alone. I had to place other today features (all standard with WM5) to create a list long enough to cause the scroll bar on landscape mode. When I return to the portrait mode, the space was still on the right side as before. Curiously, I put back the plugins, and the space was gone. Must have been refreshed.
Hi Curious,
To refresh the Today screen after the vertical scroll bar has disappeared try...
1) Select the Comms button to display comms options
2) Slip out the keyboard so that the comms buttons re-orientate
3) Slip the keyboard back in then exit the comms screen to return to the Today screen
Is the Today screen intact now?
Thanks. That worked. Now I'm just wondering why it's doing that in the first place. At least I don't have to reset to get back part of my screen. Thanks again.
Nice one! Well done. Not sure why it happens but I have the same issue but I don't mind it that much. I was guessing that it was the SPB Plus Today Plugin but I'm not sure.
Do you also use the SPB Plus Today Plugin?
No. Is that like cLauncher?
Hi Curious,
The SPB Plus Today Plug-in allows you to place shortcuts on the Today screen and group them under tabs which is nice but if you don't have it installed then that blows my theory
The only other thing I can think is that it is possible to alter the vertical scroll bar width by editing registry, the key is:
HKLM\System\GWE\cxVScr
The Default is (Decimal) 13 but you may be able to make this smaller so that it minimises the problem.
If you do find the cause then let me know
Thanks, but I think I'll stick with your previous idea. I'd rather not tinker with the registry if I don't have to since I'm not great at understanding registry changes.
cLauncher does what SPB plugin does. It's free and it allows different sizes for the icons. It really helps me with one handed function. It may be part of the problem if SPB does the same thing with the screen orientation.
Thanks again for your help.

Categories

Resources