is there any better way?

SetDefaultFont proc hWnd:HWND,dlg:DWORD
LOCAL FONT:DWORD
invoke GetStockObject,DEFAULT_GUI_FONT
mov FONT,eax
invoke SendDlgItemMessage,hWnd,dlg,WM_SETFONT,FONT,TRUE
ret
SetDefaultFont endp

:tongue:

and i wonder how to make a random() function...
Posted on 2003-09-06 08:17:01 by bj1500