- msStyle |= SS_CENTER;
-
- WXDWORD exStyle = 0;
- long valueStyle = m_windowStyle & ~wxBORDER_MASK;
- valueStyle |= wxBORDER_SUNKEN;
- msStyle |= MSWGetStyle(valueStyle, & exStyle) ;
-
- m_staticValue = (WXHWND) CreateWindowEx
- (
- exStyle, wxT("STATIC"), NULL,
- msStyle,
- 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(),
- wxGetInstance(), NULL
- );
-
- // Now create min static control
- wxString minLabel;
- minLabel.Printf(wxT("%d"), minValue);
- wstyle = STATIC_FLAGS;
- if ( m_windowStyle & wxCLIP_SIBLINGS )
- msStyle |= WS_CLIPSIBLINGS;
- m_staticMin = (WXHWND) CreateWindowEx
- (
- 0, wxT("STATIC"), minLabel,
- wstyle,
- 0, 0, 0, 0, (HWND) parent->GetHWND(), (HMENU)NewControlId(),
- wxGetInstance(), NULL
- );
- }