Subversion Repositories filter_foundry

Rev

Rev 456 | Rev 460 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 456 Rev 459
Line 433... Line 433...
433
 
433
 
434
        // Now show the dialog
434
        // Now show the dialog
435
        p = (PlatformData*)pb->platformData;
435
        p = (PlatformData*)pb->platformData;
436
 
436
 
437
        // Note: "Invalid Cursor Handle" is the error when an unrecognized control class is detected
437
        // Note: "Invalid Cursor Handle" is the error when an unrecognized control class is detected
-
 
438
        // TODO: Win 3.1 mit Win32s: "The parameter is incorrect"
438
        res = DialogBoxParam(hDllInstance,MAKEINTRESOURCE(gdata->standalone ? ID_PARAMDLG : ID_MAINDLG),
439
        res = DialogBoxParam(hDllInstance,MAKEINTRESOURCE(gdata->standalone ? ID_PARAMDLG : ID_MAINDLG),
439
                             (HWND)p->hwnd,maindlgproc,0);
440
                             (HWND)p->hwnd,maindlgproc,0);
440
        if (res == 0) {
441
        if (res == 0) {
441
                simplealert((TCHAR*)TEXT("DialogBoxParam in valid parent window handle"));
442
                simplealert((TCHAR*)TEXT("DialogBoxParam invalid parent window handle"));
442
        }
443
        }