Changeset 249 in Main for trunk/Server/gui.c


Ignore:
Timestamp:
Oct 4, 2024, 5:59:55 AM (6 weeks ago)
Author:
Nishi
Message:

fix vc6

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Server/gui.c

    r244 r249  
    6060                ShowBitmapSize(hWnd, hdc, "TEWILOGO", size.left, size.top, WINWIDTH(size), WINWIDTH(size));
    6161                EndPaint(hWnd, &ps);
     62        }else if(msg == WM_CTLCOLORDLG || msg == WM_CTLCOLORSTATIC){
     63                HDC dc = (HDC)wp;
     64                SetBkMode(dc, TRANSPARENT);
     65                return GetSysColorBrush(COLOR_MENU);
    6266        }else{
    6367                return FALSE;
     
    8084                if(trig == GUI_BUTTON_ABOUT){
    8185                        if(ev == BN_CLICKED){
    82                                 DialogBox(hInst, "VERSIONDLG", hWnd, VersionDialog);
     86                                DialogBox(hInst, "VERSIONDLG", hWnd, (DLGPROC)VersionDialog);
    8387                        }
    8488                }else if(trig == GUI_BUTTON_START){
Note: See TracChangeset for help on using the changeset viewer.