static void staticedit(struct ctlpos *cp, char *stext, int sid, int eid) {
static void staticedit(struct ctlpos *cp, char *stext, int sid, int eid, int percentedit) {
static void staticedit(struct ctlpos *cp, char *stext, int sid, int eid) {    const int height = (EDITHEIGHT > STATICHEIGHT ?                        EDITHEIGHT : STATICHEIGHT);    RECT r;    int lwid, rwid, rpos;    rpos = GAPBETWEEN + (cp->width + GAPBETWEEN) / 2;    lwid = rpos - 2*GAPBETWEEN;    rwid = cp->width + GAPBETWEEN - rpos;    r.left = GAPBETWEEN; r.top = cp->ypos + (height-STATICHEIGHT)/2;    r.right = lwid; r.bottom = STATICHEIGHT;    doctl(cp, r, "STATIC", WS_CHILD | WS_VISIBLE, 0, stext, sid);    r.left = rpos; r.top = cp->ypos + (height-EDITHEIGHT)/2;    r.right = rwid; r.bottom = EDITHEIGHT;    doctl(cp, r, "EDIT",          WS_CHILD | WS_VISIBLE | WS_TABSTOP | ES_AUTOHSCROLL,          WS_EX_CLIENTEDGE,          "", eid);    cp->ypos += height + GAPBETWEEN;}