Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / February 2005



Tip: Looking for answers? Try searching our database.

PPx: How force custom HIView to redraw?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Michael McLaughlin - 22 Feb 2005 15:51 GMT
I have a custom HIView "pane"

class Display : public View, public ControlDrawDoer {...}

which is a color-coded map.

What is the recommended way, in PPx and OS 10.3+, to force this map to
redraw when the colors have to change due to other computations given
that ControlDrawDoer() has been customized?  I looked for a Refresh()
equivalent and could not find one.

TIA.

--
Mike McLaughlin
Isaac Wankerl - 22 Feb 2005 16:56 GMT
> I have a custom HIView "pane"
>
[quoted text clipped - 8 lines]
>
> TIA.

You need to use the HIToolbox API HIViewSetNeedsDisplay().

Signature

Isaac Wankerl
Metrowerks

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.