资源简介

不获取焦点的虚拟键盘 也可以用来实现浮动窗效果

资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TextBoxWKeyBoard
{
    public static class Flags
    {
        [Flags]
        public enum Windowstyles : uint
        {
            WS_OVERLAPPED = 0x00000000
            WS_POPUP = 0x80000000
            WS_CHILD = 0x40000000
            WS_MINIMIZE = 0x20000000
            WS_VISIBLE = 0x10000000
            WS_DISABLED = 0x08000000
            WS_CLIPSIBLINGS = 0x04000000
            WS_CLIPCHILDREN = 0x02000000
            WS_MAXIMIZE = 0x01000000
            WS_BORDER = 0x00800000
            WS_DLGframe = 0x00400000
            WS_VSCROLL = 0x00200000
            WS_HSCROLL = 0x00100000
            WS_SYSMENU = 0x00080000
            WS_THICKframe = 0x00040000
            WS_GROUP = 0x00020000
            WS_TABSTOP = 0x00010000

            WS_MINIMIZEBOX = 0x00020000
            WS_MAXIMIZEBOX = 0x00010000

            WS_CAPTION = WS_BORDER | WS_DLGframe
            WS_TILED = WS_OVERLAPPED
            WS_ICONIC = WS_MINIMIZE
            WS_SIZEBOX = WS_THICKframe
            WS_TILEDWINDOW = WS_OVERLAPPEDWINDOW

            WS_OVERLAPPEDWINDOW = WS_OVERLAPPED | WS_CAPTION | WS_SYSMENU | WS_THICKframe | WS_MINIMIZEBOX | WS_MAXIMIZEBOX
            WS_POPUPWINDOW = WS_POPUP | WS_BORDER | WS_SYSMENU
            WS_CHILDWINDOW = WS_CHILD

            //Extended Window styles

            WS_EX_DLGMODALframe = 0x00000001
            WS_EX_NOPARENTNOTIFY = 0x00000004
            WS_EX_TOPMOST = 0x00000008
            WS_EX_ACCEPTFILES = 0x00000010
            WS_EX_TRANSPARENT = 0x00000020

            //#if(WINVER >= 0x0400)

            WS_EX_MDICHILD = 0x00000040
            WS_EX_TOOLWINDOW = 0x00000080
            WS_EX_WINDOWEDGE = 0x00000100
            WS_EX_CLIENTEDGE = 0x00000200
            WS_EX_CONTEXTHELP = 0x00000400

            WS_EX_RIGHT = 0x00001000
            WS_EX_LEFT = 0x00000000
            WS_EX_RTLREADING = 0x00002000
            WS_EX_LTRREADING = 0x00000000
            WS_EX_LEFTSCROLLBAR = 0x00004000
            WS_EX_RIGHTSCROLLBAR = 0x00000000

            WS_EX_CONTROLPARENT = 0x00010000
            WS_EX_STATICEDGE = 0x00020000
            WS_EX_APPWINDOW = 0x00040000

            WS_EX_OVERLAPPEDWINDOW = (WS_EX_WINDOWEDGE | WS_EX_CLIENTEDGE)
            WS_EX_PALETTEWINDOW = (WS_EX_WINDOWEDGE | WS_EX_TOOLWINDOW | WS_EX_TOPMOST)

            //#endif /* WINVER >= 0x0400 */

            //#if(WIN32WINNT >= 0x0500)

            WS_EX_layerED = 0x00080000

            //#endif /* WIN32WINNT >= 0x0500 */

            //#if(WINVER >= 0x0500)

            WS_EX_NOINHERITLAYOUT = 0x00100000 // Disable inheritence of mirroring by children
            WS_EX_LAYOUTRTL = 0x00400000 // Right to left mirroring

            //#endif /* WINVER >= 0x0500 */

            //#if(WIN32WINNT >= 0x

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2010-04-09 19:35  TextBoxWKeyBoard\
     目录           0  2010-04-09 19:08  TextBoxWKeyBoard\bin\
     目录           0  2010-04-09 00:52  TextBoxWKeyBoard\bin\Debug\
     文件       11264  2010-04-09 19:35  TextBoxWKeyBoard\bin\Debug\TextBoxWKeyBoard.dll
     文件        3173  2010-04-09 00:51  TextBoxWKeyBoard\Flags.cs
     文件        2361  2010-04-09 19:34  TextBoxWKeyBoard\HoverKeyboard.cs
     文件        2336  2010-04-09 19:35  TextBoxWKeyBoard\HoverNumPad.cs
     文件        3734  2010-04-09 19:32  TextBoxWKeyBoard\MessageFilter.cs
     目录           0  2010-04-09 00:40  TextBoxWKeyBoard\Properties\
     文件        1444  2010-04-09 00:40  TextBoxWKeyBoard\Properties\AssemblyInfo.cs
     文件        4330  2010-04-09 19:14  TextBoxWKeyBoard\TextBoxWKeyBoard.cs
     文件        2918  2010-04-09 19:11  TextBoxWKeyBoard\TextBoxWKeyBoard.csproj
     目录           0  2010-04-09 19:38  TextBoxWKeyBoard_DEMO\
     目录           0  2010-04-09 00:50  TextBoxWKeyBoard_DEMO\bin\
     目录           0  2010-04-09 00:52  TextBoxWKeyBoard_DEMO\bin\Debug\
     文件       11264  2010-04-09 19:35  TextBoxWKeyBoard_DEMO\bin\Debug\TextBoxWKeyBoard.dll
     文件       30208  2010-04-09 19:35  TextBoxWKeyBoard_DEMO\bin\Debug\TextBoxWKeyBoard.pdb
     文件        9216  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\bin\Debug\TextBoxWKeyBoard_DEMO.exe
     文件       26112  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\bin\Debug\TextBoxWKeyBoard_DEMO.pdb
     文件       14328  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\bin\Debug\TextBoxWKeyBoard_DEMO.vshost.exe
     文件         490  2009-06-10 16:14  TextBoxWKeyBoard_DEMO\bin\Debug\TextBoxWKeyBoard_DEMO.vshost.exe.manifest
     文件         904  2010-04-09 19:38  TextBoxWKeyBoard_DEMO\Form1.cs
     文件        4511  2010-04-09 19:38  TextBoxWKeyBoard_DEMO\Form1.Designer.cs
     文件        5814  2010-04-09 19:38  TextBoxWKeyBoard_DEMO\Form1.resx
     目录           0  2010-04-09 00:50  TextBoxWKeyBoard_DEMO\obj\
     目录           0  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\obj\Debug\
     文件        4569  2010-04-09 19:35  TextBoxWKeyBoard_DEMO\obj\Debug\ResolveAssemblyReference.cache
     目录           0  2010-04-09 00:50  TextBoxWKeyBoard_DEMO\obj\Debug\TempPE\
     文件        1360  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\obj\Debug\TextBoxWKeyBoard_DEMO.csproj.FileListAbsolute.txt
     文件         847  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\obj\Debug\TextBoxWKeyBoard_DEMO.csproj.GenerateResource.Cache
     文件        9216  2010-04-09 19:39  TextBoxWKeyBoard_DEMO\obj\Debug\TextBoxWKeyBoard_DEMO.exe
............此处省略13个文件信息

评论

共有 条评论