How can I set fixed index for a List Box string?

Discussion in 'Win32' started by ManiaBHR, Aug 25, 2012.

  1. ManiaBHR

    ManiaBHR New Member

    Joined:
    Aug 25, 2012
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    hwndCombobox= CreateWindow(TEXT("LISTBOX"),
    NULL,WS_CHILD|WS_VISIBLE|LBS_STANDARD|LBS_SORT,
    500,70,300,300,hwnd,
    (HMENU)ID_OPEN_ACCOUNT_LISTBOX,
    (HINSTANCE) GetWindowLong(hwnd, GWL_HINSTANCE), NULL) ;
    SendMessage(hwndCombobox,LB_ADDSTRING,0(LPARAM)ReadFileStore);// In this String Adding Message, can I set fixed index of List Box ?:confused:
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice