flat assembler
Message board for the users of flat assembler.
Index
> Windows > Trubles with dialogbox |
Author |
|
Vasilev Vjacheslav 26 Jun 2005, 13:23
i know only one way to process accelerators, but it isn't for dialogboxes
masm code Code: invoke LoadAccelerators, hInst, IDA_ACCEL mov hAccel,eax .IF (eax) .WHILE TRUE invoke GetMessage, ADDR msg, NULL, 0, 0 .BREAK .IF (!eax) invoke TranslateAccelerator, msg.hwnd, hAccel, ADDR msg .CONTINUE .IF (eax) invoke TranslateMessage, ADDR msg invoke DispatchMessage, ADDR msg .ENDW mov eax, msg.wParam .ENDIF |
|||
26 Jun 2005, 13:23 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.