Click here to Skip to main content
15,893,668 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Compact Framework 2.0 for Visual Studio 2003 Pin
Mike Dimmick5-Feb-08 6:42
Mike Dimmick5-Feb-08 6:42 
GeneralRe: Compact Framework 2.0 for Visual Studio 2003 Pin
Ravenet7-Feb-08 15:23
Ravenet7-Feb-08 15:23 
Questionchanging MTU size in Windows mobile 5.0 devices ? Pin
rituparn1-Feb-08 5:03
rituparn1-Feb-08 5:03 
GeneralCOM wrapper registration Pin
gottimukkala30-Jan-08 23:49
gottimukkala30-Jan-08 23:49 
GeneralRe: COM wrapper registration Pin
Christopher Fairbairn31-Jan-08 15:46
Christopher Fairbairn31-Jan-08 15:46 
GeneralRe: COM wrapper registration Pin
gottimukkala5-Feb-08 3:46
gottimukkala5-Feb-08 3:46 
GeneralScreen Orientation Pin
CodingYoshi30-Jan-08 13:21
CodingYoshi30-Jan-08 13:21 
GeneralRe: Screen Orientation Pin
Christopher Fairbairn31-Jan-08 15:43
Christopher Fairbairn31-Jan-08 15:43 
Hi CodingYoshi,

CodingYoshi wrote:
I want to handle the event when the screen orientation changes. I searched the web but nothing.


What language are you developing in?

When the orientation changes the size of your fullscreen window will automatically change. So one way to detect changes is to handle the window size changed event or window message that occurs in your chosen framework.

If you need to tell if you are in portrait or landscape mode you can determine this by then checking if the current window width is greater than the height.

If for some reason you actually need to determine the true orientation of the device (i.e. 0, 90, 180, 270 degrees) you can do this but the answer is a little different depending upon your programming language/environment of choice.

Hope this helps,
Christopher Fairbairn
GeneralRe: Screen Orientation Pin
CodingYoshi1-Feb-08 6:54
CodingYoshi1-Feb-08 6:54 
GeneralRe: Screen Orientation Pin
Christopher Fairbairn10-Feb-08 16:15
Christopher Fairbairn10-Feb-08 16:15 
GeneralRe: Screen Orientation Pin
CodingYoshi12-Feb-08 7:12
CodingYoshi12-Feb-08 7:12 
GeneralRe: Screen Orientation Pin
Christopher Fairbairn15-Feb-08 22:42
Christopher Fairbairn15-Feb-08 22:42 
GeneralRe: Screen Orientation Pin
Ravenet7-Feb-08 15:39
Ravenet7-Feb-08 15:39 
QuestionReceiving data . Pin
Agbaria Ahmad30-Jan-08 3:20
Agbaria Ahmad30-Jan-08 3:20 
GeneralRe: Receiving data . Pin
Ravenet7-Feb-08 15:42
Ravenet7-Feb-08 15:42 
GeneralRe: Receiving data . Pin
Ravenet7-Feb-08 15:44
Ravenet7-Feb-08 15:44 
GeneralInteresting puzzles ...i wannt ur suggstion ...plz !!!! Pin
rowdy_vc++30-Jan-08 1:05
rowdy_vc++30-Jan-08 1:05 
QuestionObjectList control and Windows Mobile Pin
sfm129-Jan-08 3:07
sfm129-Jan-08 3:07 
QuestionHow to Write a Site to a Mobile Phone? Pin
Sara12328-Jan-08 19:08
Sara12328-Jan-08 19:08 
AnswerRe: How to Write a Site to a Mobile Phone? Pin
Ravenet7-Feb-08 15:47
Ravenet7-Feb-08 15:47 
GeneralPocket pc bluetooth in Visual Basic .net 2005 Pin
NGENEAR1127-Jan-08 16:37
NGENEAR1127-Jan-08 16:37 
GeneralRe: Pocket pc bluetooth in Visual Basic .net 2005 Pin
João Paulo Figueira28-Jan-08 2:44
professionalJoão Paulo Figueira28-Jan-08 2:44 
Generalchange the folder Pin
Paulraj G25-Jan-08 20:57
Paulraj G25-Jan-08 20:57 
GeneralRe: change the folder Pin
Christopher Fairbairn31-Jan-08 15:56
Christopher Fairbairn31-Jan-08 15:56 
Questione-mail attachments and windows mobile Pin
inapocket20-Jan-08 22:48
inapocket20-Jan-08 22:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.