flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
This looks more likely to work:
Code: invoke SetWindowLong,[hwndEdit],GWL_WNDPROC,TheEditProc |
|||
![]() |
|
typedef
hmm odd
|
|||
![]() |
|
FrozenKnight
I have a working edit control subclass here.
i use the following code to set it up. Code: push IDI_FLOATNUMBER push [hdlg] call [GetDlgItem] push fltedit_proc push GWL_WNDPROC push eax call [SetWindowLong] cmp eax, 0 jz .wmclose mov [proc_edit], eax I don't really like using the invoke syntax, but i think that revolution probably caught your problem. Since the subclass i used appears closely related to what your doing i think my example may help a little with other issues. (again sorry about not using the familiar invoke but i really do prefer using the push/pop notation.) |
|||
![]() |
|
Synaps3
I made the changes you suggested, it still doesn't work, but it did change. Now the edit control is unresponsive. The only way I can move the caret into it is by pressing the tab key, but when I try to type in the box, nothing happens. It doesn't accept text. Any other suggestions.
Thanks for the help. |
|||
![]() |
|
typedef
can you post rc.inc please
|
|||
![]() |
|
bitshifter
Also my BitBox utility uses EDIT subclassing.
It may provide some good reference. I subclass two edit controls into one proc ![]() http://board.flatassembler.net/topic.php?t=11615 |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.