Red Squiggly under button style : BS_SPLITBUTTON

  • Thread starter Thread starter JoshuaEir
  • Start date Start date
J

JoshuaEir

Guest
Hello,

My question concerns the following code :


for (int i = 0; i < 100; ++i) {
auto hEdit = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("BUTTON"),TEXT("TEXT"),
BS_SPLITBUTTON | WS_CHILD | WS_VISIBLE | ES_AUTOHSCROLL, 10, 30 * i, 250, 21, hWnd, NULL, hInst, NULL);


The BS_SPLITBUTTON has a red squiggly under it and is undefined. Why? Someone mentioned it could be the COMCTL32.dll but I don't think it would complain this way (a squiggly before compiling.) If it is the dll than after getting the permission and in safe mode it is being used by another program and won't delete.


Someone else mentioned to include Winuser.h. I tried this too.


May I have some help please?



Thank you,

Joshua

Continue reading...
 
Back
Top