Re: taskmgr: Add full translation [1/2]
17 Jul
2008
17 Jul
'08
11:15 a.m.
Vladimir Pankratov <scriptkid(a)mail.ru> writes:
@@ -50,10 +51,17 @@ int nOldWidth; /* Holds the previous client area width */ int nOldHeight; /* Holds the previous client area height */
+TCHAR szLoadedString[250]; /* Variable where load string from resource*/ + BOOL bInMenuLoop = FALSE; /* Tells us if we are in the menu loop */
TASKMANAGER_SETTINGS TaskManagerSettings;
+BOOL GetStringFromRes(UINT uID) +{ + LoadStringA(hInst, uID, szLoadedString, sizeof(szLoadedString)); + return TRUE; +}
That's ugly, you should return string somehow, not use a global variable. -- Alexandre Julliard julliard(a)winehq.org
6363
Age (days ago)
6363
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard