Club Delphi  
    Paypal   FTP   CCD     Buscar   Trucos   Trabajo   Foros

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

 
 
Herramientas Buscar en Tema Desplegado
  #2  
Antiguo 12-02-2015
Jose Roman Jose Roman is offline
Miembro
 
Registrado: jul 2006
Ubicación: Colombia
Posts: 364
Poder: 20
Jose Roman Va por buen camino
EM_SHOWBALLOONTIP C++ a Delphi

Cordial saludo,

Estoy tratando de suprimir la advertencia CapsLook en un TEdit que tiene la propiedad PasswordChar := '*', encontre esta solucion pero no se como implementarlo en Delphi para que se suprima este mensaje.

Código:
WNDPROC g_wpEdit; 

LRESULT RETROLLAMADA NoBalloonWndProc (HWND hwnd, UINT uMsg, 
                                  WPARAM wParam, lParam LPARAM) 
{ 
  switch (uMsg) { 
  caso EM_SHOWBALLOONTIP: return false; 
  } 
  volver CallWindowProc (g_wpEdit, hwnd, uMsg, wParam, lParam); 
} 

BOOL 
OnCreate ( HWND hwnd, LPC lpCreateStruct) 
{ 
    g_hwndChild = CreateWindow (TEXT ("editar"), NULL, 
            ES_PASSWORD | WS_CHILD | WS_VISIBLE, 0, 0, 
            0, 0, hwnd, NULL, g_hinst, 0); 
    if (! g_hwndChild) devolverá FALSE ; g_wpEdit = SubclassWindow (g_hwndChild, NoBalloonWndProc); 
    return TRUE; 
}
Gracias por su ayuda.
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


La franja horaria es GMT +2. Ahora son las 21:09:02.


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