Jonathan wrote: > Yes, I have this in c++. > I am trying to see when I am in a nsBlockFrame, i want to see what are > its child frames (whether it is nsTextFrame, nsImageFrame,etc etc.
That doesn't actually answer my question. _Why_ do you need to know the concrete frame classes? You can use nsIFrame::GetType(), but not all subclasses of nsFrame override that. In general, you can't determine the exact concrete class here. And I'm still not sure why you'd want to. -Boris _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

