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

 

    摘要: 好像只能显示一个一个啊。 还有就是怎么让输入框的输入的查询的结果出现在另外一个form里边啊? ......
    摘要: 谢谢! ......


怎样禁用最大化按钮,或者除去最大化按钮

急,大虾执教!

NO.1   作者: yefanqiu

  Me.MaxButton   =   False

NO.2   作者: lihonggen0

禁止使用   alt+f4   关闭窗口  
  声明:  
   
   
  private   declare   function   getsystemmenu   lib   "user32"   alias   "getsystemmenu"    
  (byval   hwnd   as   long,   byval   brevert   as   long)   as   long  
  private   declare   function   deletemenu   lib   "user32"   (byval   hmenu   as   long,    
  byval   nposition   as   long,   byval   wflags   as   long)   as   long  
  private   declare   function   getmenuitemcount   lib   "user32"   (byval   hmenu   as    
  long)   as   long  
  private   const   mf_byposition   =   &h400&  
   
   
  使用:  
   
  private   sub   form_load()  
   
   
  dim   hwndmenu   as   long  
  dim   c   as   long  
  hwndmenu   =   getsystemmenu(me.hwnd,   0)  
  c   =   getmenuitemcount(hwndmenu)  
  deletemenu   hwndmenu,   c   -   1,   mf_byposition  
  c   =   getmenuitemcount(hwndmenu)  
  deletemenu   hwndmenu,   c   -   1,   mf_byposition  
  end   sub  
   
   
   
 


    摘要: 在sql中可以用select查询数据库的记录,在网页中如何实现与数据库的连接,查询记录? ......
» 本期热门文章:

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