jspoxon / autofill

Automatically exported from code.google.com/p/autofill
0 stars 0 forks source link

Progress Feedback and Prevent Queueing of User Message #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Some operations are very long. The user needs progress feedback to know that 
3ds Max is still operational, how much time to expect things to take, and the 
Windows message queue should be flushed to prevent a user from clicking 
multiple times causing too many events to accumulate in the queue rendering the 
tool unusable.

Code for doing this needs to be written and provided by Christopher for Ludovic.

Original issue reported on code.google.com by cdiggins on 13 Nov 2012 at 2:58

GoogleCodeExporter commented 8 years ago
Dropping priority. Should be easy with new MaxPlus functions:
a.  BOOL ProgressStart(MCHAR * title, bool dispBar = true) { return 
GetCOREInterface13()->ProgressStart(title, dispBar ? 1 : 0, dummy_callback, 
NULL); }
b.  void ProgressUpdate(int pct, bool showPct, const MCHAR * title) { 
GetCOREInterface13()->ProgressUpdate(pct, showPct ? 1 : 0, (const 
wchar_t*)title); }
c.  void ProgressUpdate(int pct, bool showPct = true) { 
GetCOREInterface13()->ProgressUpdate(pct, showPct ? 1 : 0, (const 
wchar_t*)NULL); }
d.  void ProgressEnd() { GetCOREInterface13()->ProgressEnd(); }

Original comment by cdiggins on 15 Nov 2012 at 5:40