MM202: Demonstrate Console and Simple Windows Programming Under Windows NT These sample applications augment the "Microsoft Windows NT as an Engineering Platform" technical presentation given by Nigel Thompson at the Tech*Ed Conference held March 27-31, 1995, in New Orleans, Louisiana. The MM202 samples illustrate console applications, and simple Microsoft(R) Windows(R)-based applications developed under Windows NT(TM). The console samples include a moving train, a dropping ball, and a "Hello World" application. The simple Windows-based applications include an FM radio transmission application and a basic text editor. ANIMATE KEYWORDS: CD12; AfxAbort; AfxGetResourceHandle; AfxMessageBox; AfxRegisterWndClass; BitBlt; CArchive::Flush; CArchive::GetFile; CArchive::IsLoading; CArchive::IsStoring; CArchive::Read; CArchive::Write; CDC::Arc; CDC::CreateCompatibleDC; CDC::DeleteDC; CDC::DrawText; CDC::FillRect; CDC::GetClipBox; CDC::GetSafeHdc; CDC::IntersectClipRect; CDC::LineTo; CDC::MoveTo; CDC::RealizePalette; CDC::SelectClipRgn; CDC::SelectObject; CDC::SelectPalette; CDC::SetBkMode; CDC::SetTextColor; CFile::Close; CFile::Open; CFileDialog::DoModal; CFileDialog::GetPathName; CObList::AddTail; CObList::GetCount; CObList::GetHeadPosition; CObList::GetNext; CObList::GetPrev; CObList::GetTailPosition; CObList::IsEmpty; CObList::RemoveHead; CObList::RemoveTail; CRect::InflateRect; CRect::IntersectRect; CRect::UnionRect; CView::GetDocument; CreateBitmap; CreateCompatibleDC; CreateDIBSection; CreatePalette; DeleteDC; DeleteObject; DestroyWindow; FindResource; GetActiveWindow; GetClientRect; GetDC; GetDeviceCaps; GetNearestPaletteIndex; GetObject; GetPaletteEntries; GetPixel; GetProcAddress; GetSystemPaletteEntries; GetVersion; InvalidateRect; KillTimer; LOBYTE; LOWORD; LoadLibrary; LoadResource; LockResource; MAKEINTRESOURCE; OpenFile; PALETTEINDEX; RGB; RealizePalette; Rectangle; ReleaseDC; ResizePalette; SelectObject; SelectPalette; SetBkColor; SetDIBColorTable; SetPaletteEntries; SetSystemPaletteUse; SetTextColor; SetTimer; SizeofResource; StretchBlt; StretchDIBits; VirtualProtect; abort; free; malloc; mciGetErrorString; mciSendCommand; memcpy; memset; mmioAscend; mmioClose; mmioCreateChunk; mmioDescend; mmioFOURCC; mmioOpen; mmioRead; mmioWrite; sndPlaySound; sprintf; strcpy; strlen; waveInAddBuffer; waveInClose; waveInOpen; waveInPrepareHeader; waveInReset; waveInStart; waveInUnprepareHeader; waveOutClose; waveOutOpen; waveOutPrepareHeader; waveOutReset; waveOutUnprepareHeader; waveOutWrite BALL KEYWORDS: CD12; AfxGetResourceHandle; AfxRegisterWndClass; BitBlt; CDC::DrawText; CDC::Ellipse; CDC::FillRect; CDC::GetClipBox; CDC::LineTo; CDC::MoveTo; CDC::RealizePalette; CDC::SelectObject; CDC::SelectPalette; CDC::SetBkMode; CObList::AddHead; CObList::AddTail; CObList::GetHeadPosition; CObList::GetNext; CObList::GetPrev; CObList::GetTailPosition; CObList::InsertBefore; CObList::IsEmpty; CObList::RemoveAt; CRect::IntersectRect; CRect::PtInRect; CRect::UnionRect; CString::GetLength; CWinApp::InitInstance; CWnd::BeginPaint; CWnd::Create; CWnd::EndPaint; CWnd::GetDC; CWnd::InvalidateRect; CWnd::KillTimer; CWnd::OnCreate; CWnd::OnDestroy; CWnd::OnEraseBkgnd; CWnd::OnLButtonDown; CWnd::OnLButtonUp; CWnd::OnMouseMove; CWnd::OnPaint; CWnd::OnPaletteChanged; CWnd::OnQueryNewPalette; CWnd::OnSize; CWnd::OnTimer; CWnd::PostMessage; CWnd::PostNcDestroy; CWnd::ReleaseDC; CWnd::SetTimer; CreateFont; GdiFlush; GetDC; GetSystemMetrics; LoadCursor; MAKEINTRESOURCE; PALETTEINDEX; PALETTERGB; asin; cos; sin HELLO KEYWORDS: CD12; printf TAP KEYWORDS: CD12; AfxGetApp; AfxGetResourceHandle; AfxMessageBox; AfxRegisterWndClass; BitBlt; CArchive::Close; CArchive::IsStoring; CBrush::CreateSolidBrush; CButton::GetCheck; CButton::SetCheck; CCmdUI::Enable; CComboBox::AddString; CComboBox::GetCurSel; CComboBox::ResetContent; CComboBox::SetCurSel; CDC::Attach; CDC::BitBlt; CDC::DrawText; CDC::Ellipse; CDC::FillRect; CDC::GetTextMetrics; CDC::LineTo; CDC::MoveTo; CDC::RealizePalette; CDC::Rectangle; CDC::SelectObject; CDC::SelectPalette; CDC::SetBkMode; CDC::SetTextColor; CDialog::DoModal; CDialogBar::Create; CDocument::GetFirstViewPosition; CDocument::GetNextView; CDocument::OnNewDocument; CDocument::OnSaveDocument; CDocument::SetModifiedFlag; CDocument::UpdateAllViews; CFileDialog::DoModal; CFileDialog::GetFileTitle; CFileDialog::GetPathName; CFont::CreateFont; CFrameWnd::Create; CFrameWnd::LoadFrame; CFrameWnd::RecalcLayout; CGdiObject::CreateStockObject; CListBox::AddString; CListBox::GetCurSel; CListBox::SelectString; CListBox::SetCurSel; CMDIChildWnd::Create; CMDIChildWnd::MDIActivate; CObList::AddTail; CObList::Find; CObList::GetHeadPosition; CObList::GetNext; CObList::InsertBefore; CObList::IsEmpty; CObList::RemoveAt; CObList::RemoveHead; CObject::AssertValid; CObject::Dump; CObject::GetRuntimeClass; CObject::IsKindOf; CObject::Serialize; CPalette::GetNearestPaletteIndex; CRect::Height; CRect::InflateRect; CRect::IsRectEmpty; CRect::Width; CScrollBar::SetScrollPos; CScrollBar::SetScrollRange; CString::GetLength; CView::GetDocument; CView::OnUpdate; CWinApp::AddDocTemplate; CWinApp::EnableShellOpen; CWinApp::InitInstance; CWinApp::LoadStdProfileSettings; CWinApp::OnFileNew; CWinApp::OnIdle; CWinApp::OpenDocumentFile; CWinApp::RegisterShellFileTypes; CWinApp::SetDialogBkColor; CWnd::Attach; CWnd::ClientToScreen; CWnd::Create; CWnd::CreateEx; CWnd::DestroyWindow; CWnd::DoDataExchange; CWnd::EnableWindow; CWnd::GetClientRect; CWnd::GetDC; CWnd::GetDlgCtrlID; CWnd::GetDlgItem; CWnd::GetDlgItemInt; CWnd::GetDlgItemText; CWnd::GetParent; CWnd::GetParentFrame; CWnd::GetSafeHwnd; CWnd::GetScrollPos; CWnd::GetScrollRange; CWnd::GetSuperWndProcAddr; CWnd::GetWindowRect; CWnd::GetWindowText; CWnd::Invalidate; CWnd::InvalidateRect; CWnd::MoveWindow; CWnd::OnClose; CWnd::OnCreate; CWnd::OnDestroy; CWnd::OnDrawItem; CWnd::OnEraseBkgnd; CWnd::OnHScroll; CWnd::OnLButtonDown; CWnd::OnLButtonUp; CWnd::OnMeasureItem; CWnd::OnMouseMove; CWnd::OnMove; CWnd::OnPaint; CWnd::OnPaletteChanged; CWnd::OnQueryNewPalette; CWnd::OnSize; CWnd::OnVScroll; CWnd::PostMessage; CWnd::PostNcDestroy; CWnd::RedrawWindow; CWnd::ReleaseDC; CWnd::RepositionBars; CWnd::ScreenToClient; CWnd::SendMessage; CWnd::SendMessageToDescendants; CWnd::SetCapture; CWnd::SetDlgItemInt; CWnd::SetDlgItemText; CWnd::SetScrollPos; CWnd::SetScrollRange; CWnd::SetWindowPos; CWnd::SetWindowText; CWnd::ShowWindow; CWnd::SubclassWindow; CWnd::UpdateWindow; CWnd::WindowProc; CloseHandle; CreateMutex; CreateThread; DefWindowProc; DragAcceptFiles; DrawFocusRect; DrawText; ExtTextOut; FillRect; FindResource; FreeResource; GdiFlush; GetClassName; GetDC; GetDeviceCaps; GetLastError; GetNearestPaletteIndex; GetTextExtentPoint; GetTextMetrics; GetWindowRect; GlobalAlloc; GlobalFree; GlobalSize; InvertRect; LOBYTE; LineTo; LoadBitmap; LoadCursor; LoadResource; LockResource; MAKEINTRESOURCE; MAKELPARAM; MoveTo; PALETTEINDEX; PALETTERGB; QueryPerformanceCounter; QueryPerformanceFrequency; RGB; RegisterClass; RegisterWindowMessage; ReleaseCapture; ReleaseDC; ReleaseMutex; ResumeThread; ScreenToClient; SelectObject; SetWindowPos; SuspendThread; TerminateThread; WSACleanup; WSAGetLastError; WSAStartup; WaitForSingleObject; WideCharToMultiByte; atan; atan2; atof; atoi; bind; ceil; closesocket; connect; cos; fabs; gethostbyaddr; gethostbyname; gethostname; inet_ntoa; listen; log; log10; lstrlen; max; memcpy; memset; min; mmioAscend; mmioClose; mmioCreateChunk; mmioDescend; mmioFOURCC; mmioFlush; mmioOpen; mmioRead; mmioWrite; pow; rand; recv; send; setsockopt; sin; socket; sprintf; sqrt; sscanf; strcpy; strlen; strncmp; strncpy; va_end; va_start; vsprintf; waveInGetDevCaps; waveInGetNumDevs TEXT KEYWORDS: CD12; AfxMessageBox; CDialog::DoModal; CDocument::GetFirstViewPosition; CDocument::GetNextView; CDocument::OnNewDocument; CDocument::SetModifiedFlag; CEdit::LineIndex; CEdit::ReplaceSel; CEdit::SetSel; CEditView::GetEditCtrl; CFile::Close; CFile::Open; CFile::Read; CFileDialog::DoModal; CFileDialog::GetPathName; CObject::AssertValid; CObject::Dump; CObject::Serialize; CView::GetDocument; CView::OnDraw; CWinApp::AddDocTemplate; CWinApp::Enable3dControls; CWinApp::InitInstance; CWinApp::LoadStdProfileSettings; CWinApp::OnFileNew; CWnd::DoDataExchange; CWnd::OnCreate; CWnd::SetWindowText; strcat; strcpy TRAIN KEYWORDS: CD12; AfxGetResourceHandle; AfxRegisterWndClass; BitBlt; CDC::DrawText; CDC::Ellipse; CDC::FillRect; CDC::GetClipBox; CDC::LineTo; CDC::MoveTo; CDC::RealizePalette; CDC::SelectObject; CDC::SelectPalette; CDC::SetBkMode; CFont::CreateFont; CObList::AddHead; CObList::AddTail; CObList::Find; CObList::GetHeadPosition; CObList::GetNext; CObList::GetPrev; CObList::GetTailPosition; CObList::InsertBefore; CObList::IsEmpty; CObList::RemoveAt; CObject::AssertValid; CObject::Dump; CRect::IntersectRect; CRect::PtInRect; CRect::UnionRect; CString::GetLength; CWinApp::InitInstance; CWnd::BeginPaint; CWnd::Create; CWnd::EndPaint; CWnd::GetDC; CWnd::GetSafeHwnd; CWnd::InvalidateRect; CWnd::KillTimer; CWnd::OnCreate; CWnd::OnDestroy; CWnd::OnEraseBkgnd; CWnd::OnLButtonDown; CWnd::OnLButtonUp; CWnd::OnMouseMove; CWnd::OnPaint; CWnd::OnPaletteChanged; CWnd::OnQueryNewPalette; CWnd::OnSize; CWnd::OnTimer; CWnd::PostMessage; CWnd::PostNcDestroy; CWnd::ReleaseDC; CWnd::SetTimer; GdiFlush; GetDC; GetSystemMetrics; LoadCursor; MAKEINTRESOURCE; PALETTEINDEX; PALETTERGB; asin; cos; sin