This question is related to CAknDialog customization. Have a look at screen shot attached http://discussion.forum.nokia.com/fo...1&d=1255348854, here I am basically showing a dialog.
CCustomDialog has CCoeControl (Custom control). Then this control has child control such as label and animation.
Problem is in setting the rect area of Custom control. I normally override CAknDialog::SetSizeAndPosition() and implement CCustomDialog::SetSizeAndPosition() to set size and position of container. This works fine in S60 3rd Edition.
But in 5th edition it is not. Everything is perfectly fine inside CCustomDialog::SetSizeAndPosition() and even in CCustomContainer::SizeChanged() till the end of execution of CCustomDialog::SetSizeAndPosition(). Logs in CCustomContainer::SizeChanged() look ok till end of execution of SetSizeAndPosition().
But then some strange thing happens. Once we are out of CCustomDialog::SetSizeAndPosition(), I think some code from base class CAknDialog, modifies size of container. This reduces size of container and results a grey area above CBA. This i guess something to do with toolbar.
Any suggestion here to get around this problem?