×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Feb 2005
    Posts
    20

    Moving a bitmap according to key events

    Hey guys
    I am new to this symbian platform.I am now developing an application and what I want to do is to make a bitmap move according to key events.For example,if I press '4', I want my bitmap to move to the left.So can any of u guys pleae tell me how I can do so?Any help would be greatly appreciated.
    Thanks in advance.


    Bye

    daredevil(Titan)

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Czech Republic
    Posts
    2,037
    Hi,
    probably the easiest solution is to check key events in OfferKeyEventL() method and then redraw the bitmap. Bitmap object is called CFbsBitmap - you should easily load it form mbm file. And that it must be drawn in Draw() method of your control or container...

    Bye
    STeN

  3. #3
    Registered User
    Join Date
    Feb 2005
    Posts
    20
    Hey dude
    Thanks very much for your tip.I really do appreciate it.I will try using it.

    Thanks again.

    Bye

    daredevilWin(Titan)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×