Couple Of Questions (C++)

Started by
2 comments, last by SumDude 18 years, 11 months ago
(C++) 1) How Do I Make The Main Window Invisible? 2) Is it possible to add somthing on the toolbar on a other program (like messanger plus does with msn messanger)? 3) How do I get the HWND of all the windows that is open in a window?
Advertisement
Well, I can't really answer your questions, did you try on google? I remember a friend of mine adding stuff to windows toolbars and he had told me he had used COM. It's a small beast to learn, but if you're into Microsoft stuff it's worth it I guess. It doesn't get any deeper than COM I think.
1) i think you do it like with the other ones
ShowWindow(HWND hWnd, SW_HIDE);

2) sorry i don´t have a clue

3) not sure but i think you´ll have to keep track of this... try to create
a window class that holds the window HWND and all the button HWND´s
(could be an array?)
etc... i guess that is just one way and iam sure there is a better
one but that´s the only one that comes to my mind right now...

i hope that helps at least a little
http://www.msdn.com

1.)ShowWindow( HWND , SW_SHOW)
2.)Could possibly achieve this through plugins.
3.) HWND GetParent( HWND ) // i believe
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
                                                          
Looking for video game music? Check out some of my samples at http://www.youtube.c...ser/cminortunes            
                                                          
I'm currently looking to create music for a project, if you are interested e-mail me at cminortunes@gmail.com    
                                                          
Please only message me for hobby projects, I am not looking to create music for anything serious.

This topic is closed to new replies.

Advertisement