This is my first attempt at windows programming and I am having a problem in retrieving data from an edit control. Can someone help. What am I doing wrong?
I used DLGEDIT to create my dialog and added a number of radio buttons, push buttons and 1 edit box. Created the .rc and .pbr files and then used powerGEN to create the .bas .inc files.
I wanted to use the en_change event on the edit control to initiate the reading of the value that had been entered into the edit control. The code in the En_change event is as follows:
count$ never gets updated and is always blank. What am I doing incorrectly?
Graham.
I used DLGEDIT to create my dialog and added a number of radio buttons, push buttons and 1 edit box. Created the .rc and .pbr files and then used powerGEN to create the .bas .inc files.
I wanted to use the en_change event on the edit control to initiate the reading of the value that had been entered into the edit control. The code in the En_change event is as follows:
Code:
Function MainWnd_IDCount_En_change(ByVal hDlg As Dword, ByVal wParam As Dword, ByVal lParam As Dword) As Long Control Get Text %DLGmain,%IDCount To count$ Comm Send #hComm, count$ End Function
Graham.
Comment