Ignore:
Timestamp:
Nov 6, 2008, 10:22:26 PM (16 years ago)
Author:
イグトランス (egtra)
Message:

#228試行

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ab5.0/abdev/abdev/RadSupport.cpp

    r629 r763  
    1010#include "rad_msg_eng.h"
    1111#endif
     12
     13HRESULT ApplyDialogTexture( HWND );
    1214
    1315int bSupportDlg_NoChange;
     
    266268}
    267269
    268 BOOL CALLBACK DlgRadSupport(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
     270INT_PTR CALLBACK DlgRadSupport(HWND hwnd,UINT message,WPARAM wParam,LPARAM lParam){
    269271    static BOOL bTimer;
    270272    int i,i3;
     
    275277    switch(message){
    276278        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);
    281283
    282284            SendDlgItemMessage(hwnd,IDC_SPIN1,UDM_SETRANGE32,0,0x7FFF);
     
    284286            SendDlgItemMessage(hwnd,IDC_SPIN3,UDM_SETRANGE32,0,0x7FFF);
    285287            SendDlgItemMessage(hwnd,IDC_SPIN4,UDM_SETRANGE32,0,0x7FFF);
     288
     289            ApplyDialogTexture(hwnd);
    286290            return 0;
    287291        case WM_COMMAND:
Note: See TracChangeset for help on using the changeset viewer.