Click here to Skip to main content
15,892,674 members
Home / Discussions / Mobile
   

Mobile

 
GeneralRe: Hi, i need help in creating video player for windows mobile..... Pin
Petar Efnushev21-Apr-10 23:57
Petar Efnushev21-Apr-10 23:57 
QuestionHow can read Task from Pocket PC? Pin
Le@rner21-Apr-10 18:40
Le@rner21-Apr-10 18:40 
QuestionProcesses Pin
moonshaddow20-Apr-10 16:37
moonshaddow20-Apr-10 16:37 
AnswerRe: Processes Pin
r.ps21-Apr-10 3:51
r.ps21-Apr-10 3:51 
GeneralRe: Processes Pin
moonshaddow21-Apr-10 16:53
moonshaddow21-Apr-10 16:53 
QuestionHow can I make a label or a textbox transparent? Pin
JUNEYT20-Apr-10 10:04
JUNEYT20-Apr-10 10:04 
AnswerRe: How can I make a label or a textbox transparent? Pin
Michel Godfroid20-Apr-10 10:52
Michel Godfroid20-Apr-10 10:52 
QuestionHow can I get device screen size ,such like 3.2 inch? [modified] Pin
lincyang19-Apr-10 22:41
lincyang19-Apr-10 22:41 
Windows mobile c++

I think I can do that :

<br />
//get X,Y Pixel<br />
int xPixel = GetDeviceCaps(hdc,HORZRES);<br />
int yPixel = GetDeviceCaps(hdc,VERTRES);<br />
//Get dpi<br />
short xInch = GetDeviceCaps(hdc,LOGPIXELSX);<br />
short yInch = GetDeviceCaps(hdc,LOGPIXELSY);<br />
//Get X、Y Inch<br />
double x = (doulbe(xPixel)) / (double(xInch));<br />
double y = (doulbe(yPixel)) / (double(yInch));<br />
//Screen Size<br />
double z = sqrt(x * x + y * y);<br />


but get the size not correct!
what can i do?
someone helps me?
thanks~~~
modified on Tuesday, April 20, 2010 4:51 AM

AnswerRe: How can I get device screen size ,such like 3.2 inch? Pin
Michel Godfroid20-Apr-10 10:59
Michel Godfroid20-Apr-10 10:59 
GeneralRe: How can I get device screen size ,such like 3.2 inch? [modified] Pin
lincyang20-Apr-10 14:28
lincyang20-Apr-10 14:28 
GeneralRe: How can I get device screen size ,such like 3.2 inch? Pin
lincyang20-Apr-10 15:12
lincyang20-Apr-10 15:12 
GeneralRe: How can I get device screen size ,such like 3.2 inch? Pin
Michel Godfroid20-Apr-10 21:07
Michel Godfroid20-Apr-10 21:07 
AnswerRe: How can I get device screen size ,such like 3.2 inch? Pin
Md. Marufuzzaman25-Apr-10 0:37
professionalMd. Marufuzzaman25-Apr-10 0:37 
AnswerRe: How can I get device screen size ,such like 3.2 inch? Pin
Anu Koshy2-Jun-10 18:42
Anu Koshy2-Jun-10 18:42 
QuestionBlack Berry not working with AT commands to Send SMS. Pin
Le@rner19-Apr-10 18:14
Le@rner19-Apr-10 18:14 
QuestionMultilingual Application In VB.net Pocket PC Pin
ejaz_pk16-Apr-10 9:27
ejaz_pk16-Apr-10 9:27 
AnswerRe: Multilingual Application In VB.net Pocket PC Pin
PavanPareta19-Apr-10 18:24
PavanPareta19-Apr-10 18:24 
GeneralRe: Multilingual Application In VB.net Pocket PC Pin
ejaz_pk19-Apr-10 18:44
ejaz_pk19-Apr-10 18:44 
AnswerRe: Multilingual Application In VB.net Pocket PC Pin
Michel Godfroid19-Apr-10 20:03
Michel Godfroid19-Apr-10 20:03 
QuestionCan a wireless node still buffer packets when it's receiver is turned off? Pin
krish_kumar16-Apr-10 1:01
krish_kumar16-Apr-10 1:01 
AnswerRe: Can a wireless node still buffer packets when it's receiver is turned off? Pin
krish_kumar17-Apr-10 22:52
krish_kumar17-Apr-10 22:52 
QuestionDoes WM6.5 support "Asynchronous Pluggable Protocols" or not? Pin
cwinliu14-Apr-10 22:22
cwinliu14-Apr-10 22:22 
QuestionCaputre gps data Pin
Mr_Rox14-Apr-10 0:35
Mr_Rox14-Apr-10 0:35 
AnswerRe: Caputre gps data Pin
Garth J Lancaster14-Apr-10 0:53
professionalGarth J Lancaster14-Apr-10 0:53 
GeneralRe: Caputre gps data Pin
Mr_Rox14-Apr-10 2:05
Mr_Rox14-Apr-10 2:05 

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.