��<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=Content-Type content="text/html; charset=unicode"> <META content="MSHTML 5.50.4522.1800" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Ricardo,</FONT></FONT></DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Use a fun��o VisWinGetHandle (hWndForm, 'C�digo:', TYPE_BkgdText )<BR></FONT></FONT></DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Espero ter ajudado,</FONT></FONT></DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Garcia.</DIV></FONT></FONT> <DIV><FONT size=2 Arial><FONT face=Arial></FONT></FONT>&nbsp;</DIV> <DIV><FONT size=2 Arial><FONT face=Arial></FONT></FONT>&nbsp;</DIV> <DIV><FONT size=2 Arial><FONT face=Arial></FONT></FONT>&nbsp;</DIV> <DIV><FONT size=2 Arial><FONT face=Arial></FONT></FONT>&nbsp;</DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Algu�m j� conseguiu pegar o handle de background texts? Eu preciso, em tempo de execu��o, mudar a localiza��o de data fields e background texts no meu form. Para data fields � f�cil mudar a localiza��o (basta usar a SalSetWindowLoc). J� com backgrounds, eu preciso pegar o handle primeiro. Fiz um fun��o, usando uma combina��o de SalGetFirstChild e SalGetNextChild para tentar recuperar o handle do background, mas n�o estou conseguindo.</FONT></FONT></DIV> <DIV><FONT size=2 Arial><FONT face=Arial></FONT></FONT>&nbsp;</DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Agrade�o a quem puder me ajudar.</FONT></FONT></DIV> <DIV><FONT size=2 Arial><FONT face=Arial></FONT></FONT>&nbsp;</DIV> <DIV><FONT size=2 Arial><FONT face=Arial>Ricardo.</FONT></DIV></FONT></DIV></BODY></HTML>

Responder a