Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User daredevilWin's Avatar
    Join Date
    Feb 2005
    Posts
    20
    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
    Nokia Developer Champion stenlik's Avatar
    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 daredevilWin's Avatar
    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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved