macos-carbon Questions
1
Solved
Loading bundle from memory is possible by NSCreateObjectFileImageFromMemory function. Does anyone have successful experience in this area? Does anyone have working sample for this function?
My code...
Signac asked 3/8, 2012 at 12:40
1
I writed a dynamic library that loaded into some target applications by setting environment variable named DYLD_INSERT_LIBRARIES, the dylib load and works fine when application executed from termin...
Coraliecoraline asked 10/5, 2012 at 13:31
2
Solved
I want to have clipped drawing on my CGContext but I need it just the other way round, i.e. I want to add several rectangles to my clipping path using CGContextAddRect() and the clipping should be ...
Frida asked 17/5, 2012 at 14:53
1
Solved
I have a global app that prevents the mouse from moving into areas of the screen. Must work with all apps, while my app in the background, etc.
I have set up a CGEventTap hook that has a callback ...
Brutify asked 28/3, 2012 at 0:21
2
Solved
I've been wondering why Apple uses data types in Core Foundation that are typedef'd to a pointer type while in Cocoa they are not.
As an example, you would reference a UIColor object like UIColor ...
Rosalia asked 17/3, 2012 at 20:46
1
Solved
I have an app that uses a (perfectly user-benevolent) system-wide keyboard hook for accessibility purposes.
When the app starts up, I check if the "Enable Access for Assistive Devices" setting is ...
Commissionaire asked 3/2, 2012 at 17:29
2
Solved
I am using CFPlugin for contextual menu and icon overlay on 10.5(same as scplugin). For communication between my application and finder , i am using distributed object. After installing my plugin i...
Romaineromains asked 7/2, 2012 at 15:46
1
Solved
So here's what is going on.
I am attempting to work with Core Audio, specifically input devices. I want to mute, change volume, etc, etc. I've encountered something absolutely bizarre that I canno...
Ernesternesta asked 20/1, 2012 at 3:33
1
Solved
I have some code I've been using to get the current keyboard layout and convert a virtual key code into a string. This works great in most situations, but I'm having trouble with some specific case...
Disgorge asked 24/11, 2011 at 23:59
2
Solved
I need to determine if a user has a non-empty password set on Mac. Anything will work: a command line call, AppleScript, Carbon, Cocoa, etc.
I want to inform the user whether or not they have a pa...
Nihility asked 16/8, 2011 at 16:17
2
Solved
I am working on an application in which I need to migrate the whole code of it from carbon to cocoa.I have experience in programming of C,C++,python and Java during my college time and internship b...
Suffumigate asked 13/10, 2010 at 7:10
2
I’d like to know how can I do a simple assembly program for Mac OS X that shows a window on the screen and put some coloured text on that window. The code may call some Carbon or Cocoa APIs. I need...
Crusado asked 26/3, 2011 at 22:48
3
Solved
I'm looking for a tutorial/guide on GUI programming in c++ for Mac OSX.
I've made a small library and would like to make a simple graphic interface for it, since I would like to port my cod...
Ruperto asked 12/7, 2011 at 8:18
1
Solved
I was looking for something discussed in following posts.
Gap above NSMenuItem custom view.
Reverse engineering an NSMenu for a Status Bar Item
I tried the carbon code provided by Pierre Bernard...
Preteritive asked 9/7, 2011 at 9:7
1
Solved
I am trying to find a Carbon API which can give me the WindowRef from window id and with that windowref I want to have bounds?
EDIT: I found API
extern WindowRef HIWindowFromCGWindowID(CGWindowID...
Ilonailonka asked 6/7, 2011 at 8:44
1
Solved
I use function RegisterEventHotKey() and when I try registering Cmd + C or Cmd + V, I notice that copy and paste in finder doesn't work.
I insert parameter inOptions = 0 to function RegisterEventH...
Recreant asked 31/5, 2011 at 10:39
2
I'm developing a very simple application for the Mac OSX platform making use of Qt and OpenGL (and QtOpenGL) so crossplatform gets easier.
The application receive a variable number of video streams...
Vandervelde asked 6/12, 2010 at 3:2
4
Mac OS X stores some files with resource forks. I need to create a file with a resource fork. The trouble is, I need to create this file on the command line. Is anyone aware of how you can create a...
Tranship asked 22/11, 2008 at 2:19
2
Solved
This question follows on from my other question on why my app isn't being brought down by exceptions.
The Problem
When an exception is thrown on the main thread via an Action, the app still doesn...
Earth asked 6/9, 2010 at 14:59
2
Solved
I'm trying to compile only for 32bit and 64bit. No matter what I choose in Xcode, I can either compile for 64bit or for 32bit, 64bit and ppc. I don't want ppc at all. Anyone has any idea how to com...
Demitasse asked 12/11, 2010 at 23:31
1
Solved
I need a way to get complete hard drive info on OS X, meaning all hard drive model names, SATA/ATA controllers, volumes, disk identifiers, etc. I checked out diskutil, but it doesn't contain SATA c...
Sudarium asked 14/10, 2010 at 23:16
1
Solved
It appears after much searching that there seems to be a common problem when trying to do a file copy and show a progress indicator relative to the amount of the file that has been copied. After sp...
Cammycamomile asked 24/9, 2010 at 4:39
2
Solved
The Mac build of my (mainly POSIX) application spawns a child thread that calls CFRunLoopRun() to do an event loop (to get network configuration change events from MacOS).
When it's time to pack t...
Plonk asked 1/9, 2009 at 17:58
5
Solved
I'm trying to control windows of a foreign OSX applications from my application. I'd like
to
1. move the windows on the screen
2. resize the windows on the screen
3. change the currently active win...
Flop asked 13/11, 2009 at 17:49
0
I'm trying to disable the CMD + Tab application switcher, so that my application can register that hotkey. I'm looking for something that applications like Witch and LiteSwitch X are able to do (i....
Edin asked 15/7, 2010 at 14:40
© 2022 - 2024 — McMap. All rights reserved.