HighTechTalks DotNet Forums  

Movable cursor on a bitmap

Dotnet Framework (Compact Framework) microsoft.public.dotnet.framework.compactframework


Discuss Movable cursor on a bitmap in the Dotnet Framework (Compact Framework) forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
Broeden
 
Posts: n/a

Default Movable cursor on a bitmap - 01-03-2008 , 01:17 PM






Hi
I'm using a bitmap for showing a map. My question is which is the
easiest way to create a movable cursor to indicate for instance the
current position and direction?
/Broeden

Reply With Quote
  #2  
Old   
Simon Hart [MVP]
 
Posts: n/a

Default RE: Movable cursor on a bitmap - 01-03-2008 , 01:43 PM






Probably using GDI. Get the graphics object of the image and draw the cursor.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Broeden" wrote:

Quote:
Hi
I'm using a bitmap for showing a map. My question is which is the
easiest way to create a movable cursor to indicate for instance the
current position and direction?
/Broeden


Reply With Quote
  #3  
Old   
Broeden
 
Posts: n/a

Default Re: Movable cursor on a bitmap - 01-03-2008 , 02:52 PM



On 3 Jan, 19:43, Simon Hart [MVP] <srhart... (AT) yahoo (DOT) com> wrote:
Quote:
Probably using GDI. Get the graphics object of the image and draw the cursor.
--
Thanks for your reply,

Sure I can draw a cursor, but I don't want to destroy the map. I want
to be able to move the cursor as the position change.

/Broeden


Reply With Quote
  #4  
Old   
Simon Hart [MVP]
 
Posts: n/a

Default Re: Movable cursor on a bitmap - 01-03-2008 , 03:59 PM



You won't need to destroy the map, just simply repaint it along with the
cursor when required.
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"Broeden" wrote:

Quote:
On 3 Jan, 19:43, Simon Hart [MVP] <srhart... (AT) yahoo (DOT) com> wrote:
Probably using GDI. Get the graphics object of the image and draw the cursor.
--
Thanks for your reply,

Sure I can draw a cursor, but I don't want to destroy the map. I want
to be able to move the cursor as the position change.

/Broeden


Reply With Quote
  #5  
Old   
Broeden
 
Posts: n/a

Default Re: Movable cursor on a bitmap - 01-03-2008 , 05:25 PM



Thanks,

A simple test indicated that I'm on the right track now.
/Broeden

Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.