/[winpt]/trunk/Src/wptCardManager.cpp
ViewVC logotype

Diff of /trunk/Src/wptCardManager.cpp

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

revision 2 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 23 by twoaday, Fri Sep 30 10:10:16 2005 UTC
# Line 48  card_cb_dlg_proc( HWND dlg, UINT msg, WP Line 48  card_cb_dlg_proc( HWND dlg, UINT msg, WP
48                    "Press OK to continue or Cancel") );                    "Press OK to continue or Cancel") );
49              break;              break;
50          }          }
51          center_window( dlg );          center_window( dlg, NULL );
52          SetForegroundWindow( dlg );          SetForegroundWindow( dlg );
53          break;          break;
54    
# Line 72  card_cb_dlg_proc( HWND dlg, UINT msg, WP Line 72  card_cb_dlg_proc( HWND dlg, UINT msg, WP
72  } /* card_cb_dlg_proc */  } /* card_cb_dlg_proc */
73    
74    
75  const char *  const char*
76  card_callback( int code, void * opaque )  card_callback (int code, void * opaque)
77  {  {
78      struct card_cb_s * ctx = (struct card_cb_s *)opaque;      struct card_cb_s *ctx = (struct card_cb_s *)opaque;
79    
80      if( !ctx )      if (!ctx)
81          return NULL;          return NULL;
82    
83      if( !ctx->init ) {      if (!ctx->init) {
84          memset( ctx->val, 0, sizeof ctx->val );          memset( ctx->val, 0, sizeof ctx->val );
85          ctx->code = code;          ctx->code = code;
86          DialogBoxParam( glob_hinst, (LPCTSTR)IDD_WINPT_CARD_CTRL, glob_hwnd,          DialogBoxParam( glob_hinst, (LPCTSTR)IDD_WINPT_CARD_CTRL, glob_hwnd,

Legend:
Removed from v.2  
changed lines
  Added in v.23

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26