From: poy <po...@12...> - 2007-11-09 18:07:11
|
here, new patch. - the function now uses SmartWin::LibraryLoader. - moved the MessageBox to MainWindow, and its string can be translated. - played with some includes... poy >> i did it in win32/ and used a bool in WinUtil because DC++ already checks >> the Common Controls version on startup, and if the version is too old it >> displays a MessageBox. >> >> or should i move the whole checkCommonContrlols() function (along with >> its >> MessageBox) in smartwin/ ? if it's static the MessageBox would appear >> only >> once so yeah that should also work. > Well, maybe just create a function that loads the version number in > smartwin and then have dc++ use > that function to do the check... if the dc++ smartwin is ever released > separately, it's not sure > that all apps will need the new controls... > > /J > > |