IP-Adress Control



  • Hallo Forum,

    ich habe gerade versucht einen Dialog aufzuschalten, in dem ein Element der Klasse "SysIPAdress32" enthalten ist, aber es tut sich nichts, weil offensichtlich diese Klasse beim Programmstart nicht bekannt ist. Gibt es dafür vielleicht einen anderen Init-Aufruf außer InitCommonControls?



  • moin meister ...

    verwende bitte nachfolgendes ...

    mfg RB

    InitCommonControlsEx(LPINITCOMMONCONTROLSEX lpInitCtrls);

    typedef struct tagINITCOMMONCONTROLSEX {
    DWORD dwSize;
    DWORD dwICC;
    } INITCOMMONCONTROLSEX, *LPINITCOMMONCONTROLSEX;

    dwSize
    Size of the structure, in bytes.
    dwICC
    Set of bit flags that indicate which common control classes will be loaded from the DLL. This value can be a combination of the following:

    ICC_ANIMATE_CLASS Load animate control class.
    ICC_BAR_CLASSES Load toolbar, status bar, trackbar, and tooltip control classes.
    ICC_COOL_CLASSES Load rebar control class.
    ICC_DATE_CLASSES Load date and time picker control class.
    ICC_HOTKEY_CLASS Load hot key control class.
    ICC_INTERNET_CLASSES Load IP address class.
    ICC_LISTVIEW_CLASSES Load list view and header control classes.
    ICC_PAGESCROLLER_CLASS Load pager control class.
    ICC_PROGRESS_CLASS Load progress bar control class.
    ICC_TAB_CLASSES Load tab and tooltip control classes.
    ICC_TREEVIEW_CLASSES Load tree view and tooltip control classes.
    ICC_UPDOWN_CLASS Load up-down control class.
    ICC_USEREX_CLASSES Load ComboBoxEx class.
    ICC_WIN95_CLASSES Load animate control, header, hot key, list view, progress bar, status bar, tab, tooltip, toolbar, trackbar, tree view, and up-down control classes.



  • Danke für die schnelle Antwort, aber es lag nicht an der Funktion; mit InitComm... ohne Ex gehts auch. Ich hatte nur den Klassennamen falsch geschrieben und zwar mit einem "D" 🙄


Anmelden zum Antworten