How to change the background color of dropdown list of NSComboBox

2009-09-23 Thread Symadept
Hi, Can anybody let me know how to solve these issues? 1. How to change the color of the dropdown list of NSComboBox control 2. And I am overriding the background image of the ComboBox by DrawWithFrame method. But once I selected the item from the list it is not shown in the ComboBox. Once I click

Background application is visible when I try to display a transparent backgrounded image into my app

2009-09-24 Thread Symadept
Hi, I am trying to display an Image whose background is transparent as a buttoncell. Then the application background of my app or the desktop is visible and when I clicked on it, it focuses to the visible app. Why it is so happening. Code goes like this. Subclassed the NSButtonCell and tried to

NSTableView able to display different background images

2009-09-24 Thread Symadept
Hi, I am trying to make my NSTableView display various images for various states of the cells. Say, Default, Highlighted and MouseOver. Can anybody help me how to achieve this. I know MouseOver will be pretty difficult. Immediately I want to hit the two things first, Default & Highlighted and Di

How to create a control just as RGB Sphere and Alpha bar

2009-09-24 Thread Symadept
Hi, Can any help me how to create a view which contains Spectrum Bar (Just as RGB Sphere in NSColorPanel) and an Alpha bar? Thanks in advance Regards Mustafa ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or m

Re: How to create a control just as RGB Sphere and Alpha bar

2009-09-24 Thread Symadept
On Fri, Sep 25, 2009 at 1:41 PM, Graham Cox wrote: > > On 25/09/2009, at 1:14 PM, Symadept wrote: > > Can any help me how to create a view which contains Spectrum Bar (Just as >> RGB Sphere in NSColorPanel) and an Alpha bar? >> > &g

Re: How to create a control just as RGB Sphere and Alpha bar

2009-09-25 Thread Symadept
you-tried > > http://catb.org/~esr/faqs/smart-questions.html > > > C'mon, get real. No-one's going to write your code for you. If you can't > find a free class somewhere, subclass NSView yourself. A location <--> RGB > mapping is pretty easy. > > --Graha

CustomComboboxCell not displaying the selected text

2009-09-25 Thread Symadept
Hi, I have designed one combobox with CustomComboBoxCell set from the Interface Builder and trying to Change the Complete rectangle with my own image using drawWithFrame. Once I choose the any item from the DropDownList it is not displaying the text immediately in the Textfield of the ComboBox. Bu

Background image of CustomTableView Cells

2009-10-14 Thread Symadept
ion rectangle when the app is running // in any OS before leopard // you can also return a color if you simply want to change the table's default selection color return nil; } @end Thanks in advance Regards symadept ___ Cocoa-dev mailin

Custom NSComboBox

2009-10-14 Thread Symadept
Hi, I am designing a custom NSComboBox to display the rect image as some ComboboxBg.png and set foreground (text) color to Red. To render image I am doing the following things. @interface CustomComboBoxCell : NSComboBoxCell { } @end @implementation CustomComboBoxCell - (void)drawWithFrame:(NSRect)b

Record and Playback immediately

2009-10-15 Thread Symadept
ards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription:

Re: Programming Style: Method Definition with or without a semicolon.

2009-10-15 Thread Symadept
this over to XCode and ask about it. >> > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lis

Re: Record and Playback immediately

2009-10-15 Thread Symadept
Jean-Daniel Dupas wrote: > > Le 15 oct. 2009 à 09:41, Symadept a écrit : > > > Hi, >> I took the examples of afplay & afrecord. But it does the normal record to >> completion and play to completion manner. How can I Record into buffer and >> play from there. I hop

Re: Custom NSComboBox

2009-10-15 Thread Symadept
Hi, Can anybody put some light on this. Regards Mustafa On Wed, Oct 14, 2009 at 7:09 PM, Symadept wrote: > Hi, I am designing a custom NSComboBox to display the rect image as some > ComboboxBg.png and set foreground (text) color to Red. To render image I am > doing the followi

Re: Background image of CustomTableView Cells

2009-10-15 Thread Symadept
Hi,Can anybody please help me regarding this. Regards Symadept On Wed, Oct 14, 2009 at 6:50 PM, Symadept wrote: > > Hi, > Can you help me to fix this problem. > > I am customizing my table view to show various images in the background of > the cells accordingly as > >

Simultaneous Recording and Playback

2009-10-15 Thread Symadept
can do. Thanks in advance. Regards Symadept On Wed, Oct 14, 2009 at 4:21 PM, Sven wrote: > On Tue, 13 Oct 2009, Jens Alfke wrote: > > >> On Oct 13, 2009, at 9:30 AM, Sven wrote: >> >> Thanks... I don't want to encode any audio files, I merely want to be >&

NSTableView weird behavior

2009-10-19 Thread Symadept
happens to be Transparent(Alpha <1.0) Coloured then the issue starts. For your reference can refer the link, http://www.4shared.com/file/142077560/af2d2a44/CustomTable.html Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

How to scroll custom view

2009-10-30 Thread Symadept
Hi, How can I implement scrolling for the custom view. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at

iPhone: How to show another view on UITableView

2009-10-30 Thread Symadept
Hi, I wanna show another image view in the bottom of the UITableView. Any pointers please. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: How to scroll custom view

2009-10-30 Thread Symadept
Excellent. Thanks alot. Regards Symadept On Sat, Oct 31, 2009 at 11:08 AM, Dave Keck wrote: > > How can I implement scrolling for the custom view. > > Use an NSScrollView. > ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Programming hot key

2009-11-03 Thread Symadept
Hi, Anybody tell me can I program a hot key which shall not block the other apps responding to it. Lets say I have registered hot key Command+P for some operation for my app, it shall not block the other apps responding to it. How can I do this? Regards Symadept

How to drag window without title bar

2009-11-11 Thread Symadept
Hi, With respect to the example, http://developer.apple.com/mac/library/samplecode/RoundTransparentWindow/ I wanted to move the window with mouse drag. How can I do that? Regards Symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Close/Minimize the app

2009-11-11 Thread Symadept
same. And I know to give Dock Menu items. >From that menuitem, if I click on Open, it shall be able to launch my app. Regards Symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to

Callback for Volume change or Mute/Unmute

2009-11-11 Thread Symadept
Hi, How to register a callback for Volume Change and Mute/Unmute of audio device. Regards Symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at

Mute/Unmute audio device

2009-11-11 Thread Symadept
Hi, How to Mute/Unmute audio device. Regards Mustafa ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubs

Re: Close/Minimize the app

2009-11-11 Thread Symadept
d. Regards Symadept On Thu, Nov 12, 2009 at 12:27 PM, Nick Zitzmann wrote: > > On Nov 11, 2009, at 8:50 PM, Symadept wrote: > > > How to close/minimize the app programmatically. > > To close the app, call -[NSApplication terminate:]. > > > I tried the followin

Re: Close/Minimize the app

2009-11-12 Thread Symadept
> id closeButton = [mpWindow standardWindowButton:NSWindowCloseButton ]; > [closeButton setAction:@selector(closeapp:)]; > [closeButton setTarget:self]; > > > > - (IBAction)closeapp:(id)sender > { >exit(0); > } > > Regards, > kiran > On Nov 12, 2009, at 10:18 AM, S

Drag-Move the Transparent windowed app over the screen

2009-11-12 Thread Symadept
Hi, My app's window is a BorderLess Window because of which I will not have the Titlebar (Ref: RoundTransparentWindow of Apple examples). Because of which I can't drag and move over the screen. Any pointers to solve this. Regards symadept

Re: Mute/Unmute audio device

2009-11-12 Thread Symadept
f] Final:[%f]", volume[0], volume[1], b_vol); return b_vol; } This code works fine for getting volume. Similarly can I set the audio device to Mute/Unmute. Any pointers highly appreciable. Regards Mustafa On Thu, Nov 12, 2009 at 12:58 PM, wrote: > which technology are you asking

Re: Connecting up a drop down menu

2009-11-12 Thread Symadept
into a string. > > Thank you > > Karen > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update y

Re: Drag-Move the Transparent windowed app over the screen

2009-11-12 Thread Symadept
> goto attributes for your window ,enable the texture checkbox so that > you can drag your window. > > > Regards, > kiran. > > > > > > On Nov 12, 2009, at 2:09 PM, Symadept wrote: > > Hi, >> >> My app's window is a BorderLess Window because of whic

Auto-scrolling view

2009-11-12 Thread Symadept
How to design Auto-scrolling view. Any pointers are highly appreciable. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev

Re: Drag-Move the Transparent windowed app over the screen

2009-11-14 Thread Symadept
Hey Andrew and Dave, You must be kidding. I never see that api anywhere ;) -Mustafa On Sat, Nov 14, 2009 at 3:16 PM, Andrew Farmer wrote: > On 12 Nov 2009, at 01:58, kirankumar wrote: > > goto attributes for your window ,enable the texture checkbox so that > > you can drag your window. > >

Customize NSTableHeaderView

2009-11-15 Thread Symadept
Hi, I want to customize NSTableHeaderView to that extent that Shall be able to show custom Image in the background. Shall be able to show the column separator. Any pointers highly appreciable. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev

Custom background in NSTableHeaderView

2009-11-16 Thread Symadept
ageNamed:@"ColHdr3"] title:@"Column3"]; } - (void)drawBackgroundInClipRect:(NSRect)clipRect { NSLog(@"KBCustomTableView drawBackgroundInClipRect"); //[super drawBackgroundInClipRect:clipRect]; } Thanks in advance. Regards symadept ___

How to replace ComboBoxCell with TextFieldCell when not editing

2009-11-16 Thread Symadept
Hi, I want to replace the ComboBoxCell with TextFieldCell when I am not editing the cell and shall be replaced with ComboBoxCell when clicked on that particular cell. Any pointers highly appreciable. Regards symadept ___ Cocoa-dev mailing list (Cocoa

How to customize the slider in Tableview

2009-11-22 Thread Symadept
Hi, I managed to customize the NSSlider, similarly is there anyway with which I can customize the tableview's scrollbar? Any pointers highly appreciable. Regards Mustafa ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

Locale based font

2009-11-23 Thread Symadept
Hi, I found out the way to show custom font. 1. First give information in info.plist, under the identifier, Application fonts resource path. 2. Add this file into the Resources folder. 3. Invoke using this method. [NSFont fontWithName:CP_FONT_NAME size:11], NSFontAttributeName, Works fine. But w

How can I not block hotkey from other apps

2009-11-23 Thread Symadept
Hi, I managed to get my app support for registering hotkeys and using it. But unfortunately if I register Cmd P as hot key in my app, no one in the system can use this hotkey to print unless I deregister it. How can I make it not block others. Any pointers highly appreciable. Target: Tiger, Leop

Re: Locale based font

2009-11-23 Thread Symadept
up with a key for each "style" and > then have a localized property list file to store the styles for each > locale. > > Kinda like how you often have a CSS file for each locale your web site is > localized to. > > Sent from my iPhone > > > On Nov 23, 2009, a

Problem with QTMovie

2009-11-24 Thread Symadept
Hi, I am playing one video, .mov format in QTMovieView which takes QTMovie and I found out after completion of the Movie my headset's sound goes completely off. I cant hear anything in that anymore unless I unplug and plug it again. I tested the same with other movie samples, it works fine. What c

How to get notified pause when QTMovieView when clicked

2009-11-24 Thread Symadept
Hi, I figured out that when I click on the QTMovieView, it pauses and double clicks it plays again. How to get notified whenever the movie is paused or played by click and double click on the QTMovieView. I tried all the possibilities like subclassing QTMovieView and overriding the following meth

Re: How to get notified pause when QTMovieView when clicked

2009-11-24 Thread Symadept
Hi, What is the notification string for Pause and Play of QTMovie? I found out one for movieEnd. Any similar one for this. Regards Mustafa On Tue, Nov 24, 2009 at 6:19 PM, Jean-Daniel Dupas wrote: > Le 24 nov. 2009 à 11:03, Symadept a écrit : > > > Hi, > > > > I figur

Re: How to get notified pause when QTMovieView when clicked

2009-11-24 Thread Symadept
Hi Jean, I fixed it using your suggestion. Thanks alot. Regards Mustafa On Tue, Nov 24, 2009 at 6:57 PM, Symadept wrote: > Hi, > What is the notification string for Pause and Play of QTMovie? > > I found out one for movieEnd. Any similar one for this. > > Regards > Must

Re: Problem with QTMovie

2009-11-24 Thread Symadept
Hi, Any Idea why is this happening. I tried to play file into default then there is no issue. And when I tried to play other sample videos then it is fine. Regards Mustafa On Tue, Nov 24, 2009 at 6:00 PM, Symadept wrote: > Hi, > > I am playing one video, .mov format in QTMovieView wh

Problem with same DeviceID for input and output for Playback

2009-11-25 Thread Symadept
Hi, I am trying use CAPlayThru ( http://developer.apple.com/mac/library/samplecode/CAPlayThrough/) example code of Apple, to get playthru happening from my Mic to Speakers. It works well for the device with different DeviceId for Input and Output. If the deviceId is same, then it gives me a proble

Re: changing dock label name of my app

2009-11-26 Thread Symadept
. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/symadept%40gmail.com > > This email sent to symad...@gmail.com > ___ Co

How can I choose font depending upon Locale.

2009-11-27 Thread Symadept
Hi, My client has given me a custom TTF font only for English. So my intention is to load that TTF only for English and for other languages it should fallback to the available System font. I am doing the following steps: 1. Registering fonts with my app. Copying into Resources folder and add

NSTableView able to show various controls

2009-11-29 Thread Symadept
Hi, I want to so NSTextFieldCell in idle state for the one Column in TableView. When this cell is clicked for editing I would like to show a NSComboBoxCell. How can I achieve this task. I tried with all the possibilities like - ( NSCell *)tableView:(NSTableView *)tableView dataCellForTableColumn:(

Button width should accomodate localized string

2009-11-29 Thread Symadept
Hi, How can I scale my button or Label to be able to accomodate the localized string? Any clues. Regards symadept ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Help needed on font for localized app

2009-11-29 Thread Symadept
Hi, My client has given me a custom TTF font only for English. So my intention is to load that TTF only for English and for other languages it should fallback to the available System font. I am doing the following steps: 1. Registering fonts with my app. Copying into Resources folder and add

TextfieldCell becomes see through in a tableview

2009-12-07 Thread Symadept
Hi, I was writing a Custom TableView whose cells should be drawing no background. For that I made the Textfieldcell as DrawsBackground:NO. I have overridden TableView and TextfieldCell also. But when I click on the textfield to modify its contents, it becomes see through. Rather I want the textfi

Problem with Set/Get volume of input device with single channel

2009-12-09 Thread Symadept
Hi, I am trying to Set/Get Volume level of Input device which has only single channel but no master channel, then it fails to retrieve the kAudioDevicePropertyPreferredChannelsForStereo and intermittently kAudioDevicePropertyVolumeScalar for each channel. But this works well for Output device. So

TexfieldCell becomes see through for Borderless Window

2009-12-10 Thread Symadept
Hi, >From the example of RoundTransparentWindow, I made my Application window to show only the Parts drawn and the transparent parts are cleared. This works fine. But once I create a custom TableView and click its TextfieldCell to edit, the Cell becomes see through. Can anybody help me what would

Re: Localization strategies?

2009-12-21 Thread Symadept
e list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/symadept%40gmail.com > > This email sent to symad...@gmail.com > ___

IOHIDManagerRegisterDeviceMatchingCallback called twice when device pluggedin

2009-12-22 Thread Symadept
Hi, I am using New IOHIDManager APIs, IOHIDManagerRegisterDeviceMatchingCallback and IOHIDManagerRegisterDeviceRemovalCallback to get notified for Pluggedin and Removed. Whenever I pluggin the device, I found that the DeviceMatchingCallback method called twice always. May I know what could be the

Re: RegisterEventHotKey and keylogging

2010-02-02 Thread Symadept
or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/symadept%40gmail.com > > This email sent to symad...@gmail.com >

Re: [MEET] February CocoaHeads Developer Meetings

2010-02-02 Thread Symadept
t.com/ > > > Steve > Silicon Valley CocoaHeads___ > > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)