shadowd_dog1
unread,Jul 28, 2008, 2:24:14 PM7/28/08Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ShowMeDo-Learners
I am new to pywin32 and would like to use base win32 window create
functionality similar to this C code-
HWND hWnd;
WNDCLASSEX wc;
ZeroMemory(&wc, sizeof(WNDCLASSEX));
wc.cbSize = sizeof(WNDCLASSEX);
wc.hbrBackground = (HBRUSH)COLOR_WINDOW;
wc.style = CS_HREDRAW | CS_VREDRAW;
wc.lpfnWndProc = (WNDPROC)WindowProc;
wc.hInstance = hInstance;
wc.hCursor = LoadCursor(NULL, IDC_ARROW);
wc.lpszClassName = "PyWindow";
RegisterClassEx(&wc);
hWnd = CreateWindowEx(NULL,
"PyWindow",
"PyDemo",
WS_EX_TOPMOST | WS_POPUP,
0, 0,
SCREEN_WIDTH, SCREEN_HEIGHT,
NULL,
NULL,
hInstance,
NULL);
ShowWindow(hWnd, nCmdShow);
Is this even possible? If so, any idea where the structs and enums
are? win32api? pywintypes?
any help is appreciated.