macos-carbon
GetPictInfo replacement Api in quartz 2D
how to get pict info without using deprecated call to GetPictInfo ? Also, is there anyway to 开发者_如何学Goget pixmaphandle without using deprecated Api, i could not find any .I suggest you relearn h[详细]
2023-04-04 23:56 分类:问答Pre-Amplify Audio OS X
There are two apps for OS X that allow you to pre-amplify audio before it gets played by the hardware: Audio Hijack (pre-amplifies output from particular applications) and Boom (pre-amplifies all syst[详细]
2023-04-04 08:47 分类:问答Cocoa exception: _createMenuRef called with existing principal MenuRef already associated with menu
This is the Python code: #!/usr/bin/python import os import sys from Foundation import * from AppKit import *[详细]
2023-04-04 08:01 分类:问答How can Mac OS X games receive low-level keyboard input events?
Games need low-level access to keyboard input. On Windows, there\'s DirectInput. But what technology do Mac OS X game developers use?[详细]
2023-04-03 07:53 分类:问答Does Snow Leopard/Lion supports kEventSystemTimeDateChanged
I need to get notified when the changes made in system preference panel.From the google document I found kEventSystemTimeDateChanged and it worked in Leopard.But While running the same code snippet on[详细]
2023-04-02 22:24 分类:问答OS X Cocoa - Translate Virtual Scan Code to and from Char
Is there a 开发者_开发知识库cocoa / carbon equivalent to the VkKeyScan and ToUnicode functions present on windows for translating between virtual scan codes and a unicode string? I would also like to[详细]
2023-04-02 17:20 分类:问答How do I get Xcode to let me create a Carbon Unit Test Bundle target?
I am having trouble creating a unit test in an Xcode project.The project was created from a template for a \'command-line tool that links against the stdc++ library\'.[详细]
2023-04-02 10:17 分类:问答Pasteboardmanager reference
HI i have an old code which uses a scrapref and selects scrap using GetScrapbyname(kscrapclipboardscrap,kscrapgetnamedscrap,&scrapref);[详细]
2023-03-31 04:46 分类:问答How to get FontFormat using CTFontRef
There is old carbon code using FMGetFontFormat to determine if the Font is of \"Tr开发者_运维百科ue Type\". Since the API is deprecated, is there a way to find the same using CTFontRef. I used CTFontC[详细]
2023-03-30 06:24 分类:问答Detect if a system hotkey already defined with DDHotKey/Carbon
I\'m trying to figure out how I can allow a user to customize their hotkey selection wit开发者_Go百科hout stomping on an already configured system hotkey. Anybody implement something like this?If my m[详细]
2023-03-27 21:52 分类:问答