If you use Qt, you can use qobject_cast instead or do your own type matching (like QCanvasItems in Qt3 do).
Forum Rules
Bookmarks