-
-
[旧帖]
[求助]RadASM - HelloWorld 該如何改標題列
0.00雪花
-
发表于:
2007-11-4 05:42
3456
-
[旧帖] [求助]RadASM - HelloWorld 該如何改標題列
0.00雪花
請問該如何改標題列呢?
我想把標題列的 Test 改成 HelloWorld
截圖:
http://forum.cpatch.org/attachments/forumid_28/20071104_44620a0733181ec0b74dO0cmvIC2XmK3.jpg
==============
.386
.model flat, stdcall ;32 bit memory model
option casemap :none ;case sensitive
include Test.inc
.code
start:
invoke GetModuleHandle,NULL
mov hInstance,eax
invoke InitCommonControls
invoke DialogBoxParam,hInstance,IDD_DIALOG1,NULL,addr DlgProc,NULL
invoke ExitProcess,0
;########################################################################
DlgProc proc hWin:HWND,uMsg:UINT,wParam:WPARAM,lParam:LPARAM
mov eax,uMsg
.if eax==WM_INITDIALOG
.elseif eax==WM_COMMAND
.elseif eax==WM_CLOSE
invoke EndDialog,hWin,0
.else
mov eax,FALSE
ret
.endif
mov eax,TRUE
ret
DlgProc endp
end start
[培训]内核驱动高级班,冲击BAT一流互联网大厂工作,每周日13:00-18:00直播授课