macos-carbon Questions
1
Solved
I'm trying to allow ShortcutRecorder to record CMD+Tab. The problem is that, even if ShortcutRecorder has the focus, if I press CMD+Tab, the application switcher appears.
Is there any way of allow...
Karalee asked 13/7, 2010 at 12:53
2
Solved
Dedicated to all who likes low-level Window Server (CoreGraphicsPrivate.h, etc), X11 on Mac, SIMBL and other crazy stuff :)
There's a simple X11-emulated application on Mac (like xterm, xeyes and ...
Black asked 24/6, 2010 at 12:53
2
Solved
How can I programmatically force a mac window to be the front window? I have the window handle, and want to ensure that my window is displayed above all other windows. I can use both Carbon & C...
Sulfide asked 4/5, 2010 at 8:29
1
Couldn't find that info using DiskArbitration or FSGetVolumeInfo/GetVolumeParms...
I know that hdiutil uses a private framework called DiskImages framework, but I wouldn't want to run an external ...
Foreleg asked 12/4, 2010 at 10:50
1
I have an NSMenu that contains NSMenuItems with custom views. I want it so that when the alt button is pressed, the menu items would change part of their look (through their view). I found setAlter...
Sidsida asked 9/4, 2010 at 10:23
1
Solved
During the execution of my program I'm getting the following output in the XCode debugging console:
<Error>: CGContextSetTextMatrix: invalid context 0x0
I have no idea where in the applica...
Guano asked 9/12, 2009 at 18:51
1
Solved
I've created some wrapper functions that encapsulate working with CoreAudio, and the goal is to create a C library that I can use with some command line C++ tools. So far things are working well. I...
Thingumajig asked 22/11, 2009 at 21:56
2
Is there a way to get the current working directory of a process using it's PID programmatically on OS X?
Cocoa, Carbon, or AppleScript are all acceptable.
It is not acceptable to send "pwd" to t...
Parhelion asked 5/10, 2009 at 16:53
3
Solved
Is there a way to register for global mouse moved events in Cocoa? I was able to register for the events using Carbon's InstallEventHandler(), but would prefer a Cocoa equivalent. I have looked for...
Maurilia asked 27/10, 2009 at 1:55
2
Solved
I'm using some Carbon code in my Cocoa project for handling global key events (shortcuts) from other applications. Currently I have setup a kEventHotKeyReleased event handler and I can successfully...
Nyala asked 21/10, 2009 at 19:23
5
Solved
I'm trying to get a list of all users and all groups on Mac OS X 10.5+. How can I do this?
For example, the list of all users on my machine should return:
_amavisd, _appowner, _appserver, _ard, _...
Telegonus asked 20/8, 2009 at 1:53
8
Solved
I have a program which needs to behave slightly differently on Tiger than on Leopard. Does anybody know of a system call which will allow me to accurately determine which version of Mac OS X I am r...
Jigsaw asked 1/10, 2008 at 14:6
1
Solved
I want to monitor file-system events for a couple of directories on the mac. The directories I want to monitor might change at runtime, so using FSEvents here's what my app does:
creates a global...
Septuplet asked 27/5, 2009 at 0:18
4
Solved
I'm examining the feasibility of porting an existing Windows MFC control to OS X/Carbon.
My test bed is a C++ Carbon application generated using the XCode 3 Wizard.
I'm looking for a quick way to d...
Alyssaalyssum asked 6/1, 2009 at 19:14
1
Solved
I'm a newbie Cocoa developer and I'm developing my first application. I want to read a unique identifier from any window of any application - whether it's Cocoa or Carbon. Cocoa applications make t...
Leid asked 23/11, 2008 at 0:38
3
Solved
Is there a way of getting the process id of my C++ application? I am using the Carbon framework, but not Cocoa…
Gaytan asked 3/9, 2008 at 13:35
© 2022 - 2024 — McMap. All rights reserved.