Is there a way to make a frameless window with shoes on Windows?
I searched a lot and couldn't find anything that helps me.
The only thing i found was someone saying he could make it with the win32api years ago, but my research in that results in nothing.
edit
It looks like that it is possible with SetWindowLong from the win32api, but i cant figure out how exactly. Any ideas?
There is no way to do this in Shoes that I'm aware of, you'd have to get straight tot he win32 api which would mean modifying the C-code of shoes3.
For shoes4 there is an open issue for the wished behavior.
Related
NOOB ALERT
I am making a simple GTK application, and as it's my first time using a UI toolkit, I'm a bit confused. No matter what I do, I can't seem to make the menu's (icon::menu) contents to appear when the status icon is right clicked. Instead, I just get a blank menu:
I genuinely do not know what could be going wrong here, I looked everywhere for examples and such and I can't figure out what is wrong with my code. Any help would be greatly appreciated. Thanks!
Also, apologies for the lack of detail in my question, I'm completely lost and I don't know where to even start debugging.
I used ttk's labelframes for many different things and have recently switched over to wxpython. I can't, for the life of me, find a similar panel or frame in wxpython. Does anyone know of any? I'd prefer it be native but if it isn't there, it isn't there. Thanks.
You mean something like that? wxPython StaticBox? Will act together with STaticBoxSizer as container for other controls.
Hey all, quick question that has been bugging me about NSPanel. I like the look of The NSPanel HUD but for the project I am doing I need the Panel to not be moved. Does anyone know of any possible solutions to make it were my NSPanel cannot be moved at all but maintain its buttons interactivity? I've been searching for any questions similar to this for awhile now. Any insight on the issue would be helpful! Thanks.
Don't forget to look in superclasses. A panel is a kind of window, and since Mac OS X 10.6, it's possible to set a window's movable property to NO.
I'm with Dave DeLong, though: I hope you have a good reason to break this functionality. Users expect to be able to move windows, especially those with title bars and HUD windows by their backgrounds, out of their way. And remember, you're not the only application on the system; the user may have something important to get to in a window in another application.
Is there a way to globally hide the mouse cursor for all apps in Cocoa (or Carbon)? Or at least replace it with something else?
EDIT: Thanks for the input guys, but turns out Daniel Jalkut found the solution a while ago :) http://lists.apple.com/archives/carbon-dev/2006/Jan/msg00555.html
You are looking for CGDisplayHideCursor, which is part of the Quartz Display Services API.
Check out: http://developer.apple.com/legacy/mac/library/samplecode/CarbonCocoa_PictureCursor/listing2.html
It's an old sample, but probably still works.
I expect that you're going to be limited to your application window, however. If you want to hide it for everyone you will probably have to make your window cover the screen.
Fun fact: The old toolbox function was simply "HideCursor()".
just add this to your code:
CGDisplayHideCursor (kCGNullDirectDisplay);
No, I don't believe there's a way of doing what you want, short of showing a full screen window and then obscuring absolutely everything on the desktop. That would also prevent e.g. keystrokes being sent to the right application and the like.
How can I achieve the dark gray NSTableView look (used in iTunes, Delicious Library, etc.) in my own application?
I always thought this was an option in NSTableView (or NSTableHeaderView) but I never tried actually doing it.
After hours of searching, I'm pretty convinced that no such option exists, and that I need to do my own drawing.
Before going any further, I just want to make sure there isn't an (undocumented) API for this, and that I'm not missing something.
A good friend of mine created a whole control kit called BGHUDAppKit. It's for the new HUD stuff that Apple introduced a while ago. I believe his controls are themable, and they come with source. I personally haven't done anything with Cocoa, but he has and I know he could answer some questions. Unfortunately, he doesn't lurk here, so you'll have to contact him. I'll see if I can get him to come here. :)
Look at this page under iTableColumnHeader. Also there are many custom UI elements similar to Apple's