As showing in attached picture, I want to remove the background of static text ("Quality : 100" and "Resoultion...").
The program I write is following:
What should I modify?Code:// Print Prompt Text hwndStaticTextQuality = CreateWindowEx(0L, "STATIC", NULL, WS_CHILD | WS_VISIBLE | ES_LEFT , FrameX+5, FrameY, 80, 15, hwnd, (HMENU) ID_STATIC_LABEL_QUALITY, GetModuleHandle(NULL), 0 ); sprintf(prompt_text,"Quality:%d",QUALITY_DEFAULT); SetWindowText(hwndStaticTextQuality, prompt_text); hwndStaticTextSpatial = CreateWindowEx(0L, "STATIC", NULL, WS_CHILD | WS_VISIBLE | ES_LEFT , FrameX+5, FrameY+36, 100, 15, hwnd, (HMENU) ID_STATIC_LABEL_SPATIAL, GetModuleHandle(NULL), 0 ); sprintf(prompt_text,"Resolution:1/%d",SPATIAL_DEFAULT); SetWindowText(hwndStaticTextSpatial, prompt_text);
Thank you.




Reply With Quote