problem in using CWindowGc
| Thu, 2006-09-28 09:30 | |
|
Hi all,
I want to use my own CWindowGc(created from CWsScreenDevice's CreateContext() API) object other than the system's Gc(which is returned after SystemGc() function). I tried deactivating the systemGc for creating my Gc, but im getting WSERV panic. Im even unable to activate my Gc and use it. As per SDK Documentation if we have to use a GraphicsContext it must be in Active state.(but im getting WSERV 9 panic) Did any one successful in drawing something on the window with ur own Gc and not the SystemGc : ?? If so please guide me... |
|






:
Forum posts: 2
CWindowGc* gc;
User::LeaveIfError(screen->CreateContext(gc));
CleanupStack::PushL(gc);
hope it helps
Forum posts: 71
Have you tried it in 3rd edition SDK?
please throw some more light on this so that it will be helpful for me.... Thnx for ur reply....