Boris Zbarsky wrote: > Jonathan wrote: > > If i have a nsIFrame pointer, how can I find out if it is a > > nsTextFrame? nsImageFrame? nsBulletFrame? > > You have this in C++, or in a debugger? > > If the former, why do you need that information, exactly? That is, what are > you > really trying to do? > > -Boris
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. Thank you. _______________________________________________ dev-tech-layout mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-layout

