flat assembler
Message board for the users of flat assembler.
Index
> Windows > My Custom MessageBox |
Author |
|
clamicun 22 Jun 2014, 12:04
I use The proc CUSTOM_MB as a "Custom MessageBox" in applications.
It works well, but why ? Please take a look at the line with !! and give me a hint. " " cmp [wmsg], WM_CTLCOLOREDIT je .wm_set_txt_color " " .wm_set_txt_color: invoke SetBkMode,[wparam],OPAQUE invoke SetTextColor,[wparam],[MB_TXT_COLOR_ACTUAL] invoke SetBkColor, [wparam],[MB_BG_COLOR_ACTUAL] mov eax,[MB_hBrush] ;!! ;What happens here ? ;What is it good for ? ;It does not work without ! jmp .finish " "
|
|||||||||||
22 Jun 2014, 12:04 |
|
clamicun 22 Jun 2014, 13:17
Thank you revolution,
So the system uses the brush to paint the background of the edit control. BTW - where is your site and where is Minos Korva ? |
|||
22 Jun 2014, 13:17 |
|
revolution 22 Jun 2014, 13:59
clamicun wrote: BTW - where is your site clamicun wrote: and where is Minos Korva ? |
|||
22 Jun 2014, 13:59 |
|
clamicun 24 Jun 2014, 16:52
I do not think this funny and I knew that MK had something to do with bull like startrek
|
|||
24 Jun 2014, 16:52 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.