What values do I use for Style / Extended Style on a Custom Control in VS2022 IDE?

  Kiến thức lập trình

I have added a Scintilla control to my dialog. In the documenting they suggested:

hwndScintilla = CreateWindowEx(0,
        "Scintilla","", WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_CLIPCHILDREN,
        10,10,500,400,hwndParent,(HMENU)GuiID, hInstance,NULL);

But, I have added it by using the Custom Control option in the VS2022 IDE. The class is correctly set and everything is working.

But the IDE lacks the familiar properties for setting: WS_CLIPCHILDREN etc.. It has the two edit boxes for us to input the style / extended style. What values do I put here?

I tried to find the official info about this but failed.

LEAVE A COMMENT