Click here to Skip to main content
15,887,485 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionRe: Windows Vista not allowed to write file on C:\Users folder Pin
Randor 2-Jun-10 7:46
professional Randor 2-Jun-10 7:46 
AnswerRe: Windows Vista not allowed to write file on C:\Users folder Pin
am 20093-Jun-10 4:21
am 20093-Jun-10 4:21 
QuestionProblem with Activex control property pages Pin
Sreenivas00328-May-10 2:17
Sreenivas00328-May-10 2:17 
QuestionAbout the remove() behavior of container list on MAC [modified] Pin
szh12113-May-10 15:47
szh12113-May-10 15:47 
AnswerRe: About the remove() behavior of container list on MAC Pin
szh12113-May-10 22:55
szh12113-May-10 22:55 
QuestionChild windows of non-modal dialog not receiving WM_DESTROY (at least not when expected) Pin
mjxy9-May-10 4:49
mjxy9-May-10 4:49 
QuestionHowto put a TrackBar in a Menu ? Pin
yarp27-Apr-10 1:07
yarp27-Apr-10 1:07 
QuestionCreating a borderless MDI child window Pin
Member 381982124-Apr-10 0:00
Member 381982124-Apr-10 0:00 
I'm trying to create a borderless MDI child window. I've tried setting the initial window traits without sucess:

typedef CWinTraits <WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS, WS_EX_MDICHILD> CFTraits;


class CChildFrame : public CMDIChildWindowImpl<CChildFrame, CMDIWindow, CFTraits>


I've also tried setting / removing various styles just after the create call:

int CChildFrame::OnCreate( LPCREATESTRUCT lpCreateStruct )
{		
	m_hWndClient = m_view.Create(m_hWnd, rcDefault, NULL);

	DWORD dwStyle, dwExStyle;
	dwStyle		= ::GetWindowLong( m_hWndClient, GWL_STYLE);
	dwExStyle	= ::GetWindowLong( m_hWndClient, GWL_EXSTYLE);
	
	::SetWindowLong( m_hWndClient, GWL_STYLE, dwStyle & ~WS_BORDER );
	
	return 1;
}


I've not had any success - can anyone point me in the right direction?

thanks
AnswerRe: Creating a borderless MDI child window Pin
Jonathan Davies24-Apr-10 1:06
Jonathan Davies24-Apr-10 1:06 
QuestionProblems while adding custom header with IWebBrowser2 [modified] Pin
arbittorr21-Apr-10 12:14
arbittorr21-Apr-10 12:14 
AnswerRe: Problems while adding custom header with IWebBrowser2 Pin
Stephen Hewitt22-Apr-10 14:09
Stephen Hewitt22-Apr-10 14:09 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
arbittorr23-Apr-10 0:18
arbittorr23-Apr-10 0:18 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
Jonathan Davies23-Apr-10 1:57
Jonathan Davies23-Apr-10 1:57 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
arbittorr23-Apr-10 22:01
arbittorr23-Apr-10 22:01 
GeneralRe: Problems while adding custom header with IWebBrowser2 Pin
Jonathan Davies24-Apr-10 1:26
Jonathan Davies24-Apr-10 1:26 
QuestionIs it possible to make an activex by WTL Pin
Shuang. Wu15-Apr-10 20:31
Shuang. Wu15-Apr-10 20:31 
AnswerRe: Is it possible to make an activex by WTL Pin
Jonathan Davies15-Apr-10 23:47
Jonathan Davies15-Apr-10 23:47 
GeneralRe: Is it possible to make an activex by WTL Pin
Shuang. Wu16-Apr-10 0:20
Shuang. Wu16-Apr-10 0:20 
GeneralRe: Is it possible to make an activex by WTL Pin
Jonathan Davies16-Apr-10 0:40
Jonathan Davies16-Apr-10 0:40 
AnswerRe: Is it possible to make an activex by WTL Pin
«_Superman_»16-Apr-10 8:02
professional«_Superman_»16-Apr-10 8:02 
GeneralRe: Is it possible to make an activex by WTL Pin
Shuang. Wu18-Apr-10 6:00
Shuang. Wu18-Apr-10 6:00 
GeneralRe: Is it possible to make an activex by WTL Pin
Jonathan Davies24-Apr-10 1:33
Jonathan Davies24-Apr-10 1:33 
AnswerRe: Is it possible to make an activex by WTL Pin
XTL_FANS13-May-10 14:30
XTL_FANS13-May-10 14:30 
QuestionCOM DLL Registration Pin
HakunaMatada14-Apr-10 21:44
HakunaMatada14-Apr-10 21:44 
AnswerRe: COM DLL Registration Pin
HakunaMatada15-Apr-10 0:15
HakunaMatada15-Apr-10 0:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.