flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bitRAKE 01 Sep 2020, 16:52
I really like these kinds of helpful snippets of functionality. Are you trying to do a toggle state or something like that? I'll need to create a template to try this out and see what the effect is.
OFFTOPIC: "bt eax,3" is one byte shorter and the same functionality. |
|||
![]() |
|
Overclick 01 Sep 2020, 17:35
Quote:
You don't need that)) Quote:
I'll keep in mind, thanks. I'm sure there is some more optimisations can be done. |
|||
![]() |
|
bitRAKE 01 Sep 2020, 20:36
So, it's just to simplify owner drawn buttons?
|
|||
![]() |
|
Overclick 01 Sep 2020, 22:21
It is BN_PUSHBUTTON which have limited notifications especially for Pushed stage.
|
|||
![]() |
|
bitRAKE 02 Sep 2020, 01:11
Very interesting. I would call it "duration sensitive button messaging".
|
|||
![]() |
|
Roman 15 Jul 2022, 13:55
How many SetTimer-s could sets ?
For example i have 20 buttons. I want do 20 times SetTimer. And how SetTimer cpu usage ? How load Cpu? And why Settimer need hwnd? To sand messages window? |
|||
![]() |
|
Furs 16 Jul 2022, 15:53
SetTimer needs hwnd because it posts WM_TIMER to the window if you decide to not use a callback.
If you don't want this and simply want a callback (function) called, then you can pass NULL to hwnd and supply the last argument to the function of your choice. |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.