I want a nice-looking form view.
I have created a CEikEdwin element in which I can type and edit text. I have seen the std notepad application and want to do something like that.
I.e I want to want to put an image in the background of the form element. This would create a paper feel to the form.
I can see 2 approaches to this problem:
1. I put an image as a CEikImage which covers the whole background of the view. I then put the form on top of the image and make the form transparent.
2. I set the image as the background of the form element.
I would lite to use approach 1 because then I could put several form elements on top of the same image.
Well, I did not go as deep into the problem as you are ;)
I used at std CEikEdwin, placed an image on top of it and made sure that the image was drawn after the CEikEdwin object.
This made it look like there was lines in the background of the edit-field.
To make sure the lines was always there I wrote my own OfferKeyEventL function to re-draw the image after each event.
I have probably simillar problem as all of you, what I need are lines in CEikEdwin like in SMS application. For more details you could look onto http://discussion.forum.nokia.com/fo...hreadid=58327, where I described my problem. I downloaded your application "Posten vykort", it looked nice and work on my 6600 ans SE900 without prblem. It is a pity that it is not translated into english...
I saw that when writing address there are lines in your edwin. They dont work super, because line below actual line I am writing dissapear, but may be it should be changed... I did what you explained: I create bitmap with lines and put it into my container Draw() method and than I called DrawNow() in OfferKeyEvent() method, but background is still white... Could you please put here the complete code??