• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
problems with NSOpenPanel (black rectangles)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

problems with NSOpenPanel (black rectangles)


  • Subject: problems with NSOpenPanel (black rectangles)
  • From: Andrew Bush <email@hidden>
  • Date: Sat, 1 Oct 2005 11:07:00 +1200

Hi all,


Im having some problems with NSOpenPanel, when I use it to select files its displaying large black rectangles when the user clicks on folders in the columns...ie, you click on a folder, the current column flashes a large black rectangle and then displays the next column to the right as expected.


this is on 10.3, I have reports that its far worse again on 10.4

Also, in a vaguely related note, Im compiling my app on 10.3, and it appears to run fine on 10.4, *except* I have reports that radiobuttons and checkboxes in my prefs window are black rectangles in 10.4 under many circumstances...click on one and all the rest black out their entire frame and various other things...is this an expected sideproduct of not compiling on 10.4? or is there something else happening here?

...I was actually surprised it ran at all on 10.4, I had an idea that you specifically needed to recompile for different versions of os x...is that totally wrong?


Here is the code Im using for NSOpenPanel.

	NSOpenPanel *op;
	int result;
	NSString* tempPath=nil;

	op = [NSOpenPanel openPanel];

	[op setCanChooseFiles:NO];
	[op setAllowsMultipleSelection:NO];
	[op setCanChooseDirectories:YES];

	result = [op runModalForDirectory:NSHomeDirectory()
                    file:nil types:nil];
	if (result == NSOKButton)
	{
		tempPath=[[op filename] retain];				

	}
	return tempPath;



Thanks for any help.


Yours cheerfully,

	Andrew Bush

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: how to implement equivalent of -[NSTableView _getFullyFormedCellAtColumn:row:]?
  • Next by Date: Re: 10.3.9 cross development SDK not working?
  • Previous by thread: Re: problems with NSOpenPanel (black rectangles)
  • Next by thread: call selector @"mySelector"
  • Index(es):
    • Date
    • Thread