{
if (show && !m_visible) {
DialogBoxParam(appInstance, MAKEINTRESOURCE(IDD_ABOUT), NULL,
- (DLGPROC)DialogProc, (LONG)this);
+ (DLGPROC)DialogProc, (LPARAM)this);
}
}
if (*p == '\n') {
SendMessage(statDlg->m_textWin, EM_SETSEL, (WPARAM)-1, (LPARAM)-1);
- SendMessage(statDlg->m_textWin, EM_REPLACESEL, 0, (LONG)"\r\n");
+ SendMessage(statDlg->m_textWin, EM_REPLACESEL, 0, (LPARAM)"\r\n");
}
if (*p == '\0'){
{
if (show && !m_visible) {
DialogBoxParam(appInstance, MAKEINTRESOURCE(IDD_STATUS), NULL,
- (DLGPROC)dialogProc, (LONG)this);
+ (DLGPROC)dialogProc, (LPARAM)this);
}
}
}
/* Save our class pointer */
- SetWindowLong(m_hwnd, GWL_USERDATA, (LONG)this);
+ SetWindowLong(m_hwnd, GWL_USERDATA, (LPARAM)this);
// Load the icons for the tray