Set caption bar in a theme invisible

forum.sourcecode (2000-2005) & forum.td.sourcecode (2005-2010)
Christoph Gautschi

Set caption bar in a theme invisible

Post by Christoph Gautschi » 22 Aug 2008, 09:22

 Posted by:  Christoph Gautschi 

Hi
How can I hide a caption bar in a theme window? WS_CAPTION don't work in a
theme window.
Has anybody an idea?
Thanks very much for help!!
Christoph

User avatar
markus.essmayr
Site Admin
Site Admin
Austria
Posts: 92
Joined: 06 Mar 2017, 06:07
Location: Austria

Set caption bar in a theme invisible

Post by markus.essmayr » 22 Aug 2008, 11:00

Hi,

this topic should be solved by installing TD Service Pack 3.
Did you already install that?

Max

Christoph Gautschi

Set caption bar in a theme invisible

Post by Christoph Gautschi » 22 Aug 2008, 14:24

 Posted by:  Christoph Gautschi 

Hi
Yes, I installed TD5.1 Service Pack 3.
For example VisWinSetStyle (hWndFrame, WS_CAPTION | WS_VSCROLL | WS_HSCROLL,
FALSE) don't work under XP SP2 and Vista.
Thanks!
Christoph

Thomas Schüle

Set caption bar in a theme invisible

Post by Thomas Schüle » 15 Sep 2008, 15:39

 Posted by:  Thomas Schüle 

Hi Christoph,

maybe a bug? I've the same problem with frm+dlg and the Window Title in the
Office 2007 themes

by using
Call SetWindowLong ( hWndForm, GWL_STYLE, GetWindowLong (hWndItem,
GWL_STYLE) - WS_DLGFRAME )

I'm also using TD5.1 Service Pack 3.

Thomas

Return to “td.sourcecode”

Who is online

Users browsing this forum: [Ccbot] and 0 guests