Changeset 535 in dev for trunk/ab5.0/abdev


Ignore:
Timestamp:
May 3, 2008, 6:32:13 PM (17 years ago)
Author:
dai_9181
Message:

hChildが無効の場合はSendMessageしないようにした。

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/src/MainFrame.cpp

    r534 r535  
    10471047            hChild=hCompileView;
    10481048            hCompileView=(HWND)-1;
    1049             SendMessage(hChild,WM_COMMAND,IDCANCEL,0);
     1049            if( ::IsWindow( hChild ) )
     1050            {
     1051                SendMessage(hChild,WM_COMMAND,IDCANCEL,0);
     1052            }
    10501053        }
    10511054
Note: See TracChangeset for help on using the changeset viewer.