Ignore:
Timestamp:
Sep 26, 1999, 4:44:58 PM (26 years ago)
Author:
sandervl
Message:

Dialog + error handling fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/win32dlg.cpp

    r1060 r1063  
    1 /* $Id: win32dlg.cpp,v 1.4 1999-09-26 11:09:39 sandervl Exp $ */
     1/* $Id: win32dlg.cpp,v 1.5 1999-09-26 14:44:58 sandervl Exp $ */
    22/*
    33 * Win32 Dialog Code for OS/2
     
    192192
    193193    /* Create controls */
    194     //testesteest
    195194    if (createControls(dlgTemplate, hInst))
    196195    {
     
    198197        hwndFocus = GetNextDlgTabItem( getWindowHandle(), 0, FALSE );
    199198
    200 #if 1
    201         //TODO: SetFocus call messes things up
    202         SendMessageA(WM_INITDIALOG, (WPARAM)hwndFocus, param);
    203 #else
    204199        if (SendMessageA(WM_INITDIALOG, (WPARAM)hwndFocus, param ))
    205200             SetFocus(hwndFocus);
    206 #endif
     201
    207202        if (dlgInfo.style & WS_VISIBLE && !(getStyle() & WS_VISIBLE))
    208203        {
Note: See TracChangeset for help on using the changeset viewer.