Hi,
I have created one custom control in S60 which i want to make invisible but problem is that when i call MakeVisible (EFalse) its giving KERNEXEC 3 exception. Can any one tell me how can i do this? thanks in advance.
Are you returning sensible values from your ComponentControl() and CountComponentControls() functions?
If you return "NULL" from ComponentControl() for any index, I'd expect you to get Kern-Exec 3 from calling MakeVisible.
Yes please ensure that you return the custom control appropriately in the method ComponentControl() and number of controls in CountComponentControls() method.
Also you can try SetExtent(TPoint(1000,1000),TSize(0,0)) ; if MakeVisisble(EFalse) does not do the trick
Forum posts: 1156
I am not aware of special issues connected with making controls invisible that you might trigger. I think the problem could still be almost anything.
What does the debugger tell? What's the call chain at the moment of the crash?
René Brunner
Forum posts: 1156
Are you returning sensible values from your ComponentControl() and CountComponentControls() functions?
If you return "NULL" from ComponentControl() for any index, I'd expect you to get Kern-Exec 3 from calling MakeVisible.
Forum posts: 96
Yes please ensure that you return the custom control appropriately in the method ComponentControl() and number of controls in CountComponentControls() method.
Also you can try SetExtent(TPoint(1000,1000),TSize(0,0)) ; if MakeVisisble(EFalse) does not do the trick
Shashi Kiran G M