🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: cn.bbs.comp.program
1 messages
1 total messages Started by �ϵ� Sun, 19 Apr 1998 00:00
vc����-1
#1179
Author: �ϵ�
Date: Sun, 19 Apr 1998 00:00
90 lines
8488 bytes
������: njhe (heҪ�Ʋ�), ����: RAD
��  ��: vc����-1
����վ: '3m�Ͻ�ɺ�m' (Fri Apr  3 13:52:14 1998) , վ���ż�

��  ��: VC С���� (ת��)                                                        
�� ��������ת���� program ������ ��                                             
�� ԭ���� lqwx ��� ��                                                        
                                                                                
--------------------------------------------------------------------------      
1. ������MFC��TOOLBAR�ϵİ�ť����WORD 6.0�����С����?                         
2. ���ʹ��GDI���Ƶ�Bitmap?                                                    
3. VC���ȥ��mainframe�˵�?                                                    
4. �����FORMVIEW�����CBitmpButton ��ť?                                      
5. �йض��߳�?                                                                 
6. ���ͨ��ڵ�Title�õ���Handle?                                            
7. ��VC�������ĵ�����ʱ���ʹ�ĵ�һ��ɾ���󻯣�                              
--------------------------------------------------------------------------      
�� CMyWinApp::OnIdle() �� �ж����λ��, ��ToolBar��ʱ��ʾһ�� Popup ����        
VC++ 2.0 �Ժ������Ѿ�ʵ�֣���VC++2.0 ֻ������ 32Bit ���򿪷���                
2. ���ʹ��GDI���Ƶ�Bitmap?                                                     
��GDI���������һ���ͼ����ʹ��CScrolView��ʾ����ӿ��ٶȱ����ػ棬ʹ��         
        �ü����豸��������һ��.                                                 
        1) ����һ����CScrolView�豸�����ļ��ݵ��豸������                       
        2) ����һ��ScrolSize��С�ļ���λͼ                                      
        3) ������λͼѡ������豸������                                         
        4) ��GDI�����ڼ����豸�����Ļ���                                        
        5) ���ػ�ʱ��BITBLT��������豸�����ĵ�λͼӳ�䵽CScrolView���ڵ�     
        5) ���ػ�ʱ��BITBLT��������豸�����ĵ�λͼӳ�䵽CScrolView���ڵ�     
3.  WINDOWSλͼ�ߵ��洢����ʾ�dz���ʲôĿ��?                                    
        �dz����û����ϵ��ԭ��.                                                 
5. ��������VC++1.5���ʱ��newһ��[512][512]�Ĵ����飬ȴ���Dz��У�               
        �������������ʮ�ֺ�,Ҫ������˴���ڴ������ȫ�ֵ��ڴ���亯��.        
--------------------------------------------------------------------------      
���MFC��һ�׶�������InitInstance()��Ա������ֱ�ӵ���                           
CMydialog dlg;                                                                  
dlg.DoModal ;                                                                   
CMydialog dlg;                                                                  
dlg.DoModal ;                                                                   
--------------------------------------------------------------------------    . 
6. ����VC1.0 ������FormView �����CBitmapButton ��ť��ͨ��CBitmaoButton         
����CDialog ����InitDialog()����CBitmapButton.AutoLoad()װ�룬��CBipmapButto.   
û����γ�Ա�����ڹ��캯���е���CBitmapButton.AutoLoad()������CBitmapBut    
����ʾʹ��Create()+LoadBitmaps()ȴ���ɹ���                                      
ϣ���λ�ܰ��æ��                                                              
  ��CFormView ���CBitmapButtom:                                              
          class CMainWindow : public CFrameWnd                                  
          {                                                                     
                private:                                                        
                                                                                
                private:                                                        
                    CBitmapButtom m_OpenButtom;                                 
                    CBitmapButtom m_SaveButtom;                                 
                    CBitmapButtom m_SaveButtom;                                 
                public:                                                         
                        ......                                                  
          int CMainWindow : OnCreate(LPREATESTRUCT)                             
          {                                                                     
                CRect rect;                                                     
                rect.SetRect(4,4,36.36);                                        
                m_OpenButtom.Create(NULL, WS_CHILD | WS_VISIBLE |               
BS_OWNERDRAW,                                                                   
                               rect, this, IDB_OPEN);                           
                ��������������                                                  
                return 0;                                                       
9. ���ʣ� ��VC�������ĵ�����ʱ���ʹ�ĵ�һ��ɾ���󻯣�                        
                                                                                
    ������õ���VC4.0,��ôֻҪ��CREATEʱ��ADVANCE��ѡ��MDI->MAXIMIZED.          
    ������õ���VC1.5,��ô�����������ص�OnInitUpdate��Ա�����м���:             
                                                                                
        CMDIChildWnd *pWnd=(CMDIChildWnd *)GetParentFrame();                    
        pWnd->MDIMaximize();                                                    
                                                                                
------------------------------------------------------------------------------. 
                                                                                
10. Windows����У��ܷ�ػ�Ӧ�ó����DLL�к���ĵ��ã�����ܣ���ΰ죿          
                                                                                
�õ�DLL�к����ָ����޸Ĵ���δ��룬�������Լ��ĺ���Ϳ�����             
                                                                                
                                                                                
------------------------------------------------------------------------------. 

--
��ϧһ�д�ۣ��ﵽ���������塣
��������߱����������߱��

m;36m�� ��Դ:���Ͻ�ɺ� bbs.njupt.edu.cn��[FROM: 202.119.236.104]m

--
�� ��Դ:���ϴ�С�ٺ���Ϣ����վ bbs.nju.edu.cn��[FROM: a507yjh.nju.edu]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads