Sign in to follow this  
Cinder

Couple Of Questions (C++)

Recommended Posts

(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?

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this