[svn] / trunk / xvidcore / vfw / src / status.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/vfw/src/status.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1382, Mon Mar 22 22:36:25 2004 UTC revision 1806, Thu Nov 27 11:57:51 2008 UTC
# Line 19  Line 19 
19   * along with this program; if not, write to the Free Software   * along with this program; if not, write to the Free Software
20   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
21   *   *
22   * $Id: status.c,v 1.2 2004-03-22 22:36:25 edgomez Exp $   * $Id: status.c,v 1.3 2008-11-27 11:57:28 Isibaar Exp $
23   *   *
24   *****************************************************************************/   *****************************************************************************/
25    
# Line 121  Line 121 
121    
122  static BOOL CALLBACK status_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)  static BOOL CALLBACK status_proc(HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
123  {  {
124          status_t * s = (status_t*)GetWindowLong(hDlg, GWL_USERDATA);          status_t * s = (status_t*)GetWindowLongPtr(hDlg, GWLP_USERDATA);
125    
126          switch (uMsg)          switch (uMsg)
127          {          {
128          case WM_INITDIALOG :          case WM_INITDIALOG :
129                  SetWindowLong(hDlg, GWL_USERDATA, lParam);                  SetWindowLongPtr(hDlg, GWLP_USERDATA, lParam);
130                  s = (status_t*)lParam;                  s = (status_t*)lParam;
131    
132                  s->hGraph = GetDlgItem(hDlg, IDC_STATUS_GRAPH);                  s->hGraph = GetDlgItem(hDlg, IDC_STATUS_GRAPH);

Legend:
Removed from v.1382  
changed lines
  Added in v.1806

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4