From: <kr_...@us...> - 2003-10-10 22:59:07
|
Update of /cvsroot/htoolkit/port/src/cbits/Win32 In directory sc8-pr-cvs1:/tmp/cvs-serv32238/src/cbits/Win32 Modified Files: Util.c Log Message: formatting Index: Util.c =================================================================== RCS file: /cvsroot/htoolkit/port/src/cbits/Win32/Util.c,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** Util.c 10 Oct 2003 22:55:12 -0000 1.25 --- Util.c 10 Oct 2003 22:59:03 -0000 1.26 *************** *** 66,91 **** // SDIWindow class ! wc.style = CS_DBLCLKS; ! wc.lpfnWndProc = HSDIWindowFunction; ! wc.cbClsExtra = 0; ! wc.cbWndExtra = 0; ! wc.hInstance = ghModule; ! wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); ! wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); ! wc.lpszMenuName = NULL; wc.lpszClassName = "HSDIWINDOW"; RegisterClass(&wc); // Dialog class ! wc.style = CS_DBLCLKS; ! wc.lpfnWndProc = HDialogFunction; ! wc.cbClsExtra = 0; ! wc.cbWndExtra = DLGWINDOWEXTRA; ! wc.hInstance = ghModule; ! wc.hIcon = NULL;//LoadIcon(NULL, IDI_APPLICATION); ! wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); ! wc.lpszMenuName = NULL; wc.lpszClassName = "HDIALOG"; RegisterClass(&wc); --- 66,91 ---- // SDIWindow class ! wc.style = CS_DBLCLKS; ! wc.lpfnWndProc = HSDIWindowFunction; ! wc.cbClsExtra = 0; ! wc.cbWndExtra = 0; ! wc.hInstance = ghModule; ! wc.hIcon = LoadIcon(NULL, IDI_APPLICATION); ! wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); ! wc.lpszMenuName = NULL; wc.lpszClassName = "HSDIWINDOW"; RegisterClass(&wc); // Dialog class ! wc.style = CS_DBLCLKS; ! wc.lpfnWndProc = HDialogFunction; ! wc.cbClsExtra = 0; ! wc.cbWndExtra = DLGWINDOWEXTRA; ! wc.hInstance = ghModule; ! wc.hIcon = NULL; ! wc.hCursor = LoadCursor(NULL, IDC_ARROW); wc.hbrBackground = (HBRUSH) (COLOR_BTNFACE + 1); ! wc.lpszMenuName = NULL; wc.lpszClassName = "HDIALOG"; RegisterClass(&wc); |