News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

returned editbox

Started by ragdog, May 20, 2007, 11:08:12 AM

Previous topic - Next topic

ragdog

hi

can help their times further!
I would like press enter in the editbox there messages box come!

my source is included

thanks
ragdog



[attachment deleted by admin]

ragdog

 i have found this problem this works not :'(


EditSubClass proc hWnd:HWND, uMsg:UINT, wParam:WPARAM, lParam:LPARAM
   LOCAL   EditOldProc      :DWORD

   invoke   GetWindowLong, hWnd, GWL_USERDATA
   mov      EditOldProc, eax
   
   .if uMsg==WM_KEYUP
      
      mov      eax, wParam
      .if al==VK_RETURN
         invoke   GetParent, hWnd
         invoke   SendMessage, eax, WM_EDIT, 0, 0
      .endif
      
   .endif
   
   invoke   CallWindowProc, EditOldProc, hWnd, uMsg, wParam, lParam
   ret
   
EditSubClass endp

[attachment deleted by admin]

ragdog

I have the problem dissolved

[attachment deleted by admin]