method ExSkinForm.Attach (hWnd as Long)
Attaches the skin to specified window.

TypeDescription
hWnd as Long A long expression that indicates the handle of the window where the skin is applied.
Use the Attach method to apply skins to any window you have. For instance in MFC, a MDI project contains MDIChild windows. When you place the ExSkin component to your CFormView's dialog the skin will be applied to the dialog, instead being applied its parent window. In this case you can use a sample like follows:

void CMDIFormView::OnInitialUpdate()
{
	CFormView::OnInitialUpdate();
	ResizeParentToFit();

	// You can use the eximages tool in order to save the skin file as a BASE64 string and to pass it to the File method
	////////////////
	// Loading a skin 
	CString s;
	s = "gBFLBTJYCAEHhEJAABhABVoYg6AABACAxWgKBADQKAAyDQKkEQGGQbRjhEAIGglg4JYjjKKxSgmHYDRTFMZwGA0EwcAAZBpEWR5JiuCQ1DAJMSjMAkRxtGyPZQhGQZXgOJ4sSpQAigFBIYhtE6YJikMDZbj2OoPUzAdCQG78EyrDahKCqMAKGoiMZbRKDVQgARMRj3BIFLDrOpwAqyE5ZR5QMrzDT0XQ2BixQgkMTYJriIJOTZcEL3FAdEwqGgCcAhEC4JIWCQ9QiddhyFIcfyKGIcYpGGqxRDSFQyZRAd5XfDZCQTDKBShtKptMpicZ2ShKWaQbadBxGCKxSShHRoDKOCRParV36sCzHMJJXTJcRgfYYLZ3BIjIRKCw8KhNi+IRhm6OgQAWJh7iMABTCAYx8h0Oo3kWFpdGsYwhhSVg3mGChImSMA9kQDBFkGNpwm2fR/l4FppjUcoWgUOAXgAUAwmGZBPFWNhpFsDJZhQeYcAwGIUG2Xx2kOJAlGIQJEkeXRsFuHRmA2MB6B+eIFBsdxfAQbAhoMAJVlQdRAAeHQqHYWxVgGCxIkQCB0AAHISngHQ3EmWYkhwLQMkMNh9moewSDgXglAABRUCWcgATiJgGGkAAFi2eYNiICB5kmCIkHQDQXGMJQJCUAwGlCEYBAkDYijcVguHGVZ1BYEBtlYOR4AADhmK6SIGiUNJ5nwcYehQehEEaYwknUOROF2NJaEsSZDBCRA3EyUw2HAMR2l6dBVm0AAkjAZQJAeJh";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BZA5gTB5A6gTiggTh5A7gUAZA+gUApA2XDBX3IhHgSBZAygUBpAtgUhJAp3fBQgShJAUgNBohYAAAIgaB7gogcANAgBngJiTWYgrAKAgBdAChpBggWXugDA5BjgWB5BhgWgJBkgWg5BqgWhZBpgWh5BsgXAJBugXAZB0gXA5B2gXApB4wKB5gXB5B6gXhZB8gXh5B735hmgWBZB3ADAwghgYBJgCgWAJgDgXggAzgVA4gVgVBYhagGgHAvgVojAEAAVrhQXEBggoAGBQA1AKgZgcgZhgA4nWA1gaApgkgZhJglgaA5gmgagZgogag5gngahZgqgahpgsgah5gygbAZg0gbAJinA5gKgbgZBhALAAB4LiA9AIolgMggjvNAALAwg";
	s = s + "fANu7AKhgheAMBgg3ANhghFALBQhXALgggmYvB3AFAJgKgYB5gL4dg6gYg5g8gbhphAgcAphEgcNrgcgphMgchpjxAphUgdBpBlgdgJBjgaAJhugbA5gggYhogWgJgHBRgNg5gTgRgghSAHAABCACBwgcgNhwgvAGkQAfhwA9YvBqggA6AAALAKAHgggaK5A6AIgghKAKgghaAQggh6ASgghqAUghAaAVghA6AWghgaAYghkQYbYZBZgVALAgB1AEhAg8WVhiAKgQgAHugGAGBgBSAGBzgyAFBAA4ACBwBjAE1ogIBgByHug3AKBQgaAOBEgNAMBwgbAHhqAgAEAJgi5oAegkAaAigiBKAm1tAqgihKAuADgKAwgjAqA0gjBqA4gjgqA8AMAqA+gkAJgVgkA6AFggVGAgAKACghAKAFgfApAXgfBZgSB3ApBZAHBABIJbghYYA7ALBph6gmhgBCALBgBygnAaBzgnAqB0gnB6B2gngaB1gng6B4gnhKB6gnhagAgnh6gCj0AEgoAa09g6gG6wBcALAQBtAEAAqzAgBIAJhgBraAh3Vqg4AHhABQADgAgDAFZfAIAwBVADhQB0MWA1AGM/ACnW2UWZhAB/AHZoAMAwg2DmgfAIAaANgnBq2KhagPgpAagTgpBagXgpgagbgphagfgqAa6Whagn4mArgqhagvgrAagzgnhqBvgmh6B8gmAph0gVB4hcWSh4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nC5DeCQA6COATB2DXA3BOBTCADdCgAtD2DSCFC4APDzAkDGAxBoCTCoDwepBmD0DgCeANC6BKAnCKBNCFA9BOCKCNA7DKD5CKAvCjBWXECvC8ACD9DABvD8ALMYAwB8APT9CwCsAjALDDCwDcBDAMDCCpAjCeAXDFBNCDCceaBcALbnC2Z+B8DrA4DOADCrAgAxBMACD+DjDKCyC6ASCBAnAUAbCsDjC6AOD7CtBHA4BtCpDsDaDGBSDsBYDdDGAzEnA/DQC0AdATBADRC0A9AfBFDSA0C9ArBNDSB0D9AzBQDTC1AdBTBTDVC1AtBjBCDOBxDbBYDiA3ByAjB9C9A4BiBDC2CNA4DNDjBwCbAmXpCzArC4C2D8C0CvArBKDDCgDkA4CPAjC0DrA8BOCjCgDvA6AOBTC4DnA5AiBDCwD";
	s = s + "lA4B4BeAfCGDiA4C+ArCNDiB4D+AzCQDjC5AeBTCTWcAuBjCVDmB5B+BrCdjRD+BvChDiA2BTCKCMA4DoDDCTB+A5B3DjCbA0A5COBDB8DeArAKCiCrBtDcAhDcC3C2DuBbBSDkC4AuASDTBgDOAyDMCbCjDFA7AOCvAbDIDxXBAzDLDzC8CvBDDND0B8D/BLDVD1A9B/BPDZD1C9CvBjDbD3C9DfAsDtgECdDYkfCMCIBcDXBOAhC+DvDtDuK4AEEBA";
	m_skin.Load( s );

	// Specifies the minimum width that form can be resized to.
	m_skin.SetMinHeight( 48 );
	////////////////


	// Attaches the skin to the MDIChild window, not to the Dialog as default.
	m_skin.SetActiveForeColor( RGB(0,0,0) );
	m_skin.SetInactiveForeColor( RGB(0,0,0) );
	m_skin.Attach( (long)GetParent()->m_hWnd );
}

The sample uses the Load method and a base64 encoded string to define the skin that will be applied to the MDIChild windows. 

In case you want to assign the skin to a different window, you have to use also the SetParent API to change the parent of the ExSkin component, else when you will close the MDI form, the skin will be erased from the window you applied like in the following sample ( it is recommended loading the skin at runtime, also, multiple ExSkin components can be placed on the same form for multiple purposes   )

void CMDIFormView::OnInitialUpdate()
{
	CFormView::OnInitialUpdate();
	ResizeParentToFit();

	// You can use the eximages tool in order to save the skin file as a BASE64 string and to pass it to the File method
	////////////////
	// Loading a skin 
	CString s;
	s = "gBFLBTJYCAEHhEJAABhABVoYg6AABACAxWgKBADQKAAyDQKkEQGGQbRjhEAIGglg4JYjjKKxSgmHYDRTFMZwGA0EwcAAZBpEWR5JiuCQ1DAJMSjMAkRxtGyPZQhGQZXgOJ4sSpQAigFBIYhtE6YJikMDZbj2OoPUzAdCQG78EyrDahKCqMAKGoiMZbRKDVQgARMRj3BIFLDrOpwAqyE5ZR5QMrzDT0XQ2BixQgkMTYJriIJOTZcEL3FAdEwqGgCcAhEC4JIWCQ9QiddhyFIcfyKGIcYpGGqxRDSFQyZRAd5XfDZCQTDKBShtKptMpicZ2ShKWaQbadBxGCKxSShHRoDKOCRParV36sCzHMJJXTJcRgfYYLZ3BIjIRKCw8KhNi+IRhm6OgQAWJh7iMABTCAYx8h0Oo3kWFpdGsYwhhSVg3mGChImSMA9kQDBFkGNpwm2fR/l4FppjUcoWgUOAXgAUAwmGZBPFWNhpFsDJZhQeYcAwGIUG2Xx2kOJAlGIQJEkeXRsFuHRmA2MB6B+eIFBsdxfAQbAhoMAJVlQdRAAeHQqHYWxVgGCxIkQCB0AAHISngHQ3EmWYkhwLQMkMNh9moewSDgXglAABRUCWcgATiJgGGkAAFi2eYNiICB5kmCIkHQDQXGMJQJCUAwGlCEYBAkDYijcVguHGVZ1BYEBtlYOR4AADhmK6SIGiUNJ5nwcYehQehEEaYwknUOROF2NJaEsSZDBCRA3EyUw2HAMR2l6dBVm0AAkjAZQJAeJh";
	s = s + "WCqBIhiiCYOgqHxAAkGQVHAEhECQbRCEGWhVgCGZZkCYZaGUVg4hISwHCoShWBwa4lGaPYcFGYwUgwFBYmMWoFAODggFqGROioFBamGfRtieRYOiWL4AAqhYTmWFQ5DwQJDAQVAwiPaRBDGNgtiCFQ2AIFgwj4Sh0BCF5aFCCwilmXhVgoX5rB4ABUhYN5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B3ADAwghgYBJgCgWAJgDgXggAzgVA4gVgVBYhagGgHAvgVojAEAAVrhQXEBggoAGBQA1AKgZgcgZhgA4nWA1gaApgkgZhJglgaA5gmgagZgogag5gngahZgqgahpgsgah5gygbAZg0gbAJinA5gKgbgZBhALAAB4LiA9AIolgMggjvNAALAwg";
	s = s + "fANu7AKhgheAMBgg3ANhghFALBQhXALgggmYvB3AFAJgKgYB5gL4dg6gYg5g8gbhphAgcAphEgcNrgcgphMgchpjxAphUgdBpBlgdgJBjgaAJhugbA5gggYhogWgJgHBRgNg5gTgRgghSAHAABCACBwgcgNhwgvAGkQAfhwA9YvBqggA6AAALAKAHgggaK5A6AIgghKAKgghaAQggh6ASgghqAUghAaAVghA6AWghgaAYghkQYbYZBZgVALAgB1AEhAg8WVhiAKgQgAHugGAGBgBSAGBzgyAFBAA4ACBwBjAE1ogIBgByHug3AKBQgaAOBEgNAMBwgbAHhqAgAEAJgi5oAegkAaAigiBKAm1tAqgihKAuADgKAwgjAqA0gjBqA4gjgqA8AMAqA+gkAJgVgkA6AFggVGAgAKACghAKAFgfApAXgfBZgSB3ApBZAHBABIJbghYYA7ALBph6gmhgBCALBgBygnAaBzgnAqB0gnB6B2gngaB1gng6B4gnhKB6gnhagAgnh6gCj0AEgoAa09g6gG6wBcALAQBtAEAAqzAgBIAJhgBraAh3Vqg4AHhABQADgAgDAFZfAIAwBVADhQB0MWA1AGM/ACnW2UWZhAB/AHZoAMAwg2DmgfAIAaANgnBq2KhagPgpAagTgpBagXgpgagbgphagfgqAa6Whagn4mArgqhagvgrAagzgnhqBvgmh6B8gmAph0gVB4hcWSh4AEhJ5kmtALhAbDgAg9gtqugHBqhagthKhggth6h";
	s = s + "igtg6hjguAahkguB6hmgugahlguuEAuhKhqguhahwguh6hyguAggwgohQgpgVgwgvVoBKAKBQBwRQAtalBUALhQB/AFggvTBwBfnW8OAgBaAKa+MWB6WYg7AFBQA7ZagTbFBwAOJcY7hBgwBqhkgvBQBAgvB6ABgvgqh8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KCyC6ASCBAnAUAbCsDjC6AOD7CtBHA4BtCpDsDaDGBSDsBYDdDGAzEnA/DQC0AdATBADRC0A9AfBFDSA0C9ArBNDSB0D9AzBQDTC1AdBTBTDVC1AtBjBCDOBxDbBYDiA3ByAjB9C9A4BiBDC2CNA4DNDjBwCbAmXpCzArC4C2D8C0CvArBKDDCgDkA4CPAjC0DrA8BOCjCgDvA6AOBTC4DnA5AiBDCwD";
	s = s + "lA4B4BeAfCGDiA4C+ArCNDiB4D+AzCQDjC5AeBTCTWcAuBjCVDmB5B+BrCdjRD+BvChDiA2BTCKCMA4DoDDCTB+A5B3DjCbA0A5COBDB8DeArAKCiCrBtDcAhDcC3C2DuBbBSDkC4AuASDTBgDOAyDMCbCjDFA7AOCvAbDIDxXBAzDLDzC8CvBDDND0B8D/BLDVD1A9B/BPDZD1C9CvBjDbD3C9DfAsDtgECdDYkfCMCIBcDXBOAhC+DvDtDuK4AEEBA";
	m_skin.Load( s );

	// Specifies the minimum width that form can be resized to.
	m_skin.SetMinHeight( 48 );
	////////////////

	// Attaches the skin to the MDIChild window, not to the Dialog as default.
	m_skin.SetActiveForeColor( RGB(0,0,0) );
	m_skin.SetInactiveForeColor( RGB(0,0,0) );

	HWND hWndAttach = AfxGetApp()->GetMainWnd()->m_hWnd;
	m_skin.SetParent( CWnd::FromHandle( hWndAttach ) );

	m_skin.Attach( (long)hWndAttach );
}

If the window is minimized, the HTMINBUTTON skin object is not painted ( in this case you have to provide its background picture, as it is not visible ).