Changeset 763 in dev for trunk/ab5.0/abdev/abdev/RadSupport.cpp
- Timestamp:
- Nov 6, 2008, 10:22:26 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ab5.0/abdev/abdev/RadSupport.cpp
r629 r763 10 10 #include "rad_msg_eng.h" 11 11 #endif 12 13 HRESULT ApplyDialogTexture( HWND ); 12 14 13 15 int bSupportDlg_NoChange; … … 266 268 } 267 269 268 BOOLCALLBACK DlgRadSupport(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){270 INT_PTR CALLBACK DlgRadSupport(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){ 269 271 static BOOL bTimer; 270 272 int i,i3; … … 275 277 switch(message){ 276 278 case WM_INITDIALOG: 277 SendDlgItemMessage(hwnd,IDC_SPIN1,UDM_SETBUDDY,( long)GetDlgItem(hwnd,IDC_XPOS),0);278 SendDlgItemMessage(hwnd,IDC_SPIN2,UDM_SETBUDDY,( long)GetDlgItem(hwnd,IDC_YPOS),0);279 SendDlgItemMessage(hwnd,IDC_SPIN3,UDM_SETBUDDY,( long)GetDlgItem(hwnd,IDC_WIDTH),0);280 SendDlgItemMessage(hwnd,IDC_SPIN4,UDM_SETBUDDY,( long)GetDlgItem(hwnd,IDC_HEIGHT),0);279 SendDlgItemMessage(hwnd,IDC_SPIN1,UDM_SETBUDDY,(LONG_PTR)GetDlgItem(hwnd,IDC_XPOS),0); 280 SendDlgItemMessage(hwnd,IDC_SPIN2,UDM_SETBUDDY,(LONG_PTR)GetDlgItem(hwnd,IDC_YPOS),0); 281 SendDlgItemMessage(hwnd,IDC_SPIN3,UDM_SETBUDDY,(LONG_PTR)GetDlgItem(hwnd,IDC_WIDTH),0); 282 SendDlgItemMessage(hwnd,IDC_SPIN4,UDM_SETBUDDY,(LONG_PTR)GetDlgItem(hwnd,IDC_HEIGHT),0); 281 283 282 284 SendDlgItemMessage(hwnd,IDC_SPIN1,UDM_SETRANGE32,0,0x7FFF); … … 284 286 SendDlgItemMessage(hwnd,IDC_SPIN3,UDM_SETRANGE32,0,0x7FFF); 285 287 SendDlgItemMessage(hwnd,IDC_SPIN4,UDM_SETRANGE32,0,0x7FFF); 288 289 ApplyDialogTexture(hwnd); 286 290 return 0; 287 291 case WM_COMMAND:
Note:
See TracChangeset
for help on using the changeset viewer.