// 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);
GetEventHandler()->ProcessEvent(event);
wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, GetId() );
GetEventHandler()->ProcessEvent(event);
wxCommandEvent cevent( wxEVT_COMMAND_SLIDER_UPDATED, GetId() );