• 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
DataBrowser won't show selected rows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DataBrowser won't show selected rows


  • Subject: DataBrowser won't show selected rows
  • From: email@hidden
  • Date: Mon, 30 Apr 2007 14:47:41 -0400

This is crazy.  I have a data browser up and running.  I can add items etc.  But
for some reason when I click on a row, it won't hilite it.  In the debugger I
see I am getting the appropriate calls to my callback routines.  ie, when i
click on a row, i get the kDataBrowserItemSelected message sent to my
ItemNotification callback.  Its as if the screen isn't refreshing or some crazy
thing.

I have the following code in my callback

case kDataBrowserItemSelected:

status = SetDataBrowserSelectedItems (browser, 1,&itemID, kDataBrowserItemsAdd);

											status =
UpdateDataBrowserItems(browser,kDataBrowserNoItem,1,&itemID,kDataBrowserItemNoProperty,kDataBrowserNoItem);
											InvalidateControl(browser);
											break;

I have been going nuts with this.  Does anyone have any clues (or sample code)
that will clear this up for me?

btw - I have looked at the code sample called "basic databrowser".  I don't see
what I am doing differently.  Bummer.



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

This email sent to email@hidden

  • Follow-Ups:
    • Re: DataBrowser won't show selected rows
      • From: Laurence Harris <email@hidden>
  • Prev by Date: Replacment for pthread_mutex_timedlock()?
  • Next by Date: Re: Replacment for pthread_mutex_timedlock()?
  • Previous by thread: Re: Replacment for pthread_mutex_timedlock()?
  • Next by thread: Re: DataBrowser won't show selected rows
  • Index(es):
    • Date
    • Thread