News:

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

Dialog Classes

Started by RedXVII, February 23, 2006, 04:39:08 PM

Previous topic - Next topic

RedXVII

I have an IPAddess class in my dialog box where you can put an ip address in it. Its in RADAsm.

What function to call to retrive and write address's?

Cheers :U

Tedd

IPM_SETADDRESS  equ WM_USER + 101
IPM_GETADDRESS  equ WM_USER + 102

.data
someIP   DWORD 7f000001h

.data?
whatisit DWORD ?

.code
invoke SendMessage, hIpControl,IPM_SETADDRESS,NULL,ADDR someIP
invoke SendMessage, hIpControl,IPM_GETADDRESS,NULL,ADDR whatisit


(modify the SendMessage appropriately for SendDlgItemMessage)
No snowflake in an avalanche feels responsible.