http://bugs.winehq.org/show_bug.cgi?id=31677 Bug #: 31677 Summary: a child window not opened properly Product: Wine Version: 1.5.12 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: tramp(a)sibmail.com Classification: Unclassified This code is not working properly: void PreSubclassWindow() { LONG Styles = GetWindowLong(m_hWnd, GWL_STYLE); LONG ExStyles = GetWindowLong(m_hWnd, GWL_EXSTYLE); if (Styles == 0 || ExStyles == 0) return; Styles |= WS_CHILD; Styles &= ~WS_OVERLAPPED; Styles &= ~WS_CAPTION; Styles &= ~WS_BORDER; ExStyles &= ~WS_EX_CLIENTEDGE; ExStyles &= ~WS_EX_DLGMODALFRAME; ExStyles &= ~WS_EX_WINDOWEDGE; SetWindowLong(m_hWnd, GWL_STYLE, Styles); SetWindowLong(m_hWnd, GWL_EXSTYLE, ExStyles); } -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email Do not reply to this email, post in Bugzilla using the above URL to reply. ------- You are receiving this mail because: ------- You are watching all bug changes.