a few question about title bar buttons

1. How do I get rid of the system menu button? I tried moving off the right side of the window, where it won't be drawn, but Firefox and some other programs insist on showing the system menu whenever a click occurs in the top-left area of their titlebars. Or, if I can't get rid of the system menu button, how do I skin it?

2. How do I create a button to take screenshot of the window and place it on the clipboard (i.e. like pressing ALT+PRTSCN)? I know there is software to do this, but it's such a simple thing and Windows already includes the code to do it. It seems the Vista/7 Snipping Tool doesn't have a command line interface (for automation). Is there a way I can make WindowBlinds send that ALT+PRTSCN keypress to the window?

3. What other useful title bar buttons have you made? How did you do it?

6,294 views 4 replies
Reply #1 Top

1. could you post a pic, not sure which button is this.

2. hitting the print screen button (softly) places the screenie into the clipboard. open any paint program (ms paint should work) and do a ctrl-V, it should paste, I hope??

Reply #2 Top

1. The system menu button is the icon of the program...in the upper-left corner. I know how to hide it - set both alpha values to 0 - but I'd like to either disable it completely or replace it with my own button images so that it looks the same for all programs.

2. Thanks, but what I'm asking how to make a titlebar button that puts a shot of its window on the clipboard. i.e. Can someone tell me what this field does:



Uploaded with ImageShack.us

Reply #3 Top

1.Set your system icon placement to a high negative number.....like -10000 or something

 

2. I'm not sure of the command line for that is (or if it's possible). I would suggest downloading a skin that has that function and see how it was done. I'll take a look in the gallery and see if I can find an example for you.

Reply #4 Top

1. Quote: "I tried moving off the right side of the window, where it won't be drawn, but Firefox and some other programs insist on showing the system menu whenever a click occurs in the top-left area of their titlebars." Even -10000 does not work. It gets rid of the icon, but if you click in top left corner the system menu will still appear. I guess these programs have their own skinning engine that brings up the system menu manually.

2. Thanks, I'll look at it early this week.