Results 1 to 3 of 3

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Get a Mac moridinbg's Avatar
    Join Date: Dec:2004
    Location: 0x00000000
    Posts: 4,211

    Handles Win32?

    . 93 listbox-a 3 .
    31 IDC_LIST1 IDC_LIST2 .. IDC_LIST31
    2 31 . HWND, IDC_LIST1 . IDC_LIST2 31.
    . . ?

    hWndList=GetDlgItem(hWndDlg,IDC_List1);
    hWndList=GetDlgItem(hWndDlg,IDC_List2);
    ...
    hWndList=GetDlgItem(hWndDlg,IDC_List31);

    , .

  2. #2
    Bombera's Avatar
    Join Date: Jul:2001
    Location: 4EVA
    Posts: 13,833
    EnumChildWindows, , , , , (LPCTSTR lpWindowName CreateWindow/CreateWindowEx, ).

    , ? , . , GetDlgItem () , .

    WM_INITDIALOG .

    . INT, 500 593 :

    #define IDC_LB1 500
    .....
    #define ICD_LB93 593
    #define IDC_LBLAST IDC_LB93

    for(int i=IDC_LB1;i<(IDC_LBLAST+1);i++)
    {
    hwndLB = GetDlgItem(hwndParentDlg,i);
    ...../* */
    }

    , ( ).

    ? ? ? API .
    EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
    Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|

  3. #3
    Get a Mac moridinbg's Avatar
    Join Date: Dec:2004
    Location: 0x00000000
    Posts: 4,211
    . . . . . #define .

    . , 93 ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Copyright © 1999-2011 . .
iskamPC.com | mobility.BG | Bloody's Techblog | | 3D Vision Blog |