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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tut3.html

?? win32匯編教程 希望各位多多支持
?? HTML
?? 第 1 頁 / 共 4 頁
字號:
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; lpClassName:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; lpWindowName:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; dwStyle:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; X:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; Y:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; nWidth:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; nHeight:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; hWndParent:DWORD
,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; hMenu:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; hInstance:DWORD,\</font></font></b>
<br><b><font color="#CCCCCC"><font size=-1>&nbsp;&nbsp; lpParam:DWORD</font></font></b>
<p><font color="#CCCCCC"><font size=-1>Let's see detailed description of
each parameter:</font></font>
<br><font size=-1><b><font color="#999900">dwExStyle:</font></b><font color="#CCCCCC">
Extra window styles. This is the new parameter that is added to the old
CreateWindow. You can put new window styles for Windows 95 &amp; NT here.You
can specify your ordinary window style in dwStyle but if you want some
special styles such as topmost window, you must specify them here. You
can use NULL if you don't want extra window styles.</font></font>
<br><font size=-1><b><font color="#999900">lpClassName: </font></b><font color="#CCCCCC">(Required).
Address of the ASCIIZ string containing the name of window class you want
to use as template for this window. The Class can be your own registered
class or predefined window class. As stated above, every window you created
must be based on a window class.</font></font>
<br><font size=-1><b><font color="#999900">lpWindowName: </font></b><font color="#CCCCCC">Address
of the ASCIIZ string containing the name of the window. It'll be shown
on the title bar of the window. If this parameter is NULL, the title bar
of the window will be blank.</font></font>
<br><font size=-1><b><font color="#999900">dwStyle:&nbsp;</font></b><font color="#CCCCCC">
Styles of the window. You can specify the appearance of the window here.
Passing NULL&nbsp; is ok but the window will have no system menu box, no
minimize-maximize buttons, and no close-window button. The window would
not be of much use at all. You will need to press Alt+F4 to close it. The
most common window style is WS_OVERLAPPEDWINDOW. A window style is only
a bit flag. Thus you can combine several window styles by "or" operator
to achieve the desired appearance of the window. WS_OVERLAPPEDWINDOW style
is actually a combination of the most common window styles by this method.</font></font>
<br><font size=-1><b><font color="#999900">X,Y:</font></b><font color="#CCCCCC">
The coordinate of the upper left corner of the window. Normally this values
should be CW_USEDEFAULT, that is, you want Windows to decide for you where
to put the window on the desktop.</font></font>
<br><font size=-1><b><font color="#999900">nWidth, nHeight: </font></b><font color="#CCCCCC">The
width and height of the window in pixels. You can also use CW_USEDEFAULT
to let Windows choose the appropriate width and height for you.</font></font>
<br><font size=-1><b><font color="#999900">hWndParent: </font></b><font color="#CCCCCC">A
handle to the window's parent window (if exists). This parameter tells
Windows whether this window is a child (subordinate) of some other window
and, if it is, which window is the parent. Note that this is not the parent-child
relationship of multiple document interface (MDI). Child windows are not
bound to the client area of the parent window. This relationship is specifically
for Windows internal use. If the parent window is destroyed, all child
windows will be destroyed automatically. It's really that simple. Since
in our example, there's only one window, we specify this parameter as NULL.</font></font>
<br><font size=-1><b><font color="#999900">hMenu:</font></b><font color="#CCCCCC">
A handle to the window's menu. NULL if the class menu is to be used. Look
back at the a member of WNDCLASSEX structure, lpszMenuName. lpszMenuName
specifies *default* menu for the window class. Every window created from
this window class will have the same menu by default. Unless you specify
an *overriding* menu for a specific window via its hMenu parameter. hMenu
is actually a dual-purpose parameter. In case the window you want to create
is of a predefined window type (ie. control), such control cannot own a
menu. hMenu is used as that control's ID instead. Windows can decide whether
hMenu is really a menu handle or a control ID by looking at lpClassName
parameter. If it's the name of a predefined window class, hMenu is a control
ID. If it's not, then it's a handle to the window's menu.</font></font>
<br><font size=-1><b><font color="#999900">hInstance:</font></b><font color="#CCCCCC">
The instance handle for the program module creating the window.</font></font>
<br><font size=-1><b><font color="#999900">lpParam: </font></b><font color="#CCCCCC">Optional
pointer to a data structure passed to the window. This is used by MDI window
to pass the CLIENTCREATESTRUCT data. Normally, this value is set to NULL,
meaning that no data is passed via CreateWindow(). The window can retrieve
the value of this parameter by the call to GetWindowLong function.</font></font>
<p><b><font size=-1><font color="#006600">&nbsp;</font><font color="#999900">&nbsp;&nbsp;
mov&nbsp;&nbsp; hwnd,eax</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; invoke ShowWindow,
hwnd,CmdShow</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; invoke UpdateWindow,
hwnd</font></font></b>
<p><font color="#CCCCCC"><font size=-1>On successful return from CreateWindowEx,
the window handle is returned in eax. We must keep this value for future
use. The window we just created is not automatically displayed. You must
call ShowWindow with the window handle and the desired *display state*
of the window to make it display on the screen. Next you can call UpdateWindow
to order your window to repaint its client area. This function is useful
when you want to update the content of the client area. You can omit this
call though.</font></font>
<p><b><font size=-1><font color="#006600">&nbsp;</font><font color="#999900">&nbsp;&nbsp;
.WHILE TRUE</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invoke GetMessage, ADDR msg,NULL,0,0</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
.BREAK .IF (!eax)</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invoke TranslateMessage, ADDR msg</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invoke DispatchMessage, ADDR msg</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp; .ENDW</font></font></b>
<p><font color="#CCCCCC"><font size=-1>At this time, our window is up on
the screen. But it cannot receive input from the world. So we have to *inform*
it of relevant events. We accomplish this with a message loop. There's
only one message loop for each module. This message loop continually checks
for messages from Windows with GetMessage call. GetMessage passes a pointer
to a MSG structure to Windows. This MSG structure will be filled with information
about the message that Windows want to send to a window in the module.
GetMessage function will not return until there's a message for a window
in the module. During that time, Windows can give control to other programs.
This is what forms the cooperative multitasking scheme of Win16 platform.
GetMessage returns FALSE if WM_QUIT message is received which, in the message
loop, will terminate the loop and exit the program.</font></font>
<br><font color="#CCCCCC"><font size=-1>TranslateMessage is a utility function
that takes raw keyboard input and generates a new message (WM_CHAR) that
is placed on the message queue. The message with WM_CHAR contains the ASCII
value for the key pressed, which is easier to deal with than the raw keyboard
scan codes. You can omit this call if your program doesn't process keystrokes.</font></font>
<br><font color="#CCCCCC"><font size=-1>DispatchMessage sends the message
data to the window procedure responsible for the specific window the message
is for.</font></font>
<p><b><font size=-1><font color="#006600">&nbsp;&nbsp;&nbsp;</font><font color="#999900">
mov&nbsp;&nbsp;&nbsp;&nbsp; eax,msg.wParam</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; ret</font></font></b>
<br><b><font color="#999900"><font size=-1>WinMain endp</font></font></b>
<p><font color="#CCCCCC"><font size=-1>If the message loop terminates,
the exit code is stored in wParam member of the MSG structure. You can
store this exit code into eax to return it to Windows. At the present time,
Windows does not make use of the return value, but it's better to be on
the safe side and plays by the rule.</font></font>
<p><b><font color="#999900"><font size=-1>WndProc proc hWnd:HWND, uMsg:UINT,
wParam:WPARAM, lParam:LPARAM</font></font></b>
<p><font color="#CCCCCC"><font size=-1>This is our window procedure. You
don't have to name it WndProc. The first parameter, hWnd, is the window
handle of the window that the message is destined for. uMsg is the message.
Note that uMsg is not a MSG structure. It's just a number, really. Windows
defines hundreds of messages, most of which your programs will not be interested
in. Windows will send an appropriate message to a window in case something
relevant to that window happens. The window procedure receives the message
and reacts to it intelligently. wParam and lParam are just extra parameters
for use by some messages. Some messages do send accompanying data in addition
to the message itself. Those data are passed to the window procedure by
means of lParam and wParam.</font></font>
<p><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; .IF uMsg==WM_DESTROY</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invoke PostQuitMessage,NULL</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; .ELSE</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
invoke DefWindowProc,hWnd,uMsg,wParam,lParam</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ret</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; .ENDIF</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; xor eax,eax</font></font></b>
<br><b><font color="#999900"><font size=-1>&nbsp;&nbsp;&nbsp; ret</font></font></b>
<br><b><font color="#999900"><font size=-1>WndProc endp</font></font></b>
<p><font color="#CCCCCC"><font size=-1>Here comes the crucial part. This
is where most of your program's intelligence resides. The codes that respond
to each Windows message are in the window procedure. Your code must check
the Windows message to see if it's a message it's interested in. If it
is, do anything you want to do in response to that message and then return
with zero in eax. If it's not, you MUST call&nbsp; DefWindowProc, passing
all parameters you received to it for default processing.. This DefWindowProc
is an API function that processes the messages your program are not interested
in.</font></font>
<br><font color="#CCCCCC"><font size=-1>The only message that you MUST
respond to is WM_DESTROY. This message is sent to your window procedure
whenever your window is closed. By the time your window procedure receives
this message, your window is already removed from the screen. This is just
a notification that your window was destroyed, you should prepare yourself
to return to Windows. In response to this, you can perform housekeeping
prior to returning to Windows. You have no choice but to quit when it comes
to this state. If you want to have a chance to stop the user from closing
your window, you should process WM_CLOSE message. Now back to WM_DESTROY,
after performing housekeeping chores, you must call PostQuitMessage which
will post WM_QUIT back to your module. WM_QUIT will make GetMessage return
with zero value in eax, which in turn, terminates the message loop and
quits to Windows. You can send WM_DESTROY message to your own window procedure
by calling DestroyWindow function.</font></font>
<p>
<hr WIDTH="100%">
<center><b><font color="#009900"><font size=-1>[<a href="http://win32asm.cjb.net">Iczelion's
Win32 Assembly HomePage</a>]</font></font></b></center>

</body>
</html>

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日韩视频免费直播| 91国产成人在线| 天天综合色天天综合| 久久久久久久久久久久电影| 色天天综合久久久久综合片| 精品一区二区三区香蕉蜜桃 | **网站欧美大片在线观看| 欧美日韩国产免费| 成人美女在线观看| 麻豆成人免费电影| 亚洲一区欧美一区| 国产精品国产馆在线真实露脸| 丁香啪啪综合成人亚洲小说| 色av一区二区| 经典三级视频一区| 亚洲成人综合视频| 亚洲人成网站影音先锋播放| 久久综合色鬼综合色| 在线播放91灌醉迷j高跟美女| 国产东北露脸精品视频| 麻豆成人91精品二区三区| 一区二区欧美在线观看| 18欧美亚洲精品| 国产性做久久久久久| 欧美成人精精品一区二区频| 精品视频在线视频| 91小视频免费看| 国产精品影音先锋| 麻豆国产精品官网| 秋霞午夜av一区二区三区| 夜夜嗨av一区二区三区中文字幕| 国产精品福利一区二区三区| 久久久777精品电影网影网| 91麻豆精品国产自产在线 | 91久久精品午夜一区二区| 国产成人精品一区二| 国产在线精品一区二区夜色| 日韩av一区二区在线影视| 亚洲国产精品尤物yw在线观看| 亚洲免费观看高清| 亚洲欧美在线aaa| 国产精品三级久久久久三级| 国产亚洲污的网站| 久久精品免费在线观看| 国产婷婷色一区二区三区| 欧美精品一区视频| 欧美精品一区二区久久久| 欧美va在线播放| 精品久久国产字幕高潮| 26uuu另类欧美亚洲曰本| 久久天堂av综合合色蜜桃网| 久久久九九九九| 国产精品美日韩| 亚洲精品一二三| 日韩精品久久理论片| 精品一区二区三区在线播放 | 久久99热99| 国产福利一区二区三区视频 | 国产精品一品二品| av一二三不卡影片| 在线视频国内一区二区| 欧美精品在线一区二区三区| 日韩欧美中文字幕公布| 精品国产乱码久久久久久图片| 久久久国际精品| 亚洲同性gay激情无套| 亚洲成精国产精品女| 久久99精品久久只有精品| 国产精品影视在线| 99re亚洲国产精品| 色菇凉天天综合网| 欧美日韩大陆一区二区| 精品少妇一区二区三区视频免付费| 欧美va亚洲va| 久久久激情视频| 国产精品久久久久久一区二区三区 | 精品久久久久久久久久久久久久久| 欧美精品一区二区三区四区| 精品久久久久久久久久久久包黑料| 日韩美女主播在线视频一区二区三区| 日韩一区二区三区视频在线| 精品国产乱码久久久久久图片 | 美女网站视频久久| 国产专区欧美精品| 在线亚洲高清视频| 制服丝袜成人动漫| 精品剧情在线观看| 国产精品色哟哟| 亚洲午夜国产一区99re久久| 日韩在线观看一区二区| 国产成人精品www牛牛影视| 99久久99久久综合| 欧美女孩性生活视频| 精品免费国产一区二区三区四区| 国产情人综合久久777777| 亚洲国产高清aⅴ视频| 综合激情成人伊人| 蜜臀av性久久久久蜜臀aⅴ| 成熟亚洲日本毛茸茸凸凹| 欧美天堂一区二区三区| 7777精品伊人久久久大香线蕉完整版| 中文字幕va一区二区三区| 亚洲成人一二三| 国产精品一二三区| 欧洲精品一区二区三区在线观看| 欧美成人a在线| 国产欧美日韩亚州综合| 天堂av在线一区| 成人激情动漫在线观看| 宅男噜噜噜66一区二区66| 国产欧美精品国产国产专区| 五月综合激情日本mⅴ| 成人av免费在线播放| 日韩一二在线观看| 一级精品视频在线观看宜春院 | av在线不卡免费看| 日韩欧美国产小视频| 亚洲欧美激情插 | 91福利精品视频| 精品国产一区二区三区不卡| 五月婷婷综合激情| 91日韩一区二区三区| 久久久噜噜噜久噜久久综合| 亚洲福利电影网| 国产成人免费视频精品含羞草妖精| 日韩亚洲欧美中文三级| 一区二区免费看| 成人综合在线观看| 精品久久人人做人人爰| 午夜精品福利一区二区蜜股av| 色先锋资源久久综合| 欧美成人a视频| 精品一区二区三区在线视频| 欧美男人的天堂一二区| 亚洲青青青在线视频| 国产大陆a不卡| 久久久噜噜噜久久人人看 | 亚洲在线观看免费| 91丨九色丨尤物| 国产精品麻豆一区二区| 国产精品影音先锋| 欧美极品aⅴ影院| 麻豆一区二区三| 日韩一级黄色片| 麻豆成人91精品二区三区| 在线观看一区日韩| 亚洲成年人影院| 欧美日韩国产高清一区二区三区 | 一区二区三区**美女毛片| 色域天天综合网| 亚洲精品国久久99热| 成人av在线看| 国产欧美日韩三级| 成人激情文学综合网| 欧美国产一区二区在线观看| 国产综合色产在线精品| 国产精品麻豆久久久| 国产99久久久国产精品潘金网站| 久久久久久久av麻豆果冻| 国产毛片精品国产一区二区三区| 欧美影视一区二区三区| 日韩二区在线观看| 制服视频三区第一页精品| 美女诱惑一区二区| 久久综合九色综合欧美98| 亚洲超碰97人人做人人爱| 日韩一级二级三级精品视频| 极品少妇xxxx偷拍精品少妇| 久久网站热最新地址| 粗大黑人巨茎大战欧美成人| 久久精品亚洲一区二区三区浴池| www.综合网.com| 一区二区三区免费看视频| 欧美日韩黄色一区二区| 日韩电影在线观看一区| 欧美一区二区三区视频| 激情综合网最新| 国产精品不卡在线观看| 欧美日韩国产综合一区二区三区| 视频一区在线播放| 久久影院视频免费| 成人黄色网址在线观看| 一区二区三区欧美久久| 91精品国产欧美一区二区18| 国产在线视频不卡二| 亚洲人成电影网站色mp4| 99精品视频在线播放观看| 五月婷婷综合网| 久久久高清一区二区三区| 色成年激情久久综合| 美国三级日本三级久久99| 亚洲欧美日韩一区二区三区在线观看| 欧美性三三影院| 国产美女在线观看一区| 亚洲欧洲综合另类在线| 精品国产乱码久久久久久牛牛 | 欧美日韩国产影片| 成人黄色网址在线观看| 午夜电影网亚洲视频| 国产精品日日摸夜夜摸av|