大家好!!!
能否把光标变成从上到往下的输入格式(能横直输入的格式)????
谢谢!!!

解决方案 »

  1.   

    从做到右 是 WINDOWS默认风格 看看 BORLAND 底层的tcustomEdit的原代码
    然后重点看光标 剩下的事情就是 自己写 控件 重画光标方向!
      

  2.   

    CreateCursor
    The CreateCursor function creates a cursor having the specified size, bit patterns, and hot spot. HCURSOR CreateCursor(
      HINSTANCE hInst,         // handle to application instance
      int xHotSpot,            // horizontal position of hot spot
      int yHotSpot,            // vertical position of hot spot
      int nWidth,              // cursor width
      int nHeight,             // cursor height
      CONST VOID *pvANDPlane,  // pointer to AND bitmask array
      CONST VOID *pvXORPlane   // pointer to XOR bitmask array
    );
     
    // 注意中间四个为int类型的参数 应该时可以完成你的需要的
      

  3.   

    不好意思 偶弄错了刚去看了MSDN CEdit 好像没有这种属性
      

  4.   

    你应该需要
    自绘 Edit上的字 && 光标 
    字的问题楼主解决了么?