亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? winprog.html

?? a collection of mega hacking tools
?? HTML
?? 第 1 頁 / 共 5 頁
字號:
<html>
<head>
        <title>Windows Programming Tutorial</title>
        <style type="text/css">
        <!--
		a:active  {text-decoration: none}
        a:hover   {color:#ffffff;
                   text-decoration:none}
        a:link    {text-decoration:none}
        a:visited {text-decoration:none}
        td        {font-family:verdana,arial,helvetica,sans-serif;
                   font-size:8pt}
        body      {font-family:verdana,arial,helvetica,sans-serif;
                   font-size:8pt}
        -->
        </style>
</head>
<body alink="#ffcc00" bgcolor="#000000" link="#ff9900" text="#a7a7a7" vlink="#ff9900">
<font face="arial" size="3">
<font size="6"><center>Windows Programming Tutorial</center></font>
<font size="4"><center>By: <a href="mailto:aztek@box.sk">AZTEK</a></center></font><br><br>
<font size="4">Contents</font><br><br>
<ul>
  <a href="#1"><li><b>1. Basics</a></b></li>
  <ul>
    <a href="#1_1"><li>1.1 Introduction</li></a>
    <a href="#1_2"><li>1.2 Simple Message</li></a>
    <a href="#1_3"><li>1.3 Simple Window</li></a>
    <a href="#1_4"><li>1.4 Text</li></a>
    <a href="#1_5"><li>1.5 Menus</li></a>
    <ul>
      <a href="#1_5_1"><li>1.5.1 Resources</li></a>
      <a href="#1_5_2"><li>1.5.2 On The Spot</li></a>
    </ul>
    <a href="#1_6"><li>1.6 Dialogs</li></a>
    <a href="#1_7"><li>1.7 Controls</li></a>
  </ul>
  <a href="#2"><li><b>2. Intermediate</b></li></a>
  <ul>
    <a href="#2_1"><li>2.1 Bitmaps</li></a>
    <ul>
      <a href="#2_1_1"><li>2.1.1 Resource</li></a>
      <a href="#2_1_2"><li>2.1.2 From a File</li></a>
    </ul>
    <a href="#2_2"><li>2.2 System Tray</li></a>
    <a href="#2_3"><li>2.3 Toolbars</li></a>
	<ul>
      <a href="#2_3_1"><li>2.3.1 Custom Buttons</li></a>
      <a href="#2_3_2"><li>2.3.2 Common Buttons</li></a>
	</ul>
    <a href="#2_4"><li>2.4 Statusbars</li></a>
  </ul>
  <a href="#A"><li><b>Appendix</b></li></a>
  <ul>
    <a href="#A_A"><li>A The Compiler</li></a>
    <a href="#A_B"><li>B Tools</li></a>
    <a href="#A_C"><li>C Links</li></a>
	<a href="#A_D"><li>D Shoutouts</li></a>
  </ul>
</ul>
<br>
<font size="5"><b><a name="1">1. Basics</a></b></font><br><br>
<font size="4"><b><a name="1_1">1.1 Introduction</a></b></font><br><br>
<p>First off if you are reading this tutorial, I am going to assume a few things.
Because windows programming is &quot;more advanced&quot; than console programming
I am going to have to assume you have a good grasp on C/C++. You need to know what
#include's are and how to use them, you need to know how to use arrays and pointers,
you need to know how to use switch() and case's, and you need to know what a typedef
is. These are things this tutorial will not cover. I will format my code to my style,
this to make it easier for me and you to read.</p>
<p>You are also going to need a C/C++ Compiler that supports Windows API. I used
Borlands Free C/C++ 5.5 Compiler to compile all of these examples, basically because
I am to cheap to get Microsoft Visual C++ and Borland is free alternative. For information
on getting a free compiler see the <a href="#A_B">Tools Appendix</a>. For information
on how to compile windows programs with the compiler see the <a href="#A_A">Compiler
Section</a>.</p>
<p>I like to look at the code and compiled examples before I go over what it all
means so after each example I will go over the code to clarify what it means.</p>
<font size="4"><b><a name="1_2">1.2 Simple Message</a></b></font><br>
<font size="2"><a href="http://blacksun.box.sk/aztek/winprog/examples/section_1_2.zip">Source</a> - <a href="http://blacksun.box.sk/aztek/winprog/images/section_1_2.gif">Screen Shot</a><br><br></font>
This first example is here just to make sure that your compiler does support windows.<br><br>
<table border="0" cellpadding="5" bgcolor="#26343e" align="center">
<tr>
   <td nowrap>
   <tt>
   #include &lt;windows.h><br>
   <br>
   int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MessageBox (NULL, "Hello World" , "Hello", 0);<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return 0;<br>
   }
   </tt>
   </td>
</tr>
</table><br><br>
<p>Put that code in a test file and compile it, any errors you get consult your
compilers help files. Now lets go through the code.<br>
<br>
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)<br>
<br>
WinMain() is the windows equivalent of main() in DOS and UNIX. This is where the
program starts. WinMain() takes the following parameters:<br>
<br>
<dl>
  <dt>hInstance</dt>
  <dd>Identifies the programs current instance (the programs place in the memory)</dd>
  <dt>hPrevInstance</dt>
  <dd>Identifies the previous instance of the application. For a Win32-based application, this parameter is always NULL.</dd>
  <dt>lpCmdLine</dt>
  <dd>All of the command-line arguments in a string (does not include the program name)</dd>
  <dt>nCmdShow</dt>
  <dd>A value that can be passed to ShowWindow()</dd>
</dl><br><br>
Many of the keywords and types have windows specific definitions, like UINT is unsigned
int and LPSTR is char *, this is intended to increase portability. If you are more
comfortable using char * instead of LPSTR, feel free to do so.<br>
<br>
MessageBox() is the function that pops up a message box, hence the name. MessageBox()
takes the following parameters:<br>
<br>
<dl>
  <dt>hWnd</dt>
  <dl>Identifies the owner window of the message box to be created. If this parameter is NULL, the message box has no owner window.</dl>
  <dt>lpText</dt>
  <dl>This is the text contained in the window.</dl>
  <dt>lpCaption</dt>
  <dl>This is the text contained in the titlebar of the window.</dl>
  <dt>uType</dt>
  <dl>This is the style of the message box (like if its an error, warning, etc. and what buttons should appear. Setting this to 0 will add no icon and just a Ok button)</dl>
</dl></p>
<font size="4"><b><a name="1_3">1.3 Simple Window</a></b></font><br>
<font size="2"><a href="http://blacksun.box.sk/aztek/winprog/examples/section_1_3.zip">Source</a> - <a href="http://blacksun.box.sk/aztek/winprog/images/section_1_3.gif">Screen Shot</a><br><br></font>
On of the first questions that plagues a new windows programmer is &quotHow Do
I make A Window?&quot; Well I am afraid that the answer is not entirely simple.
Here is the source for a simple window.<br><br>
<table border="0" cellpadding="5" bgcolor="#26343e" align="center">
<tr>
   <td nowrap>
   <tt>
   #include &lt;windows.h><br>
   <br>
   LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM);<br>
   <br>
   static char gszClassName[] &nbsp;= &quot;MyWindowClass&quot;;<br>
   static HINSTANCE ghInstance = NULL;<br>
   <br>
   int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) {<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WNDCLASSEX WndClass;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;HWND hwnd;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MSG Msg;<br>
   <br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ghInstance = hInstance;<br>
   <br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.cbSize &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= sizeof(WNDCLASSEX);<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.style &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= NULL;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.lpfnWndProc &nbsp;&nbsp;= WndProc;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.cbClsExtra &nbsp;&nbsp;&nbsp;= 0;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.cbWndExtra &nbsp;&nbsp;&nbsp;= 0;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.hInstance &nbsp;&nbsp;&nbsp;&nbsp;= ghInstance;<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.hIcon &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= LoadIcon(NULL, IDI_APPLICATION);<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.hCursor &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;= LoadCursor(NULL, IDC_ARROW);<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);<br>
   &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;WndClass.lpszMenuName &nbsp;= NULL;<br>

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级久久久久久久大片| 日韩高清不卡一区二区三区| 国产欧美一区视频| 亚洲精品一区二区三区四区高清| 欧美一区二区在线不卡| 欧美怡红院视频| 欧美老肥妇做.爰bbww视频| 欧美日韩国产三级| 欧美日韩国产美女| 欧美高清视频一二三区 | 欧美男男青年gay1069videost | 欧美日韩综合在线免费观看| 欧美日韩国产免费| 日韩欧美在线一区二区三区| 精品国产伦理网| 中文字幕精品在线不卡| √…a在线天堂一区| 亚洲综合视频在线| 欧美aaa在线| 国产高清不卡二三区| 成人国产精品免费观看视频| 91美女蜜桃在线| 欧美日韩国产首页| ww亚洲ww在线观看国产| 国产丝袜美腿一区二区三区| 亚洲特级片在线| 亚洲一级二级三级| 美女国产一区二区三区| 国产一区二区三区久久久| 9久草视频在线视频精品| 欧美中文字幕一区二区三区| 欧美一级在线免费| 国产精品免费看片| 一区二区国产盗摄色噜噜| 奇米777欧美一区二区| 粉嫩绯色av一区二区在线观看| 色婷婷国产精品| 欧美一区二区三区在| 国产日韩亚洲欧美综合| 亚洲影视在线观看| 韩国理伦片一区二区三区在线播放| 成人在线视频一区二区| 欧美日韩国产综合视频在线观看| 久久久噜噜噜久噜久久综合| 亚洲视频网在线直播| 美国欧美日韩国产在线播放| 成人的网站免费观看| 3d成人动漫网站| 欧美国产精品一区| 午夜av区久久| 波多野结衣中文字幕一区二区三区 | 蜜臂av日日欢夜夜爽一区| 国产精品99久久久久久久女警| 风间由美中文字幕在线看视频国产欧美| av电影天堂一区二区在线观看| 欧美浪妇xxxx高跟鞋交| 国产精品日日摸夜夜摸av| 日韩中文字幕一区二区三区| 懂色一区二区三区免费观看| 88在线观看91蜜桃国自产| 欧美—级在线免费片| 日韩成人免费看| 在线视频国内一区二区| 国产亚洲精品免费| 美女一区二区久久| 欧美伊人精品成人久久综合97 | 精品国产免费视频| 亚洲大型综合色站| 91亚洲精品久久久蜜桃网站| 精品粉嫩超白一线天av| 亚洲成人三级小说| 色综合久久久久久久| 国产区在线观看成人精品| 亚洲图片你懂的| 欧美三日本三级三级在线播放| 久久精品夜色噜噜亚洲a∨| 青娱乐精品在线视频| 色av成人天堂桃色av| 欧美激情一区二区三区不卡| 久久99久久精品| 欧美一级在线观看| 天堂一区二区在线| 欧美天天综合网| 伊人一区二区三区| 91蝌蚪国产九色| 中文字幕在线观看一区| 粉嫩绯色av一区二区在线观看| 久久新电视剧免费观看| 麻豆国产欧美日韩综合精品二区| 欧美肥妇free| 天天综合网 天天综合色| 欧美三区在线观看| 亚洲成人中文在线| 欧美日韩国产中文| 视频一区二区三区入口| 欧美剧在线免费观看网站| 亚洲成人动漫一区| 欧美高清你懂得| 日韩高清不卡在线| 日韩精品一区二区三区三区免费| 日本不卡视频一二三区| 日韩免费在线观看| 另类人妖一区二区av| 日韩精品一区二区在线观看| 麻豆国产一区二区| 久久久精品欧美丰满| 成人午夜免费电影| 亚洲天堂精品视频| 欧美天堂亚洲电影院在线播放| 香港成人在线视频| 日韩免费视频一区二区| 国产米奇在线777精品观看| 久久精品亚洲国产奇米99 | 日韩欧美成人一区| 国产综合久久久久影院| 欧美激情资源网| 91色.com| 午夜国产精品影院在线观看| 日韩一区二区三区在线视频| 中文字幕免费一区| 久99久精品视频免费观看| 欧美精品一区二区三区在线 | 久久国产欧美日韩精品| 久久婷婷国产综合精品青草| 国产成人av资源| 亚洲三级电影网站| 欧美日韩电影在线| 国产尤物一区二区| 一区精品在线播放| 欧美精品一二三四| 国产精品一区久久久久| 亚洲乱码中文字幕综合| 7777女厕盗摄久久久| 国产成人在线视频网站| 亚洲免费在线看| 日韩欧美国产综合| 成人精品gif动图一区| 亚洲国产日产av| 亚洲精品一区二区三区影院 | 久久影视一区二区| 色综合婷婷久久| 精品一区二区三区视频| 日韩理论片中文av| 日韩精品一区二区三区swag| 成人一区二区在线观看| 午夜在线成人av| 中文字幕高清一区| 欧美二区三区91| 国产69精品一区二区亚洲孕妇| 一区二区三区**美女毛片| 精品国产伦一区二区三区免费| 97aⅴ精品视频一二三区| 日本 国产 欧美色综合| 亚洲欧美综合色| 日韩视频一区二区| 在线亚洲一区二区| 国内成人精品2018免费看| 亚洲一二三四在线| 国产精品麻豆一区二区| 欧美一级一级性生活免费录像| 99久久久久久99| 激情五月婷婷综合| 视频一区在线播放| 亚洲精品福利视频网站| 久久久精品tv| 在线观看91av| 在线看国产一区| 99热99精品| 国内精品写真在线观看| 肉色丝袜一区二区| 亚洲综合图片区| 国产精品视频第一区| 久久综合国产精品| 欧美日韩激情在线| 91视频xxxx| av一区二区三区黑人| 国产福利一区二区三区| 久久精品理论片| 三级成人在线视频| 亚洲一区二区三区在线看| 国产精品麻豆欧美日韩ww| 久久久久97国产精华液好用吗| 欧美一区二区三区免费视频| 精品污污网站免费看| 91久久一区二区| 成人午夜视频免费看| 国产一区二区不卡老阿姨| 美腿丝袜亚洲色图| 日韩成人精品在线观看| 三级在线观看一区二区| 亚洲线精品一区二区三区八戒| 亚洲免费高清视频在线| 日韩理论片中文av| 亚洲日本中文字幕区| 精品国产伦理网| 97精品国产97久久久久久久久久久久| 国产乱一区二区| 国产传媒一区在线| 国产精品一区免费视频| 国产美女视频91|