![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Bug Reports Post about errors or bugs encountered. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I use the following code to test Getpixel in Pocket PC2000/2003/WM5/WM6.
The getpixel returns same values of the cRed/cGreen/cBlue constants in WM5 and WM6. But in PocketPC 2000 and PocketPC 2003, pointing on red circle returns -524288 green circle returns -16744448 blue cirlce returns - 16776968 Any walk around resolve it? Sub Globals 'Declare the global variables here. End Sub Sub App_Start Form1.Show label1.Text = "cRed = " & cRed & " RGB(255,0,0)" & Rgb(255,0,0) label1.Text = label1.Text & crlf & "cGreen = " & cGreen & " RGB(0,255,0)" & Rgb(0, 255,0) label1.Text = label1.Text & crlf & "cBlue = " & cBlue & " RGB(0,0,255)" & Rgb(0,0,255) form1.Circle(0, 120, 50, cRed, F) form1.Circle(100, 120, 50, cGreen, F) form1.Circle(180, 120, 50, cBlue, F) End Sub Sub Form1_MouseMove (x,y) label2.Text = form1.GetPixel(x, y) End Sub
__________________
Yours, ![]() Dopod D810 WM6 GPS HSDPA 3G Wifi Bluetooth |
|
|||
|
Quote:
I use a variable to keep the color immediately after the graph is draw, then use the variable to check against the getpixel.
__________________
Yours, ![]() Dopod D810 WM6 GPS HSDPA 3G Wifi Bluetooth |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Redirecting pocketpc audio to bluetooth hedset | maxbaranov | Share Your Creations | 2 | 05-15-2008 01:18 AM |
| PocketPc phone or smartphone distribution | kshetarpal | Questions & Help Needed | 3 | 11-26-2007 11:09 AM |
| How to identify each pocketpc differently | hung | Questions & Help Needed | 3 | 07-24-2007 10:05 AM |
| From.GetPixel on the Device | alfcen | Questions & Help Needed | 4 | 07-11-2007 11:15 AM |
| ImageLib & Getpixel - bugs or user errors? | LineCutter | Questions & Help Needed | 4 | 05-24-2007 05:05 PM |