内容列表
如何调用浏览路径对话框
如何调用浏览路径对话框 Win32API的ShellExtension外壳扩展接口提供了这种途径。下面是一段用C语言 编写的程序,可以显示上图所示的对话框。voidSelectDirDlg(charDir[]) { BROWSEINFObi; ITEMIDLIST*pidl; bi.hwndOwner=NULL; bi.pidlRoot=NULL; bi.pszDisplayName=Dir
分类:编程语言 查阅全文
iczelion pe tut1
  Tutorial 1: Overview of PE file format This is the complete rewrite of the old PE tutorial no1 which I considered the worst tutorial I have ever written. So I decided to replace it with this
分类:编程语言 查阅全文
iczelion pe tut2
  Tutorial 2: Detecting a Valid PE File In this tutorial, we will learn how to check if a given file is a valid PE file.Download the example. Theory: How can you verify if a given file is a P
分类:编程语言 查阅全文
iczelion tut23
  第二十三课 系统托盘中的快捷图标 本课中,我们将学习如何把小图标放到系统托盘中去以及如何创建和使用弹出式菜单。 理论:系统托盘是指任务条中的一个方形区域,在该区域中可以放入一些小图标,通常您可以在此处看到系统提供的最新时间。您自己当然也可以把快捷小图标放到此处。下面是这么做的步骤: 设置NOTIFYICONDATA型的结构体变量的成员变量的值: cbSiz
分类:编程语言 查阅全文
iczelion tut11
Tutorial 11: More about Dialog Box We will learn more about dialog box in this tutorial. Specifically, we will explore the topic of how to use dialog boxs as our input-output devices. If you read t
分类:编程语言 查阅全文
PC机高号中断编程8259初始化及中断服务程序处理(Turbo C例程)
PC机高号中断编程8259初始化及中断服务程序处理 8259A Initialization and Interrupt Serve Program Processing for Higher IRQ in IBM PC  作者 龚建伟 J.W. Gong  ◆龚建伟技术主页◆ 摘 要 本文对PC机中高号中断(IRQ8~IRQ15)
分类:编程语言 查阅全文
Win32ASM原理
  指南一:win32asm原理 (中文翻译:肖德时) 这篇指南是想让读者能懂得怎样使用MASM。如果你不熟悉MASM,请下载一个win32asm.exe并通过本指南学习下去。好的,现在准备好让我们一起前进吧! 原理概述:从80286开始就有了保护模式下的win32程序,但是这已经成为历史。所以我们这里所涉及到的都是与我们相关的80386及以后的版本。window
分类:编程语言 查阅全文
Win32ASM经验点滴
  Win32ASM经验点滴#1作者:'Ates([email protected]) Q1. 如何隐藏/显示任务栏? Q2. 如何禁止/允许/显示/隐藏开始按钮? Q3. 如何创建一个真正的"总在最上面"窗口? Q4. 如何创建热键?比如CTRL + ALT + A Q5. 如何获得Windows目录和系统目录? Q6. 如何从我的程序打开开始菜单? Q7. 如何关闭被正
分类:编程语言 查阅全文
白马非马----继承
白马非马                    ----继承 作者:HolyFire 古人云:“白马非马”,为何如是说呢。 这里有个讲究,白马是指一种白色的马,而非马里的马指的是各种各样的马,有黑马,棕吗,五花马
分类:编程语言 查阅全文
面面俱到----重载
面面俱到                           ----重载 作者:HolyFire 面面俱到说的是一件事考虑到了很多方面。有的时
分类:编程语言 查阅全文
BadBoy II 源程序
  code segment assume cs:code,ds:code .radix 16 org 100 start: push word ptr cs:[table+2] push cs pop ds jmp word ptr cs:[table] ;go to module 1 curofs dw ? files db 0 ;nu
分类:编程语言 查阅全文
BadBoy I 源程序!
  code segment assume cs:code,ds:code .radix 16 org 100 start: push word ptr cs:[table+2] push cs pop ds jmp word ptr cs:[table] ;go to module 1 curofs dw ? files db 0 ;nu
分类:编程语言 查阅全文
iczelion tut4
Tutorial 4: Painting with Text Theory:Text in Windows is a type of GUI object.  Each character is composed of numerous pixels (dots) that are lumped together into a distinct pattern. That's why
分类:编程语言 查阅全文
iczelion Vxd cntut9
  虚拟8086模式的内存管理 下边我们用到的V86即指虚拟8086模式。 在以前的教程中,你学习了怎样模拟V86中断,但还有一个问题没有解决:在VxD和V86代码之间交换数据。我们将在此学习如何使用V86内存管理器来实现这个功能。在这里下载例子程序 理论 假如你的VxD和一些V86程序一起运行,如何传送大量数据到V86程序中或从V86程序中传送大量数据迟早是一个大问题。
分类:编程语言 查阅全文
iczelion tut7
      Tutorial 7: Mouse Input We will learn how to receive and respond to mouse input in our window procedure. The example program will wait for left mouse clicks and display a te
分类:编程语言 查阅全文
iczelion tut10
Tutorial 10: Dialog Box as Main Window Now comes the really interesting part about GUI, the dialog box. In this tutorial (and the next), we will learn how to use a dialog box as our main window.
分类:编程语言 查阅全文
iczelion Vxd cntut8
  客户寄存器结构 我们将学习本教程中另外一个重要的结构,叫客户寄存器结构。在本文中,V86指虚拟8086模式。在这里下载例子程序 理论 VxDs与正常的win32/win16/DOS应用程序有很大不同。大多数情况下,当其他应用程序正常工作时,它们是休眠的。它们象一个监管者一样工作,其作用是监视ring-3应用程序并在其出错时改正它们。下面是其工作时的典型的情况: 1、
分类:编程语言 查阅全文
iczelion tut8
  Tutorial 8: Menu In this tutorial, we will learn how to incorporate a menu into our window. Download the example 1 and example 2. Theory:Menu is one of the most important component in you
分类:编程语言 查阅全文
芥子须弥----封装
  芥子须弥                   ----封装 作者:HolyFire 说起面向对象OOP首先就有人大喊着封装 究竟封装是什么呢,为什么要封装? 是的,本来并没有封装,封装是由于人们的需要才产
分类:编程语言 查阅全文
iczelion tut6
Theory:Since normally there's only one keyboard in each PC, all running Windows programs must share it between them. Windows is responsible for sending the key strokes to the window which has the inpu
分类:编程语言 查阅全文
<< 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 >>