|
-
July 4th, 2008, 04:30 AM
#1
[RESOLVED] How to inhibit OnDraw on startup?
I have a standard wizard - generated SDI, which imports data via OnOpenDocument. I want to view this processed data, and can do so quite happily in the View. Trouble is, when the SDI App first starts, the Doc data is not valid. What would be a reliable way to inform the View that drawing should be done only after the document data has been loaded?
(I can use a crude flag, such as an int, and inhibit the actions controlled by OnDraw unless the int has a value set after the data has been read, but I can't believe there is not a proper method).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|