好湿?好紧?好多水好爽自慰,久久久噜久噜久久综合,成人做爰A片免费看黄冈,机机对机机30分钟无遮挡

主頁 > 知識庫 > A notepad made in HTA(hta實現的記事本)

A notepad made in HTA(hta實現的記事本)

熱門標簽:徐州天音防封電銷卡 佛山防封外呼系統收費 不錯的400電話辦理 南昌辦理400電話怎么安裝 哈爾濱外呼系統代理商 獲客智能電銷機器人 湛江電銷防封卡 鄭州智能外呼系統運營商 電話機器人適用業務
This notepad can handle bigger files than the one shiped with Win9x.
Learn how to make windows looking interfaces in HTML.
Interesting use of Commondialogs.

效果圖:


復制代碼 代碼如下:

html>head>

HTA:APPLICATION
 APPLICATIONNAME="HTANotePad" ID="oHTA" BORDER="thick"
 BORDERSTYLE="normal" CAPTION="yes" CONTEXTMENU="yes"
 INNERBORDER="no" MAXIMIZEBUTTON="yes" MINIMIZEBUTTON="yes"
 NAVIGABLE="yes"
 ICON="NOTEPAD.EXE" SCROLL="no" SCROLLFLAT="no"
 SELECTION="no" SHOWINTASKBAR="yes" SINGLEINSTANCE="no"
 SYSMENU="yes" VERSION="0.3" WINDOWSTATE="normal">

STYLE TYPE="text/css">
!--
BODY { xfont-family: "Verdana, Arial, Helvetica, sans-serif";
  font:menu;
  background-color:Menu;
  color:MenuText;
  xfont-size: 8pt;
  cursor:default; //auto, text, pointer
 }
TABLE { xfont-family:"Arial";
  xfont-size:8pt;
  font:menu;
  padding:0pt;
  border:0pt;
  FILTER: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=90);
 }
IFrame { height:expression(document.body.clientHeight-MenuTable.clientHeight);
  width:100%;
 }
TD { border:"1px solid Menu";}
.submenu {position:absolute;top=20;
  background-color:Menu;
  border="2px outset";}
.MenuIn  {border:'1px inset';}
.Menuover {border:'1px outset';}
.Menuout {border:'1px solid';}
.Submenuover {background-color:highlight;color:highlighttext;}
.Submenuout {background-color:Menu;color:MenuText;}
-->
/STYLE>

script language=vbscript>
option explicit
Dim FileName,fModif,LastChildMenu,LastMenu
fModif=False 'Not modified
DisplayTitle
Set LastChildMenu=Nothing
Set LastMenu=Nothing
Sub DisplayTitle
 If FileName="" Then
  document.Title="sans titre - " oHTA.ApplicationName
 Else
  document.Title=FileName " - " oHTA.ApplicationName
 End If
End Sub

'''''''''''''''''''
' File management '
'''''''''''''''''''
Sub SaveAs
 Dim oDLG
 Set oDLG=CreateObject("MSComDlg.CommonDialog")
 With oDLG
  .DialogTitle="SaveAs"
  .Filter="Scripts|*.vbs;*.hta;*.wsf;*.js|Text Files|*.txt|All files|*.*"
  .MaxFileSize=255
  .ShowSave
  If .FileName>"" Then
   FileName=.FileName
   Save
  End If
 End With
 Set oDLG=Nothing
 DisplayTitle
End Sub
Sub Save()
 Dim fso,f
 If FileName>"" Then
  Set fso=CreateObject("Scripting.FileSystemObject")
  Set f=fso.CreateTextFile(FileName,True)
  f.Write MyFrame.MyText.Value
  f.Close
  Set f=Nothing
  Set fso=Nothing
 Else
  SaveAs
 End If
End Sub
Sub OpenIt
 Dim fso,f
 Set fso=CreateObject("Scripting.FileSystemObject")
 Set f=fso.OpenTextFile(FileName,1)
 MyFrame.MyText.Value=f.ReadAll
 f.close
 Set f=Nothing
 Set fso=Nothing
 DisplayTitle
End Sub
Sub Open()
 If fModif Then
  Select Case Msgbox("The text in the file " FileName " has been changed." _
    vbCrLf "Do you want to save the changes ?",51,oHTA.ApplicationName)
  Case 6 'Yes
   Save
  Case 7 'No
  Case 2 'Cancel
   Exit Sub
  End Select
 End If
 Dim oDLG
 Set oDLG=CreateObject("MSComDlg.CommonDialog")
 With oDLG
  .DialogTitle="Open"
  .Filter="Scripts|*.vbs;*.hta;*.wsf;*.js|Text Files|*.txt|All files|*.*"
  .MaxFileSize=255
  .Flags=.Flags Or H1000 'FileMustExist (OFN_FILEMUSTEXIST)
  .ShowOpen
  If .FileName>"" Then
   FileName=.FileName
   OpenIt
  End If
 End With
 Set oDLG=Nothing
End Sub
Sub NewText
 If fModif Then
  Select Case Msgbox("The text in the file " FileName " has been changed." _
    vbCrLf "Do you want to save the changes ?",51,oHTA.ApplicationName)
  Case 6 'Yes
   Save
  Case 7 'No
  Case 2 'Cancel
   Exit Sub
  End Select
 End If
 MyFrame.MyText.Value=""
 FileName=""
 DisplayTitle
End Sub

'''''''''''''''
' Drag Drop '
'''''''''''''''
Sub ChangeIFrame
 'We use an Iframe to allow DragDrop
 MyFrame.Document.Body.InnerHTML="textarea ID=MyText WRAP=OFF onChange" _
  "='vbscript:parent.fModif=True' onclick='vbscript:parent.HideMenu' " _
  "style='width:100%;height:100%'>/textarea>"
 With MyFrame.Document.Body.Style
  .marginleft=0
  .margintop=0
  .marginright=0
  .marginbottom=0
 End With
 With MyFrame.MyText.Style
  .fontfamily="Fixedsys, Verdana, Arial, sans-serif"
  '.fontsize="7pt"
 End With
 Select Case UCase(MyFrame.location.href)
 Case "ABOUT:BLANK"
  FileName=""
 Case Else
  FileName=Replace(Mid(MyFrame.location.href,9),"/","\") 'suppress file:///
  OpenIt
 End Select
End Sub

'''''''''''''''''''
' Menu management '
'''''''''''''''''''
Sub ShowSubMenu(Parent,Child)
 If Child.style.display="block" Then
  Parent.classname="Menuover"
  Child.style.display="none"
  Set LastChildMenu=Nothing
 Else
  Parent.classname="Menuin"
  Child.style.display="block"
  Set LastChildMenu=Child
 End If
 Set LastMenu=Parent
End Sub
Sub MenuOver(Parent,Child)
 If LastChildMenu is Nothing Then
  Parent.className="MenuOver"
 Else
  If LastMenu is Parent Then
   Parent.className="MenuIn"
  Else
   HideMenu
   ShowSubMenu Parent,Child
  End If
 End If
End Sub
Sub MenuOut(Menu)
 If LastChildMenu is Nothing Then Menu.className="MenuOut"
End Sub
Sub HideMenu
 If Not LastChildMenu is Nothing Then
  LastChildMenu.style.display="none"
  Set LastChildMenu=Nothing
  LAstMenu.classname="Menuout"
 End If
End Sub
Sub SubMenuOver(Menu)
 Menu.className="SubMenuOver"
 'LastMenu.classname="Menuin"
End Sub
Sub SubMenuOut(Menu)
 Menu.className="SubMenuOut"
End Sub

/script>
/head>

body leftmargin=0 topmargin=0 rightmargin=0>
TABLE id=MenuTable>TR>
 TD onclick='ShowSubMenu Me,MyFileMenu'
  onmouseover='MenuOver Me,MyFileMenu'
  onmouseout='MenuOut Me'> File /TD>
 TD onclick='ShowSubMenu Me,MyEditMenu'
  onmouseover='MenuOver Me,MyEditMenu'
  onmouseout='MenuOut Me'> Edit /TD>
 TD onclick='ShowSubMenu Me,MyFindMenu'
  onmouseover='MenuOver Me,MyFindMenu'
  onmouseout='MenuOut Me'> Find /TD>
 TD onclick='ShowSubMenu Me,MyHelpMenu'
  onmouseover='MenuOver Me,MyHelpMenu'
  onmouseout='MenuOut Me'> ? /TD>
 TD onclick="HideMenu" width=100% border=2>/TD>
 /TR>/TABLE>
TABLE ID=MyFileMenu class=submenu style="left=2;display:none;">TR>
 TD onclick="HideMenu:NewText"
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'> New/TD>/TR>
 TR>TD onclick="HideMenu:open"
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'> Open/TD>/TR>
 TR>TD onclick="HideMenu:save"
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'> Save/TD>/TR>
 TR>TD onclick="HideMenu:saveAs"
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'> Save As/TD>/TR>
 TR>TD>HR>/TD>/TR>
 TR>TD onclick="HideMenu:window.close"
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'> Quit/TD>/TR>
 /TABLE>
TABLE ID=MyEditMenu class=submenu style="left=30;display:none;">TR>
 TD>HR width=50px>/TD>/TR>
 /TABLE>
TABLE ID=MyFindMenu class=submenu style="left=60;display:none;">TR>
 TD>HR width=50px>/TD>/TR>
 /TABLE>
TABLE ID=MyHelpMenu class=submenu style="left=90;display:none;">TR>
 TD onclick='HideMenu:msgbox "No help available yet;under construction ;=)"'
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'>Help/TD>/TR>
 TR>TD onclick='HideMenu:CreateObject("MSComDlg.CommonDialog").AboutBox'
  onmouseover='Submenuover Me'
  onmouseout='Submenuout Me'>About/TD>/TR>
 /TABLE>

iframe id=MyFrame application=yes scrolling=no onload="ChangeIFrame">/iframe>

script language=vbscript>
'We can handle a file as a parameter to this HTA
Dim x
FileName=Trim(oHTA.CommandLine)
x=Instr(2,FileName,"""")
If x=Len(FileName) Then
 FileName="" 'No File Loaded
Else
 FileName=Trim(Mid(FileName,x+1))
 OpenIt
End If
/script>
/body>/html>

您可能感興趣的文章:
  • 怎么運行用記事本寫的java程序
  • 使用Java制作一個簡單的記事本
  • 使用記事本編寫java程序全過程圖解
  • 簡單記事本java源碼實例
  • VB簡易記事本實現代碼
  • EXTJS記事本 當CompositeField遇上RowEditor
  • Excel、記事本數據導入到數據庫的實現方法
  • python3.5使用tkinter制作記事本
  • Python基于Tkinter實現的記事本實例
  • Android實現記事本功能(26)

標簽:廣西 呂梁 安康 紹興 蕪湖 吉安 懷化 蘭州

巨人網絡通訊聲明:本文標題《A notepad made in HTA(hta實現的記事本)》,本文關鍵詞  notepad,made,HTA,hta,實現,的,;如發現本文內容存在版權問題,煩請提供相關信息告之我們,我們將及時溝通與處理。本站內容系統采集于網絡,涉及言論、版權與本站無關。
  • 相關文章
  • 下面列出與本文章《A notepad made in HTA(hta實現的記事本)》相關的同類信息!
  • 本頁收集關于A notepad made in HTA(hta實現的記事本)的相關信息資訊供網民參考!
  • 推薦文章
    主站蜘蛛池模板: 日本jizz视频| 总裁奴跪爬任人玩弄h| 国产名模和摄影师私拍视频 | 91免费精品视频| 性姿势(图片)| 欧洲VI秘?一区二区三区| 极品丝袜系李雨扬列txt| 亚洲步兵一区二区三区| 中国?人妻HDbute熟睡| 都市婬乱激情肉欲小说| 欧美任你躁免费精品一区 | ???自慰调教av大师| 国产一国产一级毛片视瓶| 国内精品久久久久小说网| 国产极品熟女沙发内射AV| 91啦国产| 校花的粉嫩小泬喷牛奶 | FREE嫩白18SEX性HD处| 天堂网中文在线最新版| 被?到爽??流片视频| 亚洲乱码一区二区| 欧洲女人性开放视频 - 百度| 欧美艹| chinese帅男gay野外性| 久热中文字幕在线精品首页| 国产全肉乱妇杂乱视频| 秋霞手机伦理电影| 成色好的y31| 羞羞片在线观看免费| 婬乱的护士HD在线观看| 九九热亚洲精品综合视频| 亚洲精品嫩草研究院久久| 久久狠狠婷婷丁香香蕉| 91亚洲国产在人线播放午夜| 可以看女人隐私的app| 国产精品虐乳在线播放| 99精品在线视频| 口述他用舌头让我高潮全过程| 中文字幕乱码人妻二区三区| 最好的观看2018中文| 国产成人手机在线|