Club Delphi  
    FTP   CCD     Buscar   Trucos   Trabajo   Foros

Retroceder   Foros Club Delphi > Principal > OOP
Registrarse FAQ Miembros Calendario Guía de estilo Temas de Hoy

Grupo de Teaming del ClubDelphi

 
 
Herramientas Buscar en Tema Desplegado
  #3  
Antiguo 30-05-2013
beginner01 beginner01 is offline
Miembro
NULL
 
Registrado: mar 2011
Ubicación: República Dominicana
Posts: 181
Poder: 14
beginner01 Va por buen camino
Hola.

Por lo que pude leer aquí, el problema se presenta por el uso de SetWindowRgn, ya que este impide que se vea o dibuje la ventana
mas allá de el área designada por la misma.

Cita:
This function sets the window region of a window. The window region determines the area within the window where the system permits drawing.
The system does not display any portion of a window that lies outside of the window region.
Para solucionar este problema debes de cambiar el tamaño de la región acorde con el nuevo tamaño del componente.

realicé una prueba con el componente cambiando:

Código Delphi [-]
procedure TDBNewEditJL.WMSize(var Message: TWMSize);
var r : TRect;
begin
   inherited;
   r := ClientRect;
   SetRound(True);
   InvalidateRect(handle,@r,false);
   RedrawWindow(Handle,nil,0,RDW_FRAME + RDW_INVALIDATE);
end;

Lo cual evita que se produzca el efecto que comentas.
Responder Con Cita
 



Normas de Publicación
no Puedes crear nuevos temas
no Puedes responder a temas
no Puedes adjuntar archivos
no Puedes editar tus mensajes

El código vB está habilitado
Las caritas están habilitado
Código [IMG] está habilitado
Código HTML está deshabilitado
Saltar a Foro

Temas Similares
Tema Autor Foro Respuestas Último mensaje
Agrandar botones al pasar el cursor LuisAlf:: HTML, Javascript y otros 4 07-10-2010 03:06:22
Problema creando un nuevo componente y un editor de propiedades Koder OOP 8 21-08-2005 10:59:08
Fuentes para negrillas y agrandar las letras Jorge Taveras Impresión 2 16-04-2005 22:47:31
agrandar fuente en ticket perico Impresión 8 04-02-2005 02:55:29


La franja horaria es GMT +2. Ahora son las 01:34:46.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Traducción al castellano por el equipo de moderadores del Club Delphi
Copyright 1996-2007 Club Delphi