Need help in visualizing AVL Tree

I need help in visualizing an AVL Tree, I have a working AVL Tree print function. But, it prints on the console and that it not at all pretty and just lose the sense of a tree as the tree tends to grow. The IDE I am using is CODE BLOCKS and I am making win32 gui application. This is the look of my Application.
https://i.stack.imgur.com/yMER4.png

I want to display the current tree under the heading "current view of avl tree" and update it upon insertion and deletion.
Registered users can post here. Sign in or register to post.