// Now create min static control
wxSprintf(wxBuffer, wxT("%d"), minValue);
// Now create min static control
wxSprintf(wxBuffer, wxT("%d"), minValue);
m_staticMin = (WXHWND) CreateWindowEx(0, wxT("STATIC"), wxBuffer,
m_staticMin = (WXHWND) CreateWindowEx(0, wxT("STATIC"), wxBuffer,
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(),
wxGetInstance(), NULL);
}
msStyle = 0;
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(),
wxGetInstance(), NULL);
}
msStyle = 0;
{
// Finally, create max value static item
wxSprintf(wxBuffer, wxT("%d"), maxValue);
{
// Finally, create max value static item
wxSprintf(wxBuffer, wxT("%d"), maxValue);
m_staticMax = (WXHWND) CreateWindowEx(0, wxT("STATIC"), wxBuffer,
m_staticMax = (WXHWND) CreateWindowEx(0, wxT("STATIC"), wxBuffer,
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(),
wxGetInstance(), NULL);
0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(),
wxGetInstance(), NULL);
}
int newPos = (int)::SendMessage((HWND) control, TBM_GETPOS, 0, 0);
}
int newPos = (int)::SendMessage((HWND) control, TBM_GETPOS, 0, 0);