| BasicScience | Date: Saturday, 2008-04-26, 03:05 | Message # 1 |
|
Group: Users
Messages: 3
Status: Offline
| Visg nicely creates FreeBasic code to generate Windows and Controls. It is not clear to me, however, how to send data to those controls from within a FreeBasic program. For example, how to send a string at run time from a FreeBasic program to a ListBox on the Window. Thanks, BasicScience
|
| |
|
|
| mrhx | Date: Monday, 2008-04-28, 20:52 | Message # 2 |
 Admin
Group: Administrators
Messages: 10
Status: Offline
| For FreeBASIC 0.18: Code SendDlgItemMessage hwnd, IDC_LIST1, LB_ADDSTRING, 0, cast(lparam, strptr("123"))
hwnd = handle of the parent window, IDC_LIST1 = integer identifier of the listbox, "123" = string which will be added into the list.
mrhx.ucoz.com
|
| |
|
|