I am making a status bar in my application and I was wondering which way was the correct way to initiate the common control function. Here are the two ways I'm using
orCode:INITCOMMONCONTROLSEX InitC; InitC.dwSize=sizeof(INITCOMMONCONTROLSEX); InitC.dwICC = ICC_BAR_CLASSES; InitCommonControlsEx(&InitC);
Both ways work. Which way is the correct way? Thanks.Code:InitCommonControlsEx(NULL);