I am trying to create a static control, which has an edit box in it. I want the static control to be scrollable, not the edit box. But this doesn't seem to work, because I can't scroll static...
Code:
cri=CreateWindowEx(0,"Static","",WS_CHILD|WS_VISIBLE|WS_VSCROLL,0,0,500,300,hwnd,(HMENU)0xFA,GetModuleHandle(NULL),NULL);
CreateWindowEx(0,"Edit","Brouse",WS_BORDER| WS_CHILD | WS_VISIBLE | WS_TABSTOP,0,0,50,844,cri,(HMENU)0xE2,GetModuleHandle(NULL),NULL);