macos-carbon
How to filter and override text input in Mac OS X
I\'m trying to figure out the ObjC code needed to detect whether a user in OSX is inputing text into a text field/area or not.I\'d like to provide special keybindings and text expansion if they are. I[详细]
2023-02-27 05:52 分类:问答Assembly GUI programming for Mac OS X
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 s[详细]
2023-02-20 04:50 分类:问答Converting CGKeyCodes for International Keyboards
In my application, I need to map a shortcut to the key to the left of the \"1\" key on the keyboard. On a standard US keyboard, this would be the backtick character (\" ` \"), which is key code number[详细]
2023-02-16 01:56 分类:问答FSFindFolder finds strange directory
I have the following code: FSRef FileRef; OSStatus Error = ::FSFindFolder(kUserDomain, kApplicationSupportFolderType, kCreateFolder, &FileRef);[详细]
2023-02-15 13:25 分类:问答Global Hotkey eventNotHandledErr Pass to Event Handler
I\'ve pored through most of the posts regarding the creation of Global Hotkeys using Carbon. Is it possible in the hot key handler function to return eventNotHandledErr and have the event passed on to[详细]
2023-02-14 13:20 分类:问答Add Item to Finder Sidebar
I would like to add a new item to the Finder sidebar. I found out that the Finder keeps the list of \"places\" in `~/Library/Preferences/com.a开发者_高级运维pple.sidebarlists.plist. I was able to read[详细]
2023-02-07 22:16 分类:问答How do I compare two CFUUIDs (Mac OS X Carbon/CoreFoundation)?
How can I compare two CFUUIDRefs from the CoreFoundation Carbon framework in Mac OS X? Is there an easier way to check if two CFUUIDs are equal other than converting them to string开发者_C百科s and th[详细]
2023-02-07 09:10 分类:问答Using Cocoa delegate in a Carbon Objective c++ app
I hope someone will be able to help me since this issue is killing my productivity.. One week on this even if I am quite new to Mac development.[详细]
2023-02-06 16:12 分类:问答How can I tell which application a CGEventRef is coming from?
I\'ve successfully got a demo app intercepting keyboard events.开发者_如何学Go Here\'s the handler for them.[详细]
2023-02-04 20:04 分类:问答Cocoa get Power Adapter Status
I\'m currently working on a Backup Application, and I have received a lot of requests for features to be added recently, and the top one of them is adding a checkbox like \"Back Up when on Battery Pow[详细]
2023-02-01 19:58 分类:问答
加载中,请稍侯......