Re: Why check menu item's response was blocked?



Hi,

"jacky618 jacky618" <hhd618 hotmail com> writes:

> I hope when the check menu item was selected, it will print  "***###"
> immediately,and "***@@@" when unselected. However, it can not print
> immediately after the menu item was clicked.And until the main window
> was closed, the strings will appear. With regards,

stdout is by default buffered, you need to flush it if you want to see
the output immidiately.


Sven



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]