ProgrammingCube / lcdhost

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

A17: lh_cb_sethidden doesn't work #67

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The lh_cb_sethidden callback doesn't seem to work. Although I might not be 
using it correctly:

Tried both of these, neither works:

    bool hidden = true;
    callback(lh_cb_sethidden, (void*) &hidden);

    int hidden = 1;
    callback(lh_cb_sethidden, (void*) &hidden);

I've also tried using false, 0 and -1.

Original issue reported on code.google.com by a...@bridgesuk.com on 2 Jul 2011 at 12:53

GoogleCodeExporter commented 8 years ago
Update: it does work, but not from the constructor, meaning initial visibility 
cannot be set correctly (i.e. it will always be visible even if the sethidden 
callback is applied). Outside of the constructor it works correctly.

Original comment by a...@bridgesuk.com on 2 Jul 2011 at 5:35

GoogleCodeExporter commented 8 years ago

Original comment by jo...@linkdata.se on 2 Jul 2011 at 6:33