Static Text on Tab Controls
I currently have a tab control that has a static control that is made for each tab. Then each static text is then added onto the static control to make it possible for tab switching. The text can be drawn correctly, but I have a problem. The text has a static, gray-like, background that I am trying to remove. How would I go about doing that?
My current code is:
hwnd_tabs_content = CreateWindowEx(0,"STATIC","",SS_WHITERECT|WS_VISIBLE|WS_EX_TRANSPARENT|WS_CHILD|WS_EX_WINDOWEDGE,1,21,586,367,hwnd_tabs,NULL,g_hinst,NULL);
SendMessage (test,WM_SETFONT,(WPARAM) GetStockObject(DEFAULT_GUI_FONT), 0);