Searched refs:wcex (Results 1 – 6 of 6) sorted by relevance
20 WNDCLASSEX wcex; in register_class() local24 wcex.cbSize = sizeof(WNDCLASSEX); in register_class()26 wcex.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; in register_class()27 wcex.lpfnWndProc = WndProc; in register_class()28 wcex.cbClsExtra = 0; in register_class()29 wcex.cbWndExtra = 0; in register_class()30 wcex.hInstance = hInstance; in register_class()31 wcex.hIcon = NULL; in register_class()32 wcex.hCursor = NULL; in register_class()33 wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); in register_class()[all …]
49 WNDCLASSEX wcex; in Create() local50 memset(&wcex, 0, sizeof(wcex)); in Create()51 wcex.cbSize = sizeof(wcex); in Create()52 wcex.hInstance = instance_; in Create()53 wcex.lpfnWndProc = &Win32Window::WndProc; in Create()54 wcex.lpszClassName = kWindowBaseClassName; in Create()55 window_class_ = ::RegisterClassEx(&wcex); in Create()
93 WNDCLASSEX wcex; in MyRegisterClass() local94 wcex.cbSize = sizeof(WNDCLASSEX); in MyRegisterClass()95 wcex.style = CS_HREDRAW | CS_VREDRAW; in MyRegisterClass()96 wcex.lpfnWndProc = WndProc; in MyRegisterClass()97 wcex.cbClsExtra = 0; in MyRegisterClass()98 wcex.cbWndExtra = 0; in MyRegisterClass()99 wcex.hInstance = instance; in MyRegisterClass()100 wcex.hIcon = LoadIcon(instance, in MyRegisterClass()102 wcex.hCursor = LoadCursor(NULL, IDC_ARROW); in MyRegisterClass()103 wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1); in MyRegisterClass()[all …]
64 static WNDCLASSEX wcex; in init() local67 wcex.cbSize = sizeof(WNDCLASSEX); in init()69 wcex.style = CS_HREDRAW | CS_VREDRAW | CS_OWNDC; in init()70 wcex.lpfnWndProc = WndProc; in init()71 wcex.cbClsExtra = 0; in init()72 wcex.cbWndExtra = 0; in init()73 wcex.hInstance = fHInstance; in init()74 wcex.hIcon = LoadIcon(fHInstance, (LPCTSTR)IDI_WINLOGO); in init()75 wcex.hCursor = LoadCursor(nullptr, IDC_ARROW);; in init()76 wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); in init()[all …]
302 WNDCLASSEX wcex = {}; in InitializeMagnifier() local303 wcex.cbSize = sizeof(WNDCLASSEX); in InitializeMagnifier()304 wcex.lpfnWndProc = &DefWindowProc; in InitializeMagnifier()305 wcex.hInstance = hInstance; in InitializeMagnifier()306 wcex.hCursor = LoadCursor(NULL, IDC_ARROW); in InitializeMagnifier()307 wcex.lpszClassName = kMagnifierHostClass; in InitializeMagnifier()310 RegisterClassEx(&wcex); in InitializeMagnifier()
433 WNDCLASSEX wcex = { sizeof(WNDCLASSEX) }; in RegisterWindowClass() local434 wcex.style = CS_DBLCLKS; in RegisterWindowClass()435 wcex.hInstance = GetModuleHandle(NULL); in RegisterWindowClass()436 wcex.hbrBackground = reinterpret_cast<HBRUSH>(COLOR_WINDOW + 1); in RegisterWindowClass()437 wcex.hCursor = ::LoadCursor(NULL, IDC_ARROW); in RegisterWindowClass()438 wcex.lpfnWndProc = &WndProc; in RegisterWindowClass()439 wcex.lpszClassName = kClassName; in RegisterWindowClass()440 wnd_class_ = ::RegisterClassEx(&wcex); in RegisterWindowClass()