Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 02-21-2010, 08:26 PM   #1 (permalink)
devavejay
Registered Member
 
Join Date: Feb 2010
Posts: 2
devavejay is on a distinguished road
Default DoEvents / screen not updating until method is done.

Hi, I am new to IPhone Development...

I have am writing a app similar to a piano keyboard, I am recording touch events of UIButton's but when I go to "play" them back, by setting the .highlighted property of the button to true, and preforming the event that plays the sound, the buttons dont change color. I tried inverting the highlighted property on hunch and it appears it does the UI update after we are done with the event. I am guessing the UI thread is waiting for the processing thread to be done - or I am doing something basic wrong.

Typically in other languages I would call a DoEvents or a Application.ProcessMessages() here, to test that out, but per other members of this forum - a call like that does not exist.

Does anyone have any ideas?

-Deva
devavejay is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 175,523
Threads: 94,045
Posts: 402,632
Top Poster: BrianSlick (7,978)
Welcome to our newest member, ajlondon
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 08:32 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.