学习有关多重文-c嵌入式编程设计模式

时间:2024-07-14 15:01:02
【文件属性】:

文件名称:学习有关多重文-c嵌入式编程设计模式

文件大小:7.29MB

文件格式:PDF

更新时间:2024-07-14 15:01:02

windows 程序 窗口程序 c++

(MDI:multiple document interface),我们将在第十九章学习有关多重文 件介面的知识。 程式 16-23 DIBBLE DIBBLE.C /*-------------------------------------------------------------------------- - DIBBLE.C -- Bitmap and Palette Program (c) Charles Petzold, 1998 ---------------------------------------------------------------------------- -*/ #include #include "dibhelp.h" #include "dibpal.h" #include "dibconv.h" #include "resource.h" #define WM_USER_SETSCROLLS (WM_USER + 1) #define WM_USER_DELETEDIB (WM_USER + 2) #define WM_USER_DELETEPAL (WM_USER + 3) #define WM_USER_CREATEPAL (WM_USER + 4) LRESULT CALLBACK WndProc (HWND, UINT, WPARAM, LPARAM) ; TCHAR szAppName[] = TEXT ("Dibble") ; int WINAPI WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, PSTR szCmdLine, int iCmdShow) { HACCEL hAccel ; HWND hwnd ; MSG msg ;


网友评论