mrhx software Switch to Russian
Welcome, Guest
  • Now is Monday, 2017-09-25, 14:41
  • Use RSS to get the latest news.
  • Do you want to register or login?
     
    Forum ( NOT DONE )
    Page 1 of 11
    Forum » mrhx software » VISG » Send data to form controls
    Send data to form controls
    BasicScienceDate: 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

     
    mrhxDate: 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
     
    Forum » mrhx software » VISG » Send data to form controls
    Page 1 of 11
    Search:
  • Rate my site
    [ Results · Polls archive ]
    Total of answers: 73

    Friends
    · ProTools
    · Free file hosting

     © 2007-2008 Alexander G. Karpov a.k.a. mrhx