08-27-2001, 01:08 AM
How to insert a slidebar in a child window? I want to control speed of my object through this interface. All my attempts have failed.
What is the name of the class for Slider and what flags should I use? It is pure Win32. Please give some hint. http://www.opengl.org/discussion_boards/ubb/confused.gif
CreateWindowEx (WS_EX_LEFT, "Slider",
NULL,
WS_CHILD | WS_VISIBLE| WS_BORDER | WS_TABSTOP,
3, 3,
8, 8,
hwnd, (HMENU) 1,
((LPCREATESTRUCT) lParam)->hInstance, NULL) ;
What is the name of the class for Slider and what flags should I use? It is pure Win32. Please give some hint. http://www.opengl.org/discussion_boards/ubb/confused.gif
CreateWindowEx (WS_EX_LEFT, "Slider",
NULL,
WS_CHILD | WS_VISIBLE| WS_BORDER | WS_TABSTOP,
3, 3,
8, 8,
hwnd, (HMENU) 1,
((LPCREATESTRUCT) lParam)->hInstance, NULL) ;