//-- Enlaces
//-- Menús principales página del Home --
function lnk(obj)
{
	switch (obj)
		{
			
			case "0": open("pag/intro.html","_self"); break
			//-- web crimson editor --
			case "crm": open("http://www.crimsoneditor.com","_blank"); break
			//-- Crear ventanas
			case "wns": open("cursos/ws/win.html","_self"); break
			//-- Ir creación de controles
			case "cts": open("cursos/cts/ctrles.html","_self"); break
			case "ctc": open("cursos/ctc/ctrlco.html","_self"); break
		}
}
/*----------------------*/
//-- Introducción --------
function intro(obj)
{
	switch(obj)
		{
			//-- Introducción ----
			case "1":
				open("intro1.html","conte")
			break
			//-- Arquitectura ---- 2
			case "2":
				open("win.html","conte")
			break
			//-- Configurar Dev -- 3
			//-- Crear proyecto -- 4
			case "4":
				open("crear.html","conte")
			break
			//-- Llamada de files .h y .cpp
			case "file":
				with(document)
					{
						var opt1 = getElementById('f1').checked;
						var opt2 = getElementById('f2').checked;
						//----
						with(getElementById('cons'))
							{
								if (opt1 == true) { src ="constante.html"; }
								if (opt2 == true) { src ="main.html";}
							}
					}
			break
		}
}
//-- Archivos de Recursos-
function rec(lnk)
{
	switch(lnk)
	{
		case "1": open("rec.html","recu"); break
	}
}
//-- Crear Windows -------
function win(obj)
{
	switch(obj)
		{
			case "0": open("http://win32cpp.cjb.net"); break
			case "1": open("wgen.html","wind"); break
			case "2": open("../../fun/wmain.html","wind"); break
			
			case "4": open("../../fun/wclex.html","wind"); break
			case "5": open("../../fun/regclex.html","wind"); break
			case "6": open("../../fun/cwex.html","wind"); break
			case "7": open("../../fun/showwin.html","wind"); break
			case "8": open("../../fun/getmes.html","wind"); break
			//-- LoadCursor - Icon
			case "lcu": open("../../fun/locur.html","wind"); break	// cursor
			case "lic": open("../../fun/loico.html","wind"); break	//icon
			case "8": open("../../fun/getmes.html","wind"); break
			case "bm": open("../../pag/loopmes.html","wind"); break	// Bucle de mensajes
			case "tm": open("../../fun/tramen.html","wind"); break	// TranslateMessage
			case "dm": open("../../fun/dismen.html","wind"); break	// DispatchMessage
			case "9": open("../../fun/winpro.html","wind"); break
			case "wp2": open("../../men/wmdes.html","wind"); break
			case "wp3": open("../../men/wmqui.html","wind"); break
			case "wp4": open("../../fun/postq.html","wind"); break
			case "wp5": open("../../fun/defwin.html","wind"); break
			//-- fuentes .h .cpp
			case "f1": open("../../pag/constante.html","wind"); break
			case "f2": open("../../pag/main.html","wind"); break
		}
}
//-- Controles Estandar --

//-- Conttroles Comunes --

//-- GDI -----------------

//-- Menú ----------------


