I have never used a dual monitor system but a user of my software told me that my program is only shown on the primary monitor on his mac with dual monitors. Do I need to do anything special to get the program to run on dual monitors or doesn't OS X just take care of this for me? [...]]]>
[...] Brilliant -- thanks! (can't believe I forgot that!) ... I gotta convert this code to Quartz!!! Stephen]]>
[...] HiliteControl functions, but windows are double-buffered on Mac OS X, so you need to flush the window buffer to the screen in order to see the button hilite. Add a call to QDFlushPortBuffer after each call to HiliteControl. -eric]]>
Title: Simulating button press (i.e, for return) Hi everyone, Had some legacy code that simulated a button press when the user typed return in a text field. Wanted to make sure the button was highligted long enough to be seen (the window doesn't go away). [...]]]>
[...] You should go to email@hidden.]]>
I am loading a movie asynchronously, with "NewMovieFromDataRef, " and then checking occasionally, with "GetMovieLoadState". If I want to cancel the loading of that Movie and try loading another, what is the correct procedure? Charles Hotmail: Trusted email with powerful SPAM protection. Sign up now.
]]>Dear All, I'm not sure if this is the right place to ask this question... In our framework, applications are launched by passing in a python script to a command-line "launcher". This startup script is responsible for setting up the user interface, including menu, main window and so on. [...]]]>
Hello All,
I am working on client server application. When I unplug the
network cable for server, application running on server should know that its
network is disconnected.
Is there any way I can receive signal in my code on server
side, which will tell me that network is disconnected?
Thanks and Regards,
Rahul
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
]]>the problem was easily corrected by dragging in the iconv lib from the SDK instead of from the OS (apple: it's a bug that your tools don't do that when i set them to "deployment 10.4") and sorry this was an xcode question (originally posted to carbon-dev) [...]]]>
I'm building on 10.6 base SDK is 10.5 (cuz i want to optionally use some new APIs) deployment target is 10.4 but when i run on a 10.4 system, it fails to launch due to this: libiconv.2.dylib app requires version 7.0.0 or later but current version is 5.0. [...]]]>
Title: How to write application uploading OS/App to the USB device Hello, I am going to write application which upload OS/App to the barcode scanner (USB). I have already created framework to connect device and Mac OS X. I am new to write such an application and have no idea where I should start. The application need to send barcode scanner’s application or OS to the barcode scanner, and need to install them on the device. Anyone please let me know any sample code or documentation that I can refer? “iSync” is something I can use? Thank you.]]>
[...] As I wrote, covering the desktop with a window of your own making at the desktop window level is probably a better choice, because you don't have to save and restore the user's desktop picture, and you still get to cover a complex desktop picture. [...]]]>
Here is an interesting wrinkle to all of this...if, for example, one builds the JustPP sample application with the 10.4 SDK, it won't crash. Build it with the 10.5 or 10.6 SDK and it will crash. On Nov 4, 2009, at 1:08 PM, Eric Gorr wrote: > quoted text [...]]]>
This is a weird one... A screen capture can be found at: http://ericgorr.net/cocoadev/ColorProcedure.m4v.zip The full source for the simple JustCocoa app can be found at: http://ericgorr.net/cocoadev/JustCocoa.zip The full source for a JustPP app can be found at: http://ericgorr. [...]]]>
Hi all, I'm trying to retrieve the process which prevents a volume from being unmounted. I tried using either FSUnmountVolumeAsync or FSUnmountVolumeSync. In both cases, the process pid returned in the callback function (async procedure) or directly to the function [...]]]>
[...] If you see a crash in CFRelease, that could mean you're over releasing some CF object. Check all your calls that begin with CF and have Release in them. Re-read the CF rules of ownership <http://developer.apple.com/mac/library/documentation/CoreFoundation/Conceptual/CFMemoryMgmt/Concepts/Ownership.html [...]]]>
Hi all, In one of our customer&#8217;s machines, whenever he quits the application, it appears to quit normally but after quitting, Mac OS reports that the Application crashed followed by the following crash log which seems to point somewhere in the library cleanup and unloader code. [...]]]>
Sorry Last one got forwarded by mistake.
Again I am very sorry for spamming.
Nick: I'm using Microsoft RDP on Windows machines over 2Mbit DSL
often and
have always disabled background pictures. In my experience
working
remote on a machine, I mostly use one application and for
example
closing or minimizing the window would uncover the background
picture
which results in noticeable hiccups.
Besides that, even complex GUI compresses a lot better than a
grainy
analog picture (the photo of the snow leopard would be a
nightmare in
that regard) ... e.g. an GUI area with a vertical color or
grayscale
gradient will still compress easily because a whole horizontal
line is
still a bunch of pixels in the same color.
Ø Same observation
here Nick. Great Catch.
Thanks
Rahul
DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
]]> Nick: I'm using Microsoft RDP on Windows machines over 2Mbit DSL often and have always disabled background pictures. In my experience working remote on a machine, I mostly use one application and for example closing or minimizing the window would uncover the background [...]]]>
On Nov 2, 2009, at 12:18 AM, Rahulkumar Tibdewal wrote: [...] I'm using Microsoft RDP on Windows machines over 2Mbit DSL often and have always disabled background pictures. In my experience working remote on a machine, I mostly use one application and for example [...]]]>
[...] Yes it is. But the user can cause the same issue by arranging windows to create a complex image. If this is causing an issue, then you are probably key framing too often. [...] Even if I have a complex desktop picture it may be invisible, and [...]]]>
[...] I looked up kEventParamAccessibleAttributeName in the headers and it seems to be used for getting the AccessibleAttributeName from an event only. If you want to create custom events or add custom parameters to standard events just define you own param names (and types, if necessary). [...]]]>
Thanks Nick and David for your valuable comments. Below are some more details of the points. David: But broadcasting this screen should be very efficient, as I'm only changing a very small area of the screen at a time - if it isn't, then you [...]]]>
Thanks, I think LSSharedFileList API is what I'm looking for. On Oct 31, 2009, at 9:01 PM, Jean-Daniel Dupas wrote: Le 31 oct. 2009 à 02:05, Ryan Joseph a écrit : > quoted text [...] Regards, Josef]]>
[...] You're almost there: SetEventParameter( eventRef, kEventParamAccessibleAttributeName, typeCFStringRef, sizeof(CFStringRef), &cfString); When handling the event: GetEventParameter( eventRef, kEventParamAccessibleAttributeName, typeCFStringRef, nil, sizeof( CFStringRef ), nil, &cfString ); ... use string CFRelease(cfString) or maybe CFRetain(cfString) ... use string CFRelease(cfString) in which case the sender of the event can keep using the string too and release it eventually. Jan E]]>
I created a customized event,but I do not know how to set parameters with it... at the right now,my code is:  EventRef eventRef; CreateEvent(NULL,kEventClassTimer,kEventTimerFire,0,kEventAttributeNone,&eventRef); SetEventParameter( eventRef, kEventParamAccessibleAttributeName, typeCFStringRef, sizeof(CFStringRef), mask);  Is it wrong? what should i do???? .....]]>
[...] I checked again. It seems that the nibfile file sets the glyph somehow. With virtual key shortcuts set from the program, the SetMenuItemCommandKey(fmenu, idx, FALSE, 0) alone does the trick. If there was a virtual key set as shortcut in the nibfile, then [...]]]>