在资源视图中点击你所需要的资源点右键有
资源符号
d)
{ int i;
/*to save area text picture to Buf, on which the sub menu is to be printed */
gettext(SbX[Mm]-2, 2, SbX[Mm]+SbWid[Mm]+1, SbNum[Mm]+4, Buf);
/* creat the sub menu window and print its edge line and sub menu item */
Wind(SbX[Mm]-2, 2, SbX[Mm]+SbWid[Mm], SbNum[Mm]+3, 1, 1, 3, 15, 1);
textattr(0x3f);
for(i = 0; i < SbNum[Mm]; i ++)
{ gotoxy(2, 1+i);
cputs(Sub[Mm][i]);
}
/* to highlight(加亮,突出) some one sub menu item */
textattr(0x1e);
gotoxy(2, Smm[Mm]+1);
cputs(Sub[Mm][Smm[Mm]]);
}