当前位置:首页
开发技术指南» 文章正文
    引言:
 

 

 ·用户sys与system有何区别    »显示摘要«
    摘要: 各位前辈我是个超级才鸟,今日初来报道,日后还往多多指教。 谢谢各位! 我装的是oracle9.2,在启动sqlplus连接数据库,使用sys用户,会提示 error: ora-28009: connection to sys should be as sysdba or sysoper 而使用system就可以,两个用户不都是安装时设定的吗,口令肯定是正确的,所以想请问是何缘故?或者二者有......
    摘要: ids_string_test = "test string!"; cstring str = ""; for (int i=0; i < 6; i++) { str.loadstring(ids_string_test); str.format("%s%d",_t(str), i ); m_cmbdropdown.a......


怎样实现 像window的 “查找文件" 那样有两个窗格(左右两个)

用多窗体实现!!比较急]

NO.1   作者: 5653325

把form分解成两个部分,各自完成各自的功能。

NO.2   作者: WQ771211

用API  
  SetParent函数可以把一个form放到另外一个form中

NO.3   作者: rainstormmaster

用treeview结合listview

NO.4   作者: cuizm

Option   Explicit  
   
  Private   Declare   Function   SetCapture   Lib   "user32"   (ByVal   hwnd   As   Long)   As   Long  
  Private   Declare   Function   ReleaseCapture   Lib   "user32"   ()   As   Long  
   
  在窗口上加三个PICTUREBOX控件,其中一个改名为   picSplit  
  Private   Sub   Form_Load()  
          Picture1.Left   =   60  
          Picture1.   =   60  
          Picture2.   =   60  
          picSplit.Left   =   Picture1.Left   +   Picture1.Width   +   30  
          picSplit.Width   =   60  
          picSplit.BorderStyle   =   0  
          Picture2.Left   =   picSplit.Left   +   picSplit.Width   +   50  
          Picture1.Height   =   5700  
          Picture2.Height   =   5700  
          picSplit.   =   60  
          picSplit.Height   =   5700  
          picSplit.MousePointer   =   vbSizeWE  
          Dim   s   As   New   ScriptControl  
   
          s.Language   =   "vbscript"  
          MsgBox   s.Eval("(8+10)/2")  
   
  End   Sub  
   
  Private   Sub   picSplit_MouseDown(Button   As   Integer,   Shift   As   Integer,   x   As   Single,   y   As   Single)  
  On   Error   Resume   Next  
          If   Button   =   vbLeftButton   Then  
                  SetCapture   picSplit.hwnd  
                  picSplit.Tag   =   x  
                  picSplit.BackColor   =   &HFF8080  
          End   If  
  End   Sub  
   
  Private   Sub   picSplit_MouseMove(Button   As   Integer,   Shift   As   Integer,   x   As   Single,   y   As   Single)  
  On   Error   Resume   Next  
          If   Button   =   vbLeftButton   Then  
                  If   picSplit.Left   >=   (100   -   x)   And   picSplit.Left   <=   (Me.ScaleWidth   -   100   -   x)   Then   picSplit.Left   =   picSplit.Left   +   x   -   CInt(picSplit.Tag)  
          End   If  
  End   Sub  
   
  Private   Sub   picSplit_MouseUp(Button   As   Integer,   Shift   As   Integer,   x   As   Single,   y   As   Single)  
  On   Error   Resume   Next  
          If   Button   =   vbLeftButton   Then  
                  Picture1.Width   =   picSplit.Left   -   80  
                  Picture2.Left   =   picSplit.Left   +   50  
                  Picture2.Width   =   Width   -   Picture1.Width   -   4  
                   
                  picSplit.BackColor   =   &H8000000F  
                  ReleaseCapture  
          End   If  
  End   Sub  
 


    摘要: *概要   atl的封装函数iconnectionpointimplmt<t, piid, cdv>::getinterfaceat(int nconnectionindex)在其内部调用iglobalinterfacetable::getinterfacefromglobal(dword dwcookie, refiid riid,void **ppv)时发生内存泄漏,原at......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE