ba60.htm

来自「VB教程」· HTM 代码 · 共 43 行

HTM
43
字号
<HTML>
<HEAD>
<TITLE>让VB5支持动画光标</TITLE>
 
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
 
</head>
<p align="center"><script src="../../1.js"></script></a>
<BODY topMargin=4 vLink=#0000ff>
<TABLE border=0 cellPadding=0 cellSpacing=0 width="100%">
  <TBODY>
  <TR>
    <TD height="52"> 
      <DIV align=center>
      <CENTER>
          <table border=0 cellpadding=0 cellspacing=0 width=679 align="center">
            <tbody> 
            <tr> 
              <td width=200 height="59"> 
                 
    </TD></TR><!--msnavigation--></TBODY></TABLE>
<table border=0 cellpadding=0 cellspacing=0 width="100%">
  <tbody> 
  <tr><!--msnavigation--><td valign=top height="123"> 
      <div align=center> 
        <table border=1 bordercolor=#b9d9ff cellpadding=0 cellspacing=0 
      class=table width=755>
          <center>
            <tr> 
               
              <td width="100%" height="3">
                <div align="center"> <strong><big>让VB5支持动画光标</big></strong></span></div>
              </td>
            </tr>
            <tr> 
              <td 
            width="100%" class="unnamed1" height="124"> 
                <div align="left">
                  <p align="center">&nbsp;</p>
                  <p>&nbsp;&nbsp;&nbsp; <font size="-1" face="宋体">在VB5中,鼠标指针通常是由窗体或其他控件的MouseIcon 
                    属性来设置,但MouseIcon属性不支持彩色光标(*.cur)和动画光标(*.ani)。因此,要想在程序中使用上述光标,就不得不借助Windows 
                    中的API 函数Set—ClassLong ,该函数的功能是设置和修改窗体中某些属性的值,并返回该属性原来的值。<br>
                    &nbsp; 

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?