Help regarding Win32 and COM GUI programming

Win32 and COM programming tend to get difficult as it seems and I have a issue regarding portability of code with Win32's Callbacks and Global variables. Is there a recommended to do stuff in win32 because I was trying to create a tabbed modeless dialog box but msdn has examples for modal dialog box only so currently I'm stuck and so I was thinking should I use a new library like GTK+ or keep using win32.
What issues do you have with callbacks and global variables? There is nothing COM specific related to callbacks and global variables. They work exactly like in C callbacks and C variables.

You really should not post topics with tile and description like "help, something doesn't work, what to do?" Because nobody knows what you need/want/are required to do. Post the exact issue you have.

Edited by Mārtiņš Možeiko on
Sorry about the title the issue is regarding creating modeless dialog box with tab controls msdn has examples only for modal dialogs.