Help me to draw line and rectangle.
| Fri, 2008-03-07 09:50 | |
|
Hi, I want to draw line and rectangle in my application. I am getting error undefined identifier 'gc'. I know undefined identifier means it is not defined.but it is defined in view class. case EGUICmdRect: Please tell me which mistake I am doing. I need help so please any one answer me or correct my code so I can use. Thanks & Regards Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1 |
|






Forum posts: 1134
"In my view class I have this line. CWindowGc& gc = SystemGc();"
What do you mean by that?
If it is in the same function, then it should work.
If it is in another function, then of course it will not work.
Forum posts: 128
Hi Alh,
thank you for your reply.
Now i get my mistake and solve my problem with your help. Now I am able to draw line and rectangle.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1
Forum posts: 128
Hi Alh,
I have drawing application in which I am able to draw point,line, polyline, polygon,rectangle, and round rectangle. Now I want to draw this continously this. How I will do that. Please give me some hints aur idea.I am waiting for reply.
Thanks in advance.
Thanks & Regards
Ram
Symbian OS 9.1,S60 3rd edition MR,and CodeWarrior 3.1