Problem with Static control
-
Hello everybody, I inserted a static control into dialog box in dialog editor. I set it's styles to: Border, Center vertical. But when I run program or tested dialog by Layout -> Test command, the static displayed with border and sunken styles (that mean, it include WS_BORDER and SS_SUNKEN styles thought I did not). I am using Visual C++ 6 SP5. Why that? How can I fix it? Thanks for reading.
-
Hello everybody, I inserted a static control into dialog box in dialog editor. I set it's styles to: Border, Center vertical. But when I run program or tested dialog by Layout -> Test command, the static displayed with border and sunken styles (that mean, it include WS_BORDER and SS_SUNKEN styles thought I did not). I am using Visual C++ 6 SP5. Why that? How can I fix it? Thanks for reading.
What you are seeing is the 3D effect, not the
SS_SUNKEN
style.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
What you are seeing is the 3D effect, not the
SS_SUNKEN
style.
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)
-
Hello everybody, I inserted a static control into dialog box in dialog editor. I set it's styles to: Border, Center vertical. But when I run program or tested dialog by Layout -> Test command, the static displayed with border and sunken styles (that mean, it include WS_BORDER and SS_SUNKEN styles thought I did not). I am using Visual C++ 6 SP5. Why that? How can I fix it? Thanks for reading.
-
Don't call
Enable3dControls()
(orEnable3dControlsStatic()
).
"The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)