flat assembler
Message board for the users of flat assembler.
Index
> Windows > DialogBox how do i know that the mouse is over STATIC ? |
Author |
|
Roman 03 Aug 2013, 09:06
I have on DialogBox STATIC.
If mouse cursor (mouse buttons not pressed ) on STATIC i send text in STATIC. How do i know that the mouse is over STATIC ? |
|||
03 Aug 2013, 09:06 |
|
baldr 03 Aug 2013, 10:53
Roman,
To change its behavior you have to subclass it. |
|||
03 Aug 2013, 10:53 |
|
Roman 03 Aug 2013, 17:53
baldr
Quote:
Wau ! Unreally helpfull |
|||
03 Aug 2013, 17:53 |
|
bitRAKE 03 Aug 2013, 19:37
A search of the board for "subclass" produces a lot of good examples - it's not even a long list to grok.
Even a translation of this classic code... http://board.flatassembler.net/topic.php?t=879 ...no, it's not mine - this time, lol. |
|||
03 Aug 2013, 19:37 |
|
Roman 05 Aug 2013, 10:49
Thanks. But i`m done differently. Compared the coordinates static and mouse coordinates.
|
|||
05 Aug 2013, 10:49 |
|
blacky 24 Aug 2013, 05:49
Roman wrote: Thanks. But i`m done differently. Compared the coordinates static and mouse coordinates. does your method take into account resolution changes or windows size changes? |
|||
24 Aug 2013, 05:49 |
|
Roman 25 Aug 2013, 08:20
Yep!
|
|||
25 Aug 2013, 08:20 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.